Searched refs:PR_SET_SECCOMP (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 336 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST() 347 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST_SIGNAL() 351 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, in TEST_SIGNAL() 378 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, NULL, NULL); in TEST() 401 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 438 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 445 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 474 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 481 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 505 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() [all …]
|
D | seccomp_benchmark.c | 171 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &bitmap_prog); in main() 178 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &bitmap_prog); in main() 185 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in main() 192 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &bitmap_prog); in main()
|
/linux-5.19.10/samples/seccomp/ |
D | dropper.c | 53 if (prctl(PR_SET_SECCOMP, 2, &prog)) { in install_filter()
|
D | bpf-fancy.c | 93 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in main()
|
D | bpf-direct.c | 156 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_filter()
|
/linux-5.19.10/samples/bpf/ |
D | tracex5_user.c | 30 if (prctl(PR_SET_SECCOMP, 2, &prog)) in install_accept_all_seccomp()
|
/linux-5.19.10/tools/include/uapi/linux/ |
D | prctl.h | 68 #define PR_SET_SECCOMP 22 macro
|
/linux-5.19.10/include/uapi/linux/ |
D | prctl.h | 68 #define PR_SET_SECCOMP 22 macro
|
/linux-5.19.10/Documentation/userspace-api/ |
D | seccomp_filter.rst | 50 ``PR_SET_SECCOMP``: 61 prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, prog);
|
/linux-5.19.10/kernel/ |
D | sys.c | 2429 case PR_SET_SECCOMP: in SYSCALL_DEFINE5()
|
/linux-5.19.10/arch/ |
D | Kconfig | 534 prctl(PR_SET_SECCOMP) or the seccomp() syscall, it cannot be
|