Home
last modified time | relevance | path

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

12

/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/
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/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/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c105 #ifndef __NR_seccomp
107 # define __NR_seccomp 354 macro
109 # define __NR_seccomp 317 macro
111 # define __NR_seccomp 383 macro
113 # define __NR_seccomp 277 macro
115 # define __NR_seccomp 338 macro
117 # define __NR_seccomp 358 macro
119 # define __NR_seccomp 348 macro
122 # define __NR_seccomp 0xffff macro
163 return syscall(__NR_seccomp, op, flags, args); 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/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.h707 #define __NR_seccomp 277 macro
708 __SYSCALL(__NR_seccomp, sys_seccomp)
/external/kernel-headers/original/uapi/asm-mips/asm/
Dunistd_n64.h315 #define __NR_seccomp (__NR_Linux + 312) macro
Dunistd_n32.h319 #define __NR_seccomp (__NR_Linux + 316) macro
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h342 #define __NR_seccomp (__NR_SYSCALL_BASE + 383) macro

12