1# Copyright 2019 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
8dup3: 1
9dup: 1
10epoll_create1: 1
11epoll_ctl: 1
12epoll_pwait: 1
13eventfd2: 1
14exit: 1
15exit_group: 1
16futex: 1
17getpid: 1
18gettimeofday: 1
19kill: 1
20madvise: arg2 == MADV_DONTNEED || arg2 == MADV_DONTDUMP || arg2 == MADV_REMOVE
21mmap: arg2 in ~PROT_EXEC
22mprotect: arg2 in ~PROT_EXEC
23mremap: 1
24munmap: 1
25nanosleep: 1
26pipe2: 1
27ppoll: 1
28prctl: arg0 == PR_SET_NAME
29read: 1
30readv: 1
31recvfrom: 1
32recvmsg: 1
33restart_syscall: 1
34rt_sigaction: 1
35rt_sigprocmask: 1
36rt_sigreturn: 1
37sched_getaffinity: 1
38sendmsg: 1
39sendto: 1
40set_robust_list: 1
41sigaltstack: 1
42write: 1
43writev: 1
44
45# Used to connect to wayland. arg0 == AF_UNIX && arg1 == SOCK_STREAM|SOCK_CLOEXEC
46socket: arg0 == 1 && arg1 == 0x80001 && arg2 == 0
47# arg1 == FIONBIO || arg1 == DMA_BUF_IOCTL_SYNC
48ioctl: arg1 == 0x5421 || arg1 == 0x40086200
49connect: 1
50openat: return ENOENT
51# Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
52memfd_create: arg1 == 3
53# Used to set of size new memfd
54ftruncate: 1
55# Used to determine shm size after recvmsg with fd
56lseek: 1
57# Allow F_GETFL only
58fcntl: arg1 == 3
59