| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| gettimeofday: 1 |
| sendmsg: 1 |
| openat: 1 |
| # Don't allow mmap with both PROT_WRITE and PROT_EXEC |
| mmap: arg2 in 0xfffffffb || arg2 in 0xfffffffd |
| # Don't allow mprotect with both PROT_WRITE and PROT_EXEC |
| mprotect: arg2 in 0xfffffffb || arg2 in 0xfffffffd |
| close: 1 |
| fstat: 1 |
| read: 1 |
| recvfrom: 1 |
| sendto: 1 |
| # socket: arg0 == PF_FILE || arg0 == PF_INET || arg0 == PF_NETLINK |
| socket: arg0 == 1 || arg0 == 2 || arg0 == 16 |
| futex: 1 |
| brk: 1 |
| rt_sigaction: 1 |
| getsockname: 1 |
| munmap: 1 |
| # ioctl: arg1 == SIOCGIFNAME || arg1 == SIOCGIFNETMASK |
| ioctl: arg1 == 0x8910 || arg1 == 0x891b |
| bind: 1 |
| restart_syscall: 1 |
| exit: 1 |
| exit_group: 1 |
| rt_sigreturn: 1 |
| uname: 1 |
| connect: 1 |
| rt_sigprocmask: 1 |
| lseek: 1 |
| set_tid_address: 1 |
| set_robust_list: 1 |
| fcntl: 1 |
| # execve: return EPERM |
| execve: return 1 |
| getpid: 1 |