Home
last modified time | relevance | path

Searched refs:__NR_prctl (Results 1 – 25 of 34) sorted by relevance

12

/external/strace/tests-m32/
Dprctl-tsc.c36 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
50 rc = syscall(__NR_prctl, PR_SET_TSC, 0); in main()
53 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc); in main()
57 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV); in main()
60 rc = syscall(__NR_prctl, PR_GET_TSC, NULL); in main()
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
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); in main()
55 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT); in main()
58 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL); in main()
61 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1); in main()
65 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig); in main()
Dprctl-tid_address.c35 #if defined __NR_prctl && defined __NR_set_tid_address && \
69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); in main()
72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); in main()
76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
Dprctl-no-args.c36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits, in main()
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); in prctl()
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); in prctl()
Dprctl-spec-inject.c34 #ifdef __NR_prctl
46 long rc = syscall(__NR_prctl, cmd, arg2, arg3); in do_prctl()
Dprctl-arg2-intptr.c36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
/external/strace/tests-mx32/
Dprctl-tsc.c36 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
50 rc = syscall(__NR_prctl, PR_SET_TSC, 0); in main()
53 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc); in main()
57 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV); in main()
60 rc = syscall(__NR_prctl, PR_GET_TSC, NULL); in main()
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
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); in main()
55 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT); in main()
58 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL); in main()
61 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1); in main()
65 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig); in main()
Dprctl-tid_address.c35 #if defined __NR_prctl && defined __NR_set_tid_address && \
69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); in main()
72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); in main()
76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
Dprctl-no-args.c36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits, in main()
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); in prctl()
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); in prctl()
Dprctl-spec-inject.c34 #ifdef __NR_prctl
46 long rc = syscall(__NR_prctl, cmd, arg2, arg3); in do_prctl()
Dprctl-arg2-intptr.c36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
/external/strace/tests/
Dprctl-tsc.c36 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
50 rc = syscall(__NR_prctl, PR_SET_TSC, 0); in main()
53 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc); in main()
57 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV); in main()
60 rc = syscall(__NR_prctl, PR_GET_TSC, NULL); in main()
63 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
66 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
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); in main()
55 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT); in main()
58 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL); in main()
61 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1); in main()
65 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig); in main()
Dprctl-tid_address.c35 #if defined __NR_prctl && defined __NR_set_tid_address && \
69 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); in main()
72 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); in main()
76 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
87 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
Dprctl-no-args.c36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits, in main()
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); in prctl()
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); in prctl()
Dprctl-spec-inject.c34 #ifdef __NR_prctl
46 long rc = syscall(__NR_prctl, cmd, arg2, arg3); in do_prctl()
Dprctl-arg2-intptr.c36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
/external/minijail/linux-x86/
Dlibsyscalls.gen.c477 #ifdef __NR_prctl
478 { "prctl", __NR_prctl },

12