HomeSort by relevance Sort by last modified time
    Searched refs:__NR_prctl (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /external/strace/tests/
prctl-tsc.c 36 #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")
prctl-pdeathsig.c 36 #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")
prctl-tid_address.c 35 #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")
prctl-no-args.c 36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits,
76 SKIP_MAIN_UNDEFINED("__NR_prctl")
prctl-dumpable.c 36 #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"
prctl-securebits.c 35 #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")
prctl-arg2-intptr.c 36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
119 SKIP_MAIN_UNDEFINED("__NR_prctl")
  /external/strace/tests-m32/
prctl-tsc.c 36 #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")
prctl-pdeathsig.c 36 #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")
prctl-tid_address.c 35 #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")
prctl-no-args.c 36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits,
76 SKIP_MAIN_UNDEFINED("__NR_prctl")
prctl-dumpable.c 36 #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"
prctl-securebits.c 35 #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")
prctl-arg2-intptr.c 36 #if defined __NR_prctl
50 long rc = syscall(__NR_prctl, arg1, arg2, bogus_arg);
119 SKIP_MAIN_UNDEFINED("__NR_prctl")
  /external/strace/tests-mx32/
prctl-tsc.c 36 #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")
prctl-pdeathsig.c 36 #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")
prctl-tid_address.c 35 #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")
prctl-no-args.c 36 #if defined __NR_prctl
65 long rc = syscall(__NR_prctl, options[i].val | bogus_op_bits,
76 SKIP_MAIN_UNDEFINED("__NR_prctl")
prctl-dumpable.c 36 #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"
prctl-securebits.c 35 #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")
  /bionic/libc/arch-arm64/syscalls/
prctl.S 6 mov x8, __NR_prctl
  /bionic/libc/arch-mips/syscalls/
prctl.S 8 li $v0, __NR_prctl
  /bionic/libc/arch-x86_64/syscalls/
prctl.S 7 movl $__NR_prctl, %eax
  /bionic/libc/arch-arm/syscalls/
prctl.S 14 ldr r7, =__NR_prctl
  /bionic/libc/arch-mips64/syscalls/
prctl.S 8 li $v0, __NR_prctl

Completed in 240 milliseconds

1 2 3 4