| # Copyright 2023 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # rseq should be first due to frequency and purpose to decrease nptl latency |
| rseq: 1 |
| |
| accept: 1 |
| bind: 1 |
| brk: 1 |
| clock_getres: 1 |
| clock_gettime: 1 |
| clock_nanosleep: 1 |
| clone: 1 |
| close: 1 |
| connect: 1 |
| epoll_create1: 1 |
| epoll_ctl: 1 |
| epoll_pwait: 1 |
| eventfd2: 1 |
| exit: 1 |
| exit_group: 1 |
| faccessat: 1 |
| fchmod: 1 |
| fchmodat: 1 |
| fchown: 1 |
| fchownat: 1 |
| fcntl: 1 |
| fstat: 1 |
| fstatfs: 1 |
| fsync: 1 |
| futex: 1 |
| getdents64: 1 |
| geteuid: 1 |
| getpid: 1 |
| getrandom: 1 |
| getresgid: 1 |
| getresuid: 1 |
| getrlimit: 1 |
| getsockname: 1 |
| gettid: 1 |
| kill: 1 |
| linkat: 1 |
| listen: 1 |
| lseek: 1 |
| madvise: 1 |
| munmap: 1 |
| newfstatat: 1 |
| openat: 1 |
| ppoll: 1 |
| prlimit64: 1 |
| process_vm_readv: 1 |
| pselect6: 1 |
| read: 1 |
| readlinkat: 1 |
| recvfrom: 1 |
| recvmsg: 1 |
| renameat: 1 |
| restart_syscall: 1 |
| rt_sigaction: 1 |
| rt_sigprocmask: 1 |
| rt_sigreturn: 1 |
| rt_sigtimedwait: 1 |
| sched_get_priority_max: 1 |
| sched_get_priority_min: 1 |
| sched_getaffinity: 1 |
| sched_getparam: 1 |
| sched_getscheduler: 1 |
| sched_setscheduler: 1 |
| sendmsg: 1 |
| sendto: 1 |
| set_robust_list: 1 |
| setsockopt: 1 |
| shutdown: 1 |
| sigaltstack: 1 |
| socketpair: 1 |
| statx: 1 |
| tgkill: 1 |
| timer_create: 1 |
| timer_delete: 1 |
| timer_gettime: 1 |
| timer_settime: 1 |
| timerfd_create: 1 |
| timerfd_settime: 1 |
| uname: 1 |
| unlinkat: 1 |
| write: 1 |
| writev: 1 |
| |
| mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE |
| |
| mprotect: arg2 in ~PROT_EXEC |
| |
| socket: arg0 == AF_UNIX || arg0 == AF_BLUETOOTH || arg0 == AF_LOCAL |
| |
| prctl: arg0 == PR_SET_NAME || arg0 == PR_GET_NAME |
| |
| # ioctl: |
| # TUNSETIFF: 0x400454ca |
| # Type 'U' commands: 0x....55.. |
| ioctl: arg1 == 0x400454ca || arg1 in 0xffff55ff && arg1 & 0x00005500 || arg1 == FIONREAD || arg1 == SIOCGIFHWADDR || arg1 == SIOCSIFHWADDR || arg1 == SIOCSIFFLAGS |