Searched refs:__NR_prctl (Results 1 - 25 of 56) sorted by relevance

123

/external/strace/tests/
H A Dprctl-tsc.c36 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
50 rc = syscall(__NR_prctl, PR_SET_TSC, 0);
53 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc);
57 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV);
60 rc = syscall(__NR_prctl, PR_GET_TSC, NULL);
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1);
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc);
79 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_TSC && PR_SET_TSC")
H A Dprctl-pdeathsig.c36 #if defined __NR_prctl && defined PR_GET_PDEATHSIG && defined PR_SET_PDEATHSIG
51 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, bogus_signal);
55 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT);
58 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL);
61 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1);
65 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig);
80 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_PDEATHSIG && PR_SET_PDEATHSIG")
H A Dprctl-tid_address.c35 #if defined __NR_prctl && defined __NR_set_tid_address && \
69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL);
72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr);
76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr);
87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr);
102 SKIP_MAIN_UNDEFINED("__NR_prctl && __NR_set_tid_address && PR_GET_TID_ADDRESS")
H A Dprctl-no-args.c36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits,
76 SKIP_MAIN_UNDEFINED("__NR_prctl")
H A Dprctl-dumpable.c36 #if defined __NR_prctl && defined PR_GET_DUMPABLE && defined PR_SET_DUMPABLE \
49 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
106 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_DUMPABLE && PR_SET_DUMPABLE"
H A Dprctl-securebits.c35 #if defined __NR_prctl && defined PR_GET_SECUREBITS && defined PR_SET_SECUREBITS
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
104 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_SECUREBITS && PR_SET_SECUREBITS")
H A Dprctl-arg2-intptr.c36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
119 SKIP_MAIN_UNDEFINED("__NR_prctl")
/external/strace/tests-m32/
H A Dprctl-tsc.c36 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
50 rc = syscall(__NR_prctl, PR_SET_TSC, 0);
53 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc);
57 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV);
60 rc = syscall(__NR_prctl, PR_GET_TSC, NULL);
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1);
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc);
79 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_TSC && PR_SET_TSC")
H A Dprctl-pdeathsig.c36 #if defined __NR_prctl && defined PR_GET_PDEATHSIG && defined PR_SET_PDEATHSIG
51 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, bogus_signal);
55 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT);
58 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL);
61 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1);
65 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig);
80 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_PDEATHSIG && PR_SET_PDEATHSIG")
H A Dprctl-tid_address.c35 #if defined __NR_prctl && defined __NR_set_tid_address && \
69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL);
72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr);
76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr);
87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr);
102 SKIP_MAIN_UNDEFINED("__NR_prctl && __NR_set_tid_address && PR_GET_TID_ADDRESS")
H A Dprctl-no-args.c36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits,
76 SKIP_MAIN_UNDEFINED("__NR_prctl")
H A Dprctl-dumpable.c36 #if defined __NR_prctl && defined PR_GET_DUMPABLE && defined PR_SET_DUMPABLE \
49 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
106 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_DUMPABLE && PR_SET_DUMPABLE"
H A Dprctl-securebits.c35 #if defined __NR_prctl && defined PR_GET_SECUREBITS && defined PR_SET_SECUREBITS
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
104 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_SECUREBITS && PR_SET_SECUREBITS")
H A Dprctl-arg2-intptr.c36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
119 SKIP_MAIN_UNDEFINED("__NR_prctl")
/external/strace/tests-mx32/
H A Dprctl-tsc.c36 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
50 rc = syscall(__NR_prctl, PR_SET_TSC, 0);
53 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc);
57 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV);
60 rc = syscall(__NR_prctl, PR_GET_TSC, NULL);
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1);
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc);
79 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_TSC && PR_SET_TSC")
H A Dprctl-pdeathsig.c36 #if defined __NR_prctl && defined PR_GET_PDEATHSIG && defined PR_SET_PDEATHSIG
51 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, bogus_signal);
55 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT);
58 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL);
61 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1);
65 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig);
80 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_PDEATHSIG && PR_SET_PDEATHSIG")
H A Dprctl-tid_address.c35 #if defined __NR_prctl && defined __NR_set_tid_address && \
69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL);
72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr);
76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr);
87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr);
102 SKIP_MAIN_UNDEFINED("__NR_prctl && __NR_set_tid_address && PR_GET_TID_ADDRESS")
H A Dprctl-no-args.c36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits,
76 SKIP_MAIN_UNDEFINED("__NR_prctl")
H A Dprctl-dumpable.c36 #if defined __NR_prctl && defined PR_GET_DUMPABLE && defined PR_SET_DUMPABLE \
49 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
106 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_DUMPABLE && PR_SET_DUMPABLE"
H A Dprctl-securebits.c35 #if defined __NR_prctl && defined PR_GET_SECUREBITS && defined PR_SET_SECUREBITS
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
104 SKIP_MAIN_UNDEFINED("__NR_prctl && PR_GET_SECUREBITS && PR_SET_SECUREBITS")
H A Dprctl-arg2-intptr.c36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
119 SKIP_MAIN_UNDEFINED("__NR_prctl")
/external/valgrind/include/vki/
H A Dvki-scnums-amd64-linux.h220 #define __NR_prctl 157 macro
H A Dvki-scnums-arm64-linux.h212 #define __NR_prctl 167 macro
H A Dvki-scnums-s390x-linux.h171 #define __NR_prctl 172 macro
/external/minijail/linux-x86/
H A Dlibsyscalls.gen.c477 #ifdef __NR_prctl
478 { "prctl", __NR_prctl },

Completed in 1477 milliseconds

123