blob: 3febadcfb3f1fa554166218d01c243730966b99b [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.
faccessat: 1
bind: 1
brk: 1
close: 1
fstat: 1
newfstatat: 1
getpid: 1
# Filter arg2 to disallow GRND_RANDOM (2).
getrandom: arg2 in 0xfffffffd
getsockname: 1
gettid: 1
lseek: 1
# Prevent PROT_EXEC
mmap: arg2 in 0xfffffffb
# Prevent PROT_EXEC
mprotect: arg2 in 0xfffffffb
munmap: 1
openat: 1
ppoll: 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
# Allow AF_UNIX or AF_QIPCRTR
socket: arg0 == AF_UNIX || arg0 == AF_QIPCRTR
getrlimit: 1
uname: 1
write: 1