bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 1 | # Copyright (C) 2017 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | read: 1 |
| 16 | mprotect: 1 |
| 17 | prctl: 1 |
| 18 | openat: 1 |
bohu | 2be6d9d | 2018-03-13 14:32:25 -0700 | [diff] [blame] | 19 | open: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 20 | getuid32: 1 |
bohu | 30c15dc | 2019-01-25 13:06:05 -0800 | [diff] [blame] | 21 | getuid: 1 |
| 22 | getrlimit: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 23 | writev: 1 |
| 24 | ioctl: 1 |
| 25 | close: 1 |
| 26 | mmap2: 1 |
bohu | 30c15dc | 2019-01-25 13:06:05 -0800 | [diff] [blame] | 27 | mmap: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 28 | fstat64: 1 |
bohu | d239aa6 | 2019-02-02 07:47:42 -0800 | [diff] [blame] | 29 | fstat: 1 |
bohu | 2be6d9d | 2018-03-13 14:32:25 -0700 | [diff] [blame] | 30 | stat64: 1 |
Hirokazu Honda | 61811a6 | 2018-07-17 10:12:44 +0900 | [diff] [blame] | 31 | statfs64: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 32 | madvise: 1 |
| 33 | fstatat64: 1 |
bohu | 30c15dc | 2019-01-25 13:06:05 -0800 | [diff] [blame] | 34 | newfstatat: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 35 | futex: 1 |
| 36 | munmap: 1 |
| 37 | faccessat: 1 |
| 38 | _llseek: 1 |
| 39 | lseek: 1 |
| 40 | clone: 1 |
| 41 | sigaltstack: 1 |
| 42 | setpriority: 1 |
| 43 | restart_syscall: 1 |
| 44 | exit: 1 |
| 45 | exit_group: 1 |
| 46 | rt_sigreturn: 1 |
| 47 | ugetrlimit: 1 |
Chong Zhang | dda6ed1 | 2019-04-11 10:29:09 -0700 | [diff] [blame] | 48 | readlink: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 49 | readlinkat: 1 |
| 50 | _llseek: 1 |
| 51 | fstatfs64: 1 |
bohu | d239aa6 | 2019-02-02 07:47:42 -0800 | [diff] [blame] | 52 | fstatfs: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 53 | pread64: 1 |
| 54 | mremap: 1 |
| 55 | dup: 1 |
| 56 | set_tid_address: 1 |
| 57 | write: 1 |
| 58 | nanosleep: 1 |
Hirokazu Honda | ba6a4c2 | 2018-08-22 19:09:10 +0900 | [diff] [blame] | 59 | sched_setscheduler: 1 |
| 60 | uname: 1 |
Joel Fernandes | 3c49347 | 2018-12-22 18:11:34 -0800 | [diff] [blame] | 61 | memfd_create: 1 |
| 62 | ftruncate: 1 |
| 63 | ftruncate64: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 64 | |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 65 | # Required by AddressSanitizer |
| 66 | gettid: 1 |
| 67 | sched_yield: 1 |
| 68 | getpid: 1 |
| 69 | gettid: 1 |
Josh Gao | ebb2179 | 2018-01-24 16:37:16 -0800 | [diff] [blame] | 70 | |
| 71 | @include /system/etc/seccomp_policy/crash_dump.x86.policy |