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 5clock_gettime: 1 6# Allow ioctl command of type 'A' and 'U' for SNDRV_PCM_IOCTL_* and 7# SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8), 8# HCIGETDEVINFO 9ioctl: arg1 in 0xffff41ff && arg1 & 0x00004100 || arg1 in 0xffff55ff && arg1 & 0x00005500 || arg1 == 0x8008451b || arg1 == 0x81004506 || arg1 == 0x80084525 || arg1 == 0x800448d3 10ppoll: 1 11read: 1 12write: 1 13newfstatat: 1 14fstat: 1 15openat: 1 16close: 1 17readlinkat: 1 18getrandom: 1 19faccessat: 1 20# Don't allow mmap or mprotect with both PROT_WRITE and PROT_EXEC 21mmap: arg2 in 0xfffffffb || arg2 in 0xfffffffd 22mprotect: arg2 in 0xfffffffb || arg2 in 0xfffffffd 23sendmsg: 1 24rt_sigaction: 1 25lseek: 1 26recvmsg: 1 27fcntl: 1 28getdents64: 1 29sendto: 1 30brk: 1 31munmap: 1 32socket: arg0 == AF_UNIX || arg0 == AF_BLUETOOTH || arg0 == AF_NETLINK 33statfs: 1 34getsockopt: 1 35accept: 1 36pipe2: 1 37prctl: arg0 == PR_SET_NAME 38futex: 1 39ftruncate: 1 40connect: 1 41bind: 1 42clock_getres: 1 43clone: 1 44epoll_create1: 1 45epoll_ctl: 1 46epoll_pwait: 1 47execve: 1 48exit: 1 49exit_group: 1 50fchmod: 1 51fchmodat: 1 52flock: 1 53flock: 1 54getegid: 1 55geteuid: 1 56getgid: 1 57getresgid: 1 58getresuid: 1 59getrlimit: 1 60getsockname: 1 61gettid: 1 62gettimeofday: 1 63getuid: 1 64lgetxattr: 1 65listen: 1 66lsetxattr: 1 67madvise: 1 68nanosleep: 1 69restart_syscall: 1 70rt_sigprocmask: 1 71rt_sigreturn: 1 72sched_get_priority_max: 1 73sched_get_priority_min: 1 74sched_setscheduler: 1 75setrlimit: 1 76set_robust_list: 1 77setsockopt: 1 78set_tid_address: 1 79sysinfo: 1 80uname: 1 81unlinkat: 1 82getpid: 1 83prlimit64: 1 84tgkill: 1 85mremap: 1 86dup: 1 87