Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dseccomp-util.c1687 int filter_syscall = 0, block_syscall = 0, shmat_syscall = 0, r; in seccomp_memory_deny_write_execute() local
1699 filter_syscall = SCMP_SYS(mmap2); in seccomp_memory_deny_write_execute()
1708 filter_syscall = SCMP_SYS(mmap); in seccomp_memory_deny_write_execute()
1713 filter_syscall = SCMP_SYS(mmap2); /* arm has only mmap2 */ in seccomp_memory_deny_write_execute()
1723filter_syscall = SCMP_SYS(mmap); /* amd64, x32, arm64 and riscv64 have only mmap */ in seccomp_memory_deny_write_execute()
1735 if (filter_syscall == 0) in seccomp_memory_deny_write_execute()
1742 r = add_seccomp_syscall_filter(seccomp, arch, filter_syscall, in seccomp_memory_deny_write_execute()