| # 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. |
| |
| bind: 1 |
| brk: 1 |
| capget: 1 |
| chdir: 1 |
| chroot: 1 |
| clone: 1 |
| close: 1 |
| connect: 1 |
| dup: 1 |
| dup3: 1 |
| epoll_create1: 1 |
| epoll_ctl: 1 |
| epoll_pwait: 1 |
| execve: 1 |
| exit_group: 1 |
| exit: 1 |
| faccessat: 1 |
| faccessat2: 1 |
| fallocate: 1 |
| fchdir: 1 |
| fchownat: 1 |
| fcntl: 1 |
| fstat: 1 |
| ftruncate: 1 |
| futex: 1 |
| getcpu: 1 |
| getdents64: 1 |
| getegid: 1 |
| geteuid: 1 |
| getgid: 1 |
| getpid: 1 |
| getppid: 1 |
| getrandom: 1 |
| getresgid: 1 |
| getresuid: 1 |
| getsockname: 1 |
| gettid: 1 |
| getuid: 1 |
| # ioctl values: |
| # 0x40048001 == _IOC(_IOC_WRITE, 0x80, 0x1, 0x4) |
| # 0x40108003 == _IOC(_IOC_WRITE, 0x80, 0x3, 0x10) |
| # 0x40108014 == _IOC(_IOC_WRITE, 0x80, 0x14, 0x10) |
| # 0x40208018 == _IOC(_IOC_WRITE, 0x80, 0x18, 0x20) |
| # 0x80048011 == _IOC(_IOC_READ, 0x80, 0x11, 0x4) |
| # 0xc0048000 == _IOC(_IOC_READ|_IOC_WRITE, 0x80, 0, 0x4) |
| # 0xc0208005 == _IOC(_IOC_READ|_IOC_WRITE, 0x80, 0x5, 0x20) |
| ioctl: arg1 == BLKGETSIZE64 || arg1 == SIOCSIFFLAGS || arg1 == BLKSSZGET || \ |
| arg1 == SIOCGIFFLAGS || arg1 == TCGETS || arg1 == 0x40048001 || \ |
| arg1 == 0x40108003 || arg1 == 0x40108014 || arg1 == 0x40208018 || \ |
| arg1 == 0x80048011 || arg1 == 0xc0048000 || arg1 == 0xc0208005 |
| kill: 1 |
| lseek: 1 |
| madvise: 1 |
| mkdirat: 1 |
| mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE |
| mount: 1 |
| mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE |
| munmap: 1 |
| nanosleep: 1 |
| clock_nanosleep: 1 |
| newfstatat: 1 |
| openat: 1 |
| pipe2: 1 |
| pivot_root: 1 |
| ppoll: 1 |
| prctl: arg0 == PR_SET_SECCOMP || arg0 == PR_SET_NO_NEW_PRIVS || \ |
| arg0 == PR_SET_NAME |
| pread64: 1 |
| prlimit64: 1 |
| read: 1 |
| readlinkat: 1 |
| recvmsg: 1 |
| restart_syscall: 1 |
| rt_sigaction: 1 |
| rt_sigprocmask: 1 |
| rt_sigreturn: 1 |
| sched_getaffinity: 1 |
| sched_setaffinity: 1 |
| sched_yield: 1 |
| sendmsg: 1 |
| sendto: 1 |
| set_robust_list: 1 |
| set_tid_address: 1 |
| setgroups: 1 |
| setresgid: 1 |
| setresuid: 1 |
| signalfd4: 1 |
| setsockopt: arg1 == SOL_SOCKET && arg2 == SO_ATTACH_FILTER || \ |
| arg1 == SOL_SOCKET && arg2 == SO_PASSCRED |
| # Use hex value 0xF to substitute the constant: NETLINK_KOBJECT_UEVENT |
| socket: arg0 == AF_UNIX || arg0 == AF_NETLINK && arg2 == 0xF |
| socketpair: 1 |
| statfs: 1 |
| sysinfo: 1 |
| tgkill: 1 |
| umount2: 1 |
| uname: 1 |
| unlinkat: 1 |
| unshare: 1 |
| wait4: 1 |
| write: 1 |
| # Used occasionally by libevent discovered in production use (b/166445013) |
| gettimeofday: 1 |
| # Used occasionally by glibc discovered in production use (b/167617776) |
| mremap: 1 |
| memfd_create: 1 |
| eventfd2: 1 |
| fstatfs: 1 |