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 19 open: 1 20 getuid32: 1 21 writev: 1 22 ioctl: 1 23 close: 1 24 mmap2: 1 25 fstat64: 1 26 stat64: 1 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 52 # Required by AddressSanitizer 53 gettid: 1 54 sched_yield: 1 55 getpid: 1 56 gettid: 1 57 58 @include /system/etc/seccomp_policy/crash_dump.x86.policy 59