HomeSort by relevance Sort by last modified time
    Searched defs:seccomp (Results 1 - 3 of 3) sorted by null

  /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...]
  /cts/tests/tests/os/jni/seccomp-tests/tests/
seccomp_bpf_tests.c 6 * Test code for seccomp bpf.
21 #include <linux/seccomp.h>
932 /* Make sure this is a seccomp event. */
1300 int seccomp(unsigned int op, unsigned int flags, struct sock_fprog *filter) function
    [all...]
  /external/minijail/
libminijail.c 103 int seccomp:1; member in struct:minijail::__anon19848
144 * or are easier to set after execve(2) (e.g. seccomp filters).
192 /* Allow seccomp soft-fail on Android devices with kernel version < 3.8. */
325 j->flags.seccomp = 1;
611 warn("not loading seccomp filter,"
612 " seccomp not supported");
622 pdie("failed to open seccomp filter file '%s'", path);
627 die("failed to compile seccomp filter BPF program in '%s'",
1266 * Set no_new_privs. See </kernel/seccomp.c> and </kernel/sys.c>
1278 * which will likely crash the program. Skip setting seccomp filter i
    [all...]

Completed in 244 milliseconds