Lines Matching refs:prctl
45 #include <sys/prctl.h>
53 #include "lapi/prctl.h"
60 #define unsup_string "prctl() doesn't support this option, skip it"
155 TEST(prctl(tc->option, *tc->arg2, *tc->arg3, 0, 0));
157 tst_res(TFAIL, "prctl() succeeded unexpectedly");
162 tst_res(TPASS | TTERRNO, "prctl() failed as expected");
167 tst_res(TFAIL | TTERRNO, "prctl() failed unexpectedly, expected %s",
176 TEST(prctl(PR_GET_SECCOMP));
180 TEST(prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0));
184 TEST(prctl(PR_GET_THP_DISABLE, 0, 0, 0, 0));
188 TEST(prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0));
192 TEST(prctl(PR_GET_SPECULATION_CTRL, 0, 0, 0, 0));