blob: 84da12fb5fac15e0d83b2df116ed1ce55f7d8505 [file] [log] [blame]
# Copyright 2020 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.
clock_gettime: 1
clock_getres: 1
clock_nanosleep: 1
gettimeofday: 1
nanosleep: 1
ppoll: 1
openat: 1
close: 1
lseek: 1
read: 1
readv: 1
write: 1
# writev isn't used.
readlinkat: 1
statx: 1
fstat: 1
newfstatat: 1
# Memory management system calls.
brk: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
madvise: 1
# Socket system calls.
socket: arg0 == AF_UNIX
sendmsg: 1
recvmsg: 1
# TODO this should only be necessary in traced.
getsockopt: 1
# traced_probes only acts as a socket client.
connect: 1
shutdown: 1
getpid: 1
gettid: 1
futex: 1
exit: 1
exit_group: 1
# Allow signal to self.
kill: arg0 == 0
fcntl: 1
faccessat: 1
prctl: 1
clone: 1
eventfd2: 1
ioctl: arg1 == TCGETS
prlimit64: 1
restart_syscall: 1
rt_sigaction: 1
rt_sigprocmask: 1
rt_sigreturn: 1
set_robust_list: 1
set_tid_address: 1
timer_delete: 1
timer_create: 1
timer_settime: 1
pread64: 1
# Need to get directory entries.
getdents64: 1