1# Copyright 2022 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Copyright 2019 The ChromiumOS Authors
6# Use of this source code is governed by a BSD-style license that can be
7# found in the LICENSE file.
8
9brk: 1
10clock_gettime: 1
11clone: arg0 & CLONE_THREAD
12clone3: 1
13close: 1
14dup2: 1
15dup: 1
16epoll_create1: 1
17epoll_ctl: 1
18epoll_pwait: 1
19epoll_wait: 1
20eventfd2: 1
21exit: 1
22exit_group: 1
23ftruncate: 1
24futex: 1
25getcwd: 1
26getpid: 1
27gettid: 1
28gettimeofday: 1
29io_uring_setup: 1
30io_uring_register: 1
31io_uring_enter: 1
32kill: 1
33lseek: 1
34madvise: arg2 == MADV_DONTNEED || arg2 == MADV_DONTDUMP || arg2 == MADV_REMOVE || arg2 == MADV_MERGEABLE || arg2 == MADV_FREE
35membarrier: 1
36memfd_create: 1
37mmap: arg2 in ~PROT_EXEC
38mprotect: arg2 in ~PROT_EXEC
39mremap: 1
40munmap: 1
41nanosleep: 1
42clock_nanosleep: 1
43pipe2: 1
44poll: 1
45ppoll: 1
46read: 1
47readlink: 1
48readlinkat: 1
49readv: 1
50recvfrom: 1
51recvmsg: 1
52restart_syscall: 1
53rseq: 1
54rt_sigaction: 1
55rt_sigprocmask: 1
56rt_sigreturn: 1
57sched_getaffinity: 1
58sched_yield: 1
59sendmsg: 1
60sendto: 1
61set_robust_list: 1
62sigaltstack: 1
63# arg2 == SIGABRT -- ANDROID(b/270404912): modified to 1 - duplicate error.
64tgkill: 1
65write: 1
66writev: 1
67fcntl: 1
68uname: 1
69
70# ANDROID(b/271625758): disabled to fix duplicate syscall error.
71# ## Rules for vmm-swap
72# userfaultfd: 1
73# # 0xc018aa3f == UFFDIO_API, 0xaa00 == USERFAULTFD_IOC_NEW
74# ioctl: arg1 == 0xc018aa3f || arg1 == 0xaa00
75
76accept4: 1
77bind: 1
78fstat: 1
79getdents64: 1
80ioctl: arg1 == SIOCGIFFLAGS || arg1 == SIOCSIFFLAGS || arg1 == TCGETS
81prctl: arg0 == PR_SET_NAME
82socket: arg0 == AF_UNIX
83socketpair: 1
84