blob: 1cac684eb4df00ec365bd2c61b159ba7e4fcd998 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
access: 1
bind: 1
brk: 1
clone: 1
close: 1
exit: 1
exit_group: 1
fcntl64: 1
fstat64: 1
getdents: 1
getpid: 1
# Filter arg2 to disallow GRND_RANDOM (2).
getrandom: arg2 in 0xfffffffd
getsockname: 1
gettid: 1
_llseek: 1
lstat64: 1
madvise: 1
# Prevent PROT_EXEC
mmap2: arg2 in 0xfffffffb
# Prevent PROT_EXEC
mprotect: arg2 in 0xfffffffb
munmap: 1
_newselect: 1
openat: 1
pipe: 1
poll: 1
pread64: 1
pwrite64: 1
read: 1
readlinkat: 1
recvfrom: 1
rt_sigaction: 1
rt_sigprocmask: 1
sendto: 1
set_robust_list: 1
setsockopt: 1
set_tid_address: 1
sigreturn: 1
# Allow AF_UNIX or AF_QIPCRTR
socket: arg0 == AF_UNIX || arg0 == AF_QIPCRTR
ugetrlimit: 1
uname: 1
write: 1