/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
seccomp_bpf_tests.c | 6 * Test code for seccomp bpf. 21 #include <linux/seccomp.h> 802 /* Make sure this is a seccomp event. */ 936 #ifndef seccomp 937 int seccomp(unsigned int op, unsigned int flags, struct sock_fprog *filter) function 963 ret = seccomp(-1, 0, &prog); 969 ret = seccomp(SECCOMP_SET_MODE_STRICT, -1, NULL); 973 ret = seccomp(SECCOMP_SET_MODE_STRICT, 0, &prog); 979 ret = seccomp(SECCOMP_SET_MODE_FILTER, -1, &prog); 983 ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, NULL) [all...] |
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
seccomp_bpf.c | 5 * Test code for seccomp bpf. 21 #include <linux/seccomp.h> 1070 /* Check if this is a seccomp event. */ 1691 int seccomp(unsigned int op, unsigned int flags, void *args) function [all...] |
/external/seccomp-tests/linux/ |
seccomp_bpf.c | 5 * Test code for seccomp bpf. 21 #include <linux/seccomp.h> 1066 /* Make sure this is a seccomp event. */ 1505 int seccomp(unsigned int op, unsigned int flags, struct sock_fprog *filter) function [all...] |
/external/minijail/ |
libminijail.c | 80 /* Seccomp filter related flags. */ 99 /* End seccomp filter related flags. */ 144 int seccomp : 1; member in struct:minijail::__anon27967 190 * or are easier to set after execve(2) (e.g. seccomp filters). 355 j->flags.seccomp = 1; 731 * |errno| will be set to EINVAL when seccomp has not been 734 * in that case, disable seccomp and skip loading the filters. 737 warn("not loading seccomp filters, seccomp filter not " 745 * abort() if seccomp fails [all...] |