1# Copyright 2018 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5brk: 1
6clone: arg0 & CLONE_THREAD
7close: 1
8dup2: 1
9dup: 1
10epoll_create1: 1
11epoll_ctl: 1
12epoll_wait: 1
13eventfd2: 1
14exit: 1
15exit_group: 1
16futex: 1
17getpid: 1
18gettid: 1
19gettimeofday: 1
20kill: 1
21madvise: arg2 == MADV_DONTNEED || arg2 == MADV_DONTDUMP || arg2 == MADV_REMOVE
22mmap: arg2 in ~PROT_EXEC
23mprotect: arg2 in ~PROT_EXEC
24mremap: 1
25munmap: 1
26nanosleep: 1
27pipe2: 1
28poll: 1
29ppoll: 1
30prctl: arg0 == PR_SET_NAME
31read: 1
32readv: 1
33recvfrom: 1
34recvmsg: 1
35restart_syscall: 1
36rt_sigaction: 1
37rt_sigprocmask: 1
38rt_sigreturn: 1
39sched_getaffinity: 1
40sendmsg: 1
41sendto: 1
42set_robust_list: 1
43sigaltstack: 1
44write: 1
45writev: 1
46
47lstat: 1
48readlink: 1
49readlinkat: 1
50timerfd_create: 1
51name_to_handle_at: 1
52access: 1
53getsockname: 1
54pipe: 1
55setsockopt: 1
56bind: 1
57fcntl: 1
58open: return ENOENT
59openat: 1
60socket: arg0 == AF_NETLINK
61stat: 1
62uname: 1
63# The following ioctls are:
64# 0x4008550d == USBDEVFS_REAPURBNDELAY
65# 0x41045508 == USBDEVFS_GETDRIVER
66# 0x550b == USBDEVFS_DISCARDURB
67# 0x8004550f == USBDEVFS_CLAIMINTERFACE
68# 0x80045510 == USBDEVFS_RELEASEINTERFACE
69# 0x8004551a == USBDEVFS_GET_CAPABILITIES
70# 0x8038550a == USBDEVFS_SUBMITURB
71# 0xc0185500 == USBDEVFS_CONTROL
72# 0x5514 == USBDEVFS_RESET
73# 0x80045505 == USBDEVFS_SETCONFIGURATION
74# 0x8108551b == USBDEVFS_DISCONNECT_CLAIM
75# 0x40085511 == USBDEVFS_CONNECTINFO
76# 0x80185520 == USBDEVFS_CONNINFO_EX
77ioctl: arg1 == 0xc0185500 || arg1 == 0x41045508 || arg1 == 0x8004550f || arg1 == 0x4008550d || arg1 == 0x8004551a || arg1 == 0x550b || arg1 == 0x80045510 || arg1 == 0x8038550a || arg1 == 0x5514 || arg1 == 0x80045505 || arg1 == 0x8108551b || arg1 == 0x40085511 || arg1 == 0x80185520
78fstat: 1
79getrandom: 1
80getdents: 1
81lseek: 1
82