1 # Copyright (C) 2018 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 getuid32: 1 20 writev: 1 21 ioctl: 1 22 close: 1 23 mmap2: 1 24 fstat64: 1 25 madvise: 1 26 fstatat64: 1 27 futex: 1 28 munmap: 1 29 faccessat: 1 30 _llseek: 1 31 lseek: 1 32 clone: 1 33 sigaltstack: 1 34 setpriority: 1 35 restart_syscall: 1 36 exit: 1 37 exit_group: 1 38 rt_sigreturn: 1 39 ugetrlimit: 1 40 readlinkat: 1 41 _llseek: 1 42 fstatfs64: 1 43 pread64: 1 44 mremap: 1 45 dup: 1 46 set_tid_address: 1 47 write: 1 48 nanosleep: 1 49 50 # Required by AddressSanitizer 51 gettid: 1 52 sched_yield: 1 53 getpid: 1 54 gettid: 1 55 56 @include /system/etc/seccomp_policy/crash_dump.x86.policy 57 58