Home
last modified time | relevance | path

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

123

/external/strace/tests/
Dprctl-tsc.c35 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
49 rc = syscall(__NR_prctl, PR_SET_TSC, 0); in main()
52 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc); in main()
56 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV); in main()
59 rc = syscall(__NR_prctl, PR_GET_TSC, NULL); in main()
62 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
65 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
Dprctl-pdeathsig.c35 #if defined __NR_prctl && defined PR_GET_PDEATHSIG && defined PR_SET_PDEATHSIG
50 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, bogus_signal); in main()
54 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT); in main()
57 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL); in main()
60 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1); in main()
64 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig); in main()
Dprctl-tid_address.c34 #if defined __NR_prctl && defined __NR_set_tid_address && \
68 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); in main()
71 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); in main()
75 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
86 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
Dprctl-no-args.c35 #if defined __NR_prctl
64 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.c35 #if defined __NR_prctl && defined PR_GET_DUMPABLE && defined PR_SET_DUMPABLE
47 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
Dprctl-arg2-intptr.c35 #if defined __NR_prctl
49 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
/external/strace/tests-m32/
Dprctl-tsc.c35 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
49 rc = syscall(__NR_prctl, PR_SET_TSC, 0); in main()
52 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc); in main()
56 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV); in main()
59 rc = syscall(__NR_prctl, PR_GET_TSC, NULL); in main()
62 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
65 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
Dprctl-pdeathsig.c35 #if defined __NR_prctl && defined PR_GET_PDEATHSIG && defined PR_SET_PDEATHSIG
50 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, bogus_signal); in main()
54 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT); in main()
57 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL); in main()
60 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1); in main()
64 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig); in main()
Dprctl-tid_address.c34 #if defined __NR_prctl && defined __NR_set_tid_address && \
68 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); in main()
71 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); in main()
75 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
86 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
Dprctl-no-args.c35 #if defined __NR_prctl
64 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.c35 #if defined __NR_prctl && defined PR_GET_DUMPABLE && defined PR_SET_DUMPABLE
47 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
Dprctl-arg2-intptr.c35 #if defined __NR_prctl
49 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
/external/strace/tests-mx32/
Dprctl-tsc.c35 #if defined __NR_prctl && defined PR_GET_TSC && defined PR_SET_TSC
49 rc = syscall(__NR_prctl, PR_SET_TSC, 0); in main()
52 rc = syscall(__NR_prctl, PR_SET_TSC, bogus_tsc); in main()
56 rc = syscall(__NR_prctl, PR_SET_TSC, PR_TSC_SIGSEGV); in main()
59 rc = syscall(__NR_prctl, PR_GET_TSC, NULL); in main()
62 rc = syscall(__NR_prctl, PR_GET_TSC, tsc + 1); in main()
65 rc = syscall(__NR_prctl, PR_GET_TSC, tsc); in main()
Dprctl-pdeathsig.c35 #if defined __NR_prctl && defined PR_GET_PDEATHSIG && defined PR_SET_PDEATHSIG
50 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, bogus_signal); in main()
54 rc = syscall(__NR_prctl, PR_SET_PDEATHSIG, SIGINT); in main()
57 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, NULL); in main()
60 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig + 1); in main()
64 rc = syscall(__NR_prctl, PR_GET_PDEATHSIG, pdeathsig); in main()
Dprctl-tid_address.c34 #if defined __NR_prctl && defined __NR_set_tid_address && \
68 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, NULL); in main()
71 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, bogus_addr); in main()
75 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
86 rc = syscall(__NR_prctl, PR_GET_TID_ADDRESS, ptr); in main()
Dprctl-no-args.c35 #if defined __NR_prctl
64 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.c35 #if defined __NR_prctl && defined PR_GET_DUMPABLE && defined PR_SET_DUMPABLE
47 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
Dprctl-arg2-intptr.c35 #if defined __NR_prctl
49 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg); in prctl()
/external/libchrome/sandbox/linux/seccomp-bpf/
Ddie.cc41 Syscall::Call(__NR_prctl, PR_SET_DUMPABLE, (void*)0, (void*)0, (void*)0); in ExitGroup()
/external/libchrome/sandbox/linux/system_headers/
Darm64_linux_syscalls.h678 #if !defined(__NR_prctl)
679 #define __NR_prctl 167 macro
Dx86_64_linux_syscalls.h641 #if !defined(__NR_prctl)
642 #define __NR_prctl 157 macro
/external/minijail/linux-x86/
Dlibsyscalls.gen.c477 #ifdef __NR_prctl
478 { "prctl", __NR_prctl },

123