Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/arm64/gcs/
H A Dbasic-gcs.c25 syscall(__NR_prctl, PR_SVE_GET_VL); in valid_gcs_function()
39 ret = syscall(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, mode, 0, 0, 0); in gcs_set_status()
42 ret = syscall(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &new_mode, 0, 0, 0); in gcs_set_status()
70 ret = syscall(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &state, 0, 0, 0); in read_status()
256 ret = syscall(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &child_mode, 0, 0, 0); in test_fork()
319 ret = syscall(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &child_mode, 0, 0, 0); in test_vfork()
387 ret = syscall(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &gcs_mode, 0, 0, 0); in main()
393 ret = syscall(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, gcs_mode, 0, 0, 0); in main()
405 ret = syscall(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, 0, 0, 0, 0); in main()
H A Dgcs-locking.c93 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, in TEST_F()
106 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, in TEST_F()
117 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, 0); in TEST_F()
132 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, in TEST_F()
149 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, in TEST_F()
160 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, in TEST_F()
168 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, in TEST_F()
H A Dgcs-util.h15 #ifndef __NR_prctl
16 #define __NR_prctl 167 macro
H A Dgcs-stress-thread.S215 mov x8, #__NR_prctl
272 mov x8, #__NR_prctl
H A Dgcsstr.S85 mov x8, #__NR_prctl
H A Dgcspushm.S83 mov x8, #__NR_prctl
H A Dlibc-gcs.c710 ret = my_syscall2(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &gcs_mode); in main()
718 ret = my_syscall2(__NR_prctl, PR_SET_SHADOW_STACK_STATUS, in main()
/linux/tools/testing/selftests/arm64/signal/
H A Dtest_signals_utils.h22 #ifndef __NR_prctl
23 #define __NR_prctl 167 macro
33 register long _num __asm__ ("x8") = __NR_prctl; \
/linux/tools/testing/selftests/riscv/cfi/
H A Dcfi_rv_test.h49 #ifndef __NR_prctl
50 #define __NR_prctl 167 macro
H A Dshadowstack.c88 ret = my_syscall5(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &ss_status, 0, 0, 0); in shadow_stack_fork_test()
315 ret = my_syscall5(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &ss_status, 0, 0, 0); in shadow_stack_signal_test()
365 ret = my_syscall5(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &shstk_status, 0, 0, 0); in execute_shadow_stack_tests()
H A Dcfitests.c149 ret = my_syscall5(__NR_prctl, PR_GET_CFI, PR_CFI_BRANCH_LANDING_PADS, &lpad_status, 0, 0); in main()
156 ret = my_syscall5(__NR_prctl, PR_GET_SHADOW_STACK_STATUS, &ss_status, 0, 0, 0); in main()
/linux/arch/um/kernel/skas/
H A Dstub_exe.c35 stub_syscall2(__NR_prctl, PR_SET_NAME, (unsigned long)"uml-userspace"); in real_init()
38 stub_syscall2(__NR_prctl, PR_SET_PDEATHSIG, SIGKILL); in real_init()
41 stub_syscall5(__NR_prctl, PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); in real_init()
/linux/tools/include/nolibc/sys/
H A Dprctl.h26 return my_syscall5(__NR_prctl, option, arg2, arg3, arg4, arg5); in sys_prctl()
/linux/tools/testing/selftests/arm64/fp/
H A Dassembler.h79 mov x8, #__NR_prctl
/linux/include/uapi/asm-generic/
H A Dunistd.h447 #define __NR_prctl 167 macro
448 __SYSCALL(__NR_prctl, sys_prctl)
/linux/tools/include/uapi/asm-generic/
H A Dunistd.h447 #define __NR_prctl 167 macro
448 __SYSCALL(__NR_prctl, sys_prctl)
/linux/tools/testing/selftests/bpf/prog_tests/
H A Duser_ringbuf.c497 syscall(__NR_prctl); in kick_kernel_read_messages()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c377 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, in TEST_SIGNAL()
2682 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_prctl, 0, 1), in TEST_F()