| # Copyright 2020 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # Policy file for g2touch touchscreen tools. |
| # It is used to get firmware version. |
| |
| # rseq should be first due to frequency and purpose to decrease nptl latency |
| rseq: 1 |
| |
| write: 1 |
| rt_sigaction: 1 |
| brk: 1 |
| close: 1 |
| read: 1 |
| rt_sigprocmask: 1 |
| openat: 1 |
| mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE |
| mseal: 1 |
| munmap: 1 |
| exit_group: 1 |
| restart_syscall: 1 |
| exit: 1 |
| rt_sigreturn: 1 |
| fstatfs: 1 |
| getrandom: 1 |
| newfstatat: 1 |
| set_tid_address: 1 |
| uname: 1 |
| set_robust_list: 1 |
| mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE |
| prlimit64: 1 |
| faccessat: 1 |
| ioctl: arg1 == 0x5401 || arg1 == 0x5413 || arg1 == 0x81004804 || arg1 == 0x80084803 |
| execve: 1 |
| gettid: 1 |
| statfs: 1 |
| prctl: arg0 == PR_SET_KEEPCAPS || arg0 == PR_SET_NAME |
| getdents64: 1 |
| lseek: 1 |
| pipe2: 1 |
| clone: 1 |
| dup3: 1 |
| fcntl: 1 |
| getpid: 1 |
| geteuid: 1 |
| getppid: 1 |
| statx: 1 |
| wait4: 1 |
| pselect6: 1 |
| lgetxattr: 1 |
| futex: 1 |
| readlinkat: 1 |
| nanosleep: 1 |
| clock_nanosleep: 1 |