Lines Matching defs:option
9 * - EINVAL when an invalid value is given for option
10 * - EINVAL when option is PR_SET_PDEATHSIG & arg2 is not zero or a valid
12 * - EINVAL when option is PR_SET_DUMPABLE & arg2 is neither
15 * - EFAULT when option is PR_SET_SECCOMP & arg2 is SECCOMP_MODE_FILTER &
17 * - EACCES when option is PR_SET_SECCOMP & arg2 is SECCOMP_MODE_FILTER &
19 * - EINVAL when option is PR_SET_TIMING & arg2 is not PR_TIMING_STATISTICAL
20 * - EINVAL when option is PR_SET_NO_NEW_PRIVS & arg2 is not equal to 1 &
22 * - EINVAL when option is PR_SET_NO_NEW_PRIVS & arg2 is equal to 1 & arg3
35 * - EINVAL when option is PR_GET_SPECULATION_CTRL and unused arguments is
37 * - EPERM when option is PR_SET_SECUREBITS and the caller does not have the
39 * - EPERM when option is PR_CAPBSET_DROP and the caller does not have the
60 #define unsup_string "prctl() doesn't support this option, skip it"
86 int option;
92 {OPTION_INVALID, &num_1, &num_0, EINVAL, "invalid option"},
118 switch (tc->option) {
155 TEST(prctl(tc->option, *tc->arg2, *tc->arg3, 0, 0));
164 if (tc->option == PR_SET_SECCOMP && TST_ERR == EINVAL)