Home
last modified time | relevance | path

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

12

/external/strace/tests/
Dseccomp-filter-v.c49 #if defined __NR_seccomp \
119 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
125 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
131 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
178 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
199 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog)) in main()
Dseccomp-filter.c44 #if defined __NR_seccomp && defined SECCOMP_SET_MODE_FILTER
58 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
63 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -2L, 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()
/external/strace/tests-m32/
Dseccomp-filter-v.c49 #if defined __NR_seccomp \
119 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
125 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
131 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
178 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
199 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog)) in main()
Dseccomp-filter.c44 #if defined __NR_seccomp && defined SECCOMP_SET_MODE_FILTER
58 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
63 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -2L, 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()
/external/strace/tests-mx32/
Dseccomp-filter-v.c49 #if defined __NR_seccomp \
119 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
125 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
131 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog); in main()
178 syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
199 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, 0, prog)) in main()
Dseccomp-filter.c44 #if defined __NR_seccomp && defined SECCOMP_SET_MODE_FILTER
58 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -1, prog); in main()
63 rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -2L, 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()
/external/libchrome/sandbox/linux/system_headers/
Darm64_linux_syscalls.h1054 #if !defined(__NR_seccomp)
1055 #define __NR_seccomp 277 macro
Dx86_64_linux_syscalls.h1281 #if !defined(__NR_seccomp)
1282 #define __NR_seccomp 317 macro
Dx86_32_linux_syscalls.h1413 #if !defined(__NR_seccomp)
1414 #define __NR_seccomp 354 macro
Dmips64_linux_syscalls.h1262 #if !defined(__NR_seccomp)
1263 #define __NR_seccomp (__NR_Linux + 312) macro
/external/minijail/linux-x86/
Dlibsyscalls.gen.c957 #ifdef __NR_seccomp
958 { "seccomp", __NR_seccomp },
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1657 #ifndef __NR_seccomp
1659 # define __NR_seccomp 354 macro
1661 # define __NR_seccomp 317 macro
1663 # define __NR_seccomp 383 macro
1665 # define __NR_seccomp 277 macro
1667 # define __NR_seccomp 338 macro
1669 # define __NR_seccomp 358 macro
1671 # define __NR_seccomp 348 macro
1674 # define __NR_seccomp 0xffff macro
1694 return syscall(__NR_seccomp, op, flags, args); in 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.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-arm-linux.h422 #define __NR_seccomp 383 macro
Dvki-scnums-ppc64-linux.h395 #define __NR_seccomp 358 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.h959 #ifndef __NR_seccomp
960 # define __NR_seccomp (SYSCALL_BIT | 317) macro

12