/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 353 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST() 364 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT, NULL, NULL, NULL); in TEST_SIGNAL() 368 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, in TEST_SIGNAL() 395 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, NULL, NULL); in TEST() 420 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 457 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 464 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 493 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 500 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog, 0, 0); in TEST() 524 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTE in TEST() [all...] |
H A D | seccomp_benchmark.c | 224 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &bitmap_prog); in main() 231 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &bitmap_prog); in main() 238 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in main() 245 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &bitmap_prog); in main()
|
/linux/Documentation/translations/zh_CN/userspace-api/ |
H A D | seccomp_filter.rst | 48 ``PR_SET_SECCOMP``: 55 prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, prog);
|
/linux/samples/seccomp/ |
H A D | dropper.c | 10 * applications using prctl(PR_SET_SECCOMP, 2, ...). 53 if (prctl(PR_SET_SECCOMP, 2, &prog)) { in install_filter() 54 perror("prctl(PR_SET_SECCOMP)"); in install_filter()
|
H A D | bpf-fancy.c | 93 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in main()
|
H A D | bpf-direct.c | 10 * applications using prctl(PR_SET_SECCOMP, 2, ...). 156 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_filter()
|
/linux/samples/bpf/ |
H A D | tracex5_user.c | 31 if (prctl(PR_SET_SECCOMP, 2, &prog)) in install_accept_all_seccomp()
|
/linux/tools/include/uapi/linux/ |
H A D | prctl.h | 68 #define PR_SET_SECCOMP 22 macro
|
/linux/include/uapi/linux/ |
H A D | prctl.h | 68 #define PR_SET_SECCOMP 22 macro
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | prctl.h | 68 #define PR_SET_SECCOMP 22 macro
|
/linux/Documentation/userspace-api/ |
H A D | seccomp_filter.rst | 50 ``PR_SET_SECCOMP``: 61 prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, prog);
|
/linux/arch/ |
H A D | Kconfig | 619 prctl(PR_SET_SECCOMP) or the seccomp() syscall, it cannot be
|