Searched refs:SECCOMP_MODE_FILTER (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 87 #ifndef SECCOMP_MODE_FILTER 88 #define SECCOMP_MODE_FILTER 2 macro 344 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, in TEST_SIGNAL() 546 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST() 563 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST() 583 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST() 604 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST_SIGNAL() 626 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST_SIGNAL() 647 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST_SIGNAL() 670 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog); in TEST_SIGNAL() [all …]
|
A 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/include/uapi/linux/ |
A D | seccomp.h | 12 #define SECCOMP_MODE_FILTER 2 /* uses user-supplied filter. */ macro
|
/linux/samples/seccomp/ |
A D | bpf-fancy.c | 93 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in main()
|
A D | bpf-direct.c | 156 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_filter()
|
/linux/kernel/ |
A D | seccomp.c | 497 (thread->seccomp.mode == SECCOMP_MODE_FILTER && in seccomp_can_sync_threads() 623 seccomp_assign_mode(thread, SECCOMP_MODE_FILTER, in seccomp_sync_threads() 1310 case SECCOMP_MODE_FILTER: in __secure_computing() 1801 const unsigned long seccomp_mode = SECCOMP_MODE_FILTER; in seccomp_set_mode_filter() 1988 case SECCOMP_MODE_FILTER: in prctl_set_seccomp() 2013 if (task->seccomp.mode != SECCOMP_MODE_FILTER) { in get_nth_filter()
|
/linux/Documentation/userspace-api/ |
A D | seccomp_filter.rst | 61 prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, prog);
|
Completed in 18 milliseconds