Lines Matching refs:prctl
12 #include <sys/prctl.h>
39 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
52 *nnp = prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0);
73 /* Sets no_new_privs with prctl(2) before the enforcement. */
136 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
138 /* No prior prctl(2) PR_SET_NO_NEW_PRIVS call. */
139 ASSERT_EQ(0, prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0));
153 prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0));
172 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
219 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
290 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));
388 ASSERT_EQ(0, prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0));