Home
last modified time | relevance | path

Searched refs:PR_SET_SECCOMP (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c336 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 …]
Dseccomp_benchmark.c171 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/
Ddropper.c53 if (prctl(PR_SET_SECCOMP, 2, &prog)) { in install_filter()
Dbpf-fancy.c93 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in main()
Dbpf-direct.c156 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_filter()
/linux-5.19.10/samples/bpf/
Dtracex5_user.c30 if (prctl(PR_SET_SECCOMP, 2, &prog)) in install_accept_all_seccomp()
/linux-5.19.10/tools/include/uapi/linux/
Dprctl.h68 #define PR_SET_SECCOMP 22 macro
/linux-5.19.10/include/uapi/linux/
Dprctl.h68 #define PR_SET_SECCOMP 22 macro
/linux-5.19.10/Documentation/userspace-api/
Dseccomp_filter.rst50 ``PR_SET_SECCOMP``:
61 prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, prog);
/linux-5.19.10/kernel/
Dsys.c2429 case PR_SET_SECCOMP: in SYSCALL_DEFINE5()
/linux-5.19.10/arch/
DKconfig534 prctl(PR_SET_SECCOMP) or the seccomp() syscall, it cannot be