Home | History | Annotate | Download | only in tests-mx32

Lines Matching defs:prctl

2  * Check decoding of prctl PR_GET_DUMPABLE/PR_SET_DUMPABLE operations.
34 #include <linux/prctl.h>
45 prctl(kernel_ulong_t arg1, kernel_ulong_t arg2)
70 prctl(PR_SET_DUMPABLE, 3);
71 printf("prctl(PR_SET_DUMPABLE, 0x3 /* SUID_DUMP_??? */) = %s\n",
74 prctl(PR_SET_DUMPABLE, bogus_dumpable1);
76 printf("prctl(PR_SET_DUMPABLE, SUID_DUMP_USER) = %s\n", errstr);
78 printf("prctl(PR_SET_DUMPABLE, %#llx /* SUID_DUMP_??? */)"
83 prctl(PR_SET_DUMPABLE, bogus_dumpable2);
84 printf("prctl(PR_SET_DUMPABLE, %#llx /* SUID_DUMP_??? */) = %s\n",
88 prctl(PR_SET_DUMPABLE, i);
89 printf("prctl(PR_SET_DUMPABLE, %s) = %s\n", args[i], errstr);
91 long rc = prctl(PR_GET_DUMPABLE, bogus_dumpable2);
93 printf("prctl(PR_GET_DUMPABLE) = %s (%s)\n",
96 printf("prctl(PR_GET_DUMPABLE) = %s\n", errstr);