Home
last modified time | relevance | path

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

12

/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()
173 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
194 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()
62 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -4L, 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-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()
173 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
194 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()
62 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -4L, 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()
173 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
194 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()
62 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -4L, 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
150 return syscall(__NR_seccomp, op, flags, args); in seccomp()
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c914 #ifndef __NR_seccomp
916 # define __NR_seccomp 354 macro
918 # define __NR_seccomp 317 macro
920 # define __NR_seccomp 0xffff macro
940 return syscall(__NR_seccomp, op, flags, filter); in seccomp()
/external/valgrind/include/vki/
Dvki-scnums-arm64-linux.h313 #define __NR_seccomp 277 macro
Dvki-scnums-s390x-linux.h316 #define __NR_seccomp 348 macro
Dvki-scnums-amd64-linux.h401 #define __NR_seccomp 317 macro
Dvki-scnums-ppc64-linux.h395 #define __NR_seccomp 358 macro
Dvki-scnums-arm-linux.h422 #define __NR_seccomp 383 macro
Dvki-scnums-ppc32-linux.h403 #define __NR_seccomp 358 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h321 #define __NR_seccomp 317 macro
/external/strace/
Dscno.h791 #ifndef __NR_seccomp
792 # define __NR_seccomp (SYSCALL_BIT | 277) macro

12