Home | History | Annotate | Download | only in tests

Lines Matching defs:prctl

2  * Check decoding of prctl PR_GET_SECUREBITS/PR_SET_SECUREBITS operations.
33 #include <linux/prctl.h>
46 prctl(kernel_ulong_t arg1, kernel_ulong_t arg2)
65 prctl(PR_SET_SECUREBITS, 0);
66 printf("prctl(PR_SET_SECUREBITS, 0) = %s\n", errstr);
68 prctl(PR_SET_SECUREBITS, bits1);
69 printf("prctl(PR_SET_SECUREBITS, SECBIT_NOROOT|SECBIT_NOROOT_LOCKED|"
76 prctl(PR_SET_SECUREBITS, bits2);
77 printf("prctl(PR_SET_SECUREBITS, %#llx /* SECBIT_??? */)"
81 prctl(PR_SET_SECUREBITS, bits3);
82 printf("prctl(PR_SET_SECUREBITS, SECBIT_NOROOT|SECBIT_NOROOT_LOCKED|"
88 long rc = prctl(PR_GET_SECUREBITS, bits1);
89 printf("prctl(PR_GET_SECUREBITS) = %s", errstr);