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 |
| 21 | writev: 1 |
| 22 | ioctl: 1 |
| 23 | close: 1 |
| 24 | mmap2: 1 |
| 25 | fstat64: 1 |
bohu | 2be6d9d | 2018-03-13 14:32:25 -0700 | [diff] [blame] | 26 | stat64: 1 |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 27 | madvise: 1 |
| 28 | fstatat64: 1 |
| 29 | futex: 1 |
| 30 | munmap: 1 |
| 31 | faccessat: 1 |
| 32 | _llseek: 1 |
| 33 | lseek: 1 |
| 34 | clone: 1 |
| 35 | sigaltstack: 1 |
| 36 | setpriority: 1 |
| 37 | restart_syscall: 1 |
| 38 | exit: 1 |
| 39 | exit_group: 1 |
| 40 | rt_sigreturn: 1 |
| 41 | ugetrlimit: 1 |
| 42 | readlinkat: 1 |
| 43 | _llseek: 1 |
| 44 | fstatfs64: 1 |
| 45 | pread64: 1 |
| 46 | mremap: 1 |
| 47 | dup: 1 |
| 48 | set_tid_address: 1 |
| 49 | write: 1 |
| 50 | nanosleep: 1 |
| 51 | |
bohu | e5f21fc | 2017-12-15 11:20:58 -0800 | [diff] [blame] | 52 | # Required by AddressSanitizer |
| 53 | gettid: 1 |
| 54 | sched_yield: 1 |
| 55 | getpid: 1 |
| 56 | gettid: 1 |
Josh Gao | ebb2179 | 2018-01-24 16:37:16 -0800 | [diff] [blame] | 57 | |
Ivan Lozano | ddd87af | 2018-07-11 09:16:23 -0700 | [diff] [blame^] | 58 | # Used by UBSan diagnostic messages |
| 59 | readlink: 1 |
| 60 | open: 1 |
| 61 | |
Josh Gao | ebb2179 | 2018-01-24 16:37:16 -0800 | [diff] [blame] | 62 | @include /system/etc/seccomp_policy/crash_dump.x86.policy |