Home
last modified time | relevance | path

Searched refs:__NR_seccomp (Results 1 – 24 of 24) sorted by relevance

/external/strace/tests-mx32/
Dseccomp-filter-v.c47 #if defined __NR_seccomp \
113 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
119 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
125 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
174 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
195 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog)) in main()
Dseccomp-filter.c42 #if defined __NR_seccomp && defined SECCOMP_SET_MODE_FILTER
56 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
63 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -8L, efault); in main()
Dseccomp-strict.c33 #if defined __NR_seccomp && defined __NR_exit
47 rc = syscall(__NR_seccomp, -1L, -1L, addr); in main()
52 rc = syscall(__NR_seccomp, 0, 0, 0); in main()
Dseccomp_get_action_avail.c33 #ifdef __NR_seccomp
53 const long rc = syscall(__NR_seccomp, op, flags, args); in k_seccomp()
/external/strace/tests-m32/
Dseccomp-filter-v.c47 #if defined __NR_seccomp \
113 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
119 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
125 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
174 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
195 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog)) in main()
Dseccomp-filter.c42 #if defined __NR_seccomp && defined SECCOMP_SET_MODE_FILTER
56 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
63 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -8L, efault); in main()
Dseccomp-strict.c33 #if defined __NR_seccomp && defined __NR_exit
47 rc = syscall(__NR_seccomp, -1L, -1L, addr); in main()
52 rc = syscall(__NR_seccomp, 0, 0, 0); in main()
Dseccomp_get_action_avail.c33 #ifdef __NR_seccomp
53 const long rc = syscall(__NR_seccomp, op, flags, args); in k_seccomp()
/external/strace/tests/
Dseccomp-filter-v.c47 #if defined __NR_seccomp \
113 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
119 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
125 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
174 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
195 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog)) in main()
Dseccomp-filter.c42 #if defined __NR_seccomp && defined SECCOMP_SET_MODE_FILTER
56 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
63 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -8L, efault); in main()
Dseccomp-strict.c33 #if defined __NR_seccomp && defined __NR_exit
47 rc = syscall(__NR_seccomp, -1L, -1L, addr); in main()
52 rc = syscall(__NR_seccomp, 0, 0, 0); in main()
Dseccomp_get_action_avail.c33 #ifdef __NR_seccomp
53 const long rc = syscall(__NR_seccomp, op, flags, args); in k_seccomp()
/external/linux-kselftest/android/patches/
D0009-seccomp-disable-tests-broken-on-kernels-4.8.patch39 #ifndef __NR_seccomp
/external/minijail/linux-x86/
Dlibsyscalls.gen.c957 #ifdef __NR_seccomp
958 { "seccomp", __NR_seccomp },
/external/seccomp-tests/linux/
Dseccomp_bpf.c1473 #ifndef __NR_seccomp
1475 # define __NR_seccomp 354 macro
1477 # define __NR_seccomp 317 macro
1479 # define __NR_seccomp 383 macro
1481 # define __NR_seccomp 277 macro
1483 # define __NR_seccomp 358 macro
1485 # define __NR_seccomp 348 macro
1488 # define __NR_seccomp 0xffff macro
1508 return syscall(__NR_seccomp, op, flags, filter); in seccomp()
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c906 #ifndef __NR_seccomp
908 # define __NR_seccomp 354 macro
910 # define __NR_seccomp 317 macro
912 # define __NR_seccomp 0xffff macro
932 return syscall(__NR_seccomp, op, flags, filter); in seccomp()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c110 #ifndef __NR_seccomp
112 # define __NR_seccomp 354 macro
114 # define __NR_seccomp 317 macro
116 # define __NR_seccomp 383 macro
118 # define __NR_seccomp 277 macro
120 # define __NR_seccomp 277 macro
122 # define __NR_seccomp 338 macro
124 # define __NR_seccomp 358 macro
126 # define __NR_seccomp 348 macro
129 # define __NR_seccomp 0xffff macro
[all …]
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h321 #define __NR_seccomp 317 macro
Dunistd_32.h354 #define __NR_seccomp 354 macro
Dunistd_x32.h277 #define __NR_seccomp (__X32_SYSCALL_BIT + 317) macro
/external/strace/
Dscno.h959 #ifndef __NR_seccomp
960 # define __NR_seccomp (SYSCALL_BIT | 317) macro
/external/kernel-headers/original/uapi/asm-generic/
Dunistd.h743 #define __NR_seccomp 277 macro
744 __SYSCALL(__NR_seccomp, sys_seccomp)
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h342 #define __NR_seccomp (__NR_SYSCALL_BASE + 383) macro
/external/llvm-project/libc/config/linux/
Dsyscall_numbers.h.inc1757 #ifdef __NR_seccomp
1758 #define SYS_seccomp __NR_seccomp