On 04/29/2018 09:48 PM, speck for Konrad Rzeszutek Wilk wrote: >> SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, >> unsigned long, arg4, unsigned long, arg5) >> { >> @@ -2450,6 +2462,12 @@ SYSCALL_DEFINE5(prctl, int, option, unsi >> case PR_SVE_GET_VL: >> error = SVE_GET_VL(); >> break; >> + case PR_SET_SPECULATION_CTRL: >> + error = arch_prctl_set_spec_ctrl(arg2, arg3); > Would it make sense to also test arg4, arg5? And if somebody provided any value > in them to return -EINVAL? Maybe, but the other prctl's don't do this for args they don't use yet. Jon. -- Computer Architect | Sent from my Fedora powered laptop