Ray Essick | 4457486 | 2020-02-13 12:39:14 -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 |
| 19 | open: 1 |
| 20 | getuid32: 1 |
| 21 | getuid: 1 |
| 22 | getrlimit: 1 |
| 23 | writev: 1 |
| 24 | ioctl: 1 |
| 25 | close: 1 |
| 26 | mmap2: 1 |
| 27 | mmap: 1 |
| 28 | fstat64: 1 |
| 29 | fstat: 1 |
| 30 | stat64: 1 |
| 31 | statfs64: 1 |
| 32 | madvise: 1 |
| 33 | fstatat64: 1 |
| 34 | newfstatat: 1 |
| 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 |
| 48 | readlink: 1 |
| 49 | readlinkat: 1 |
| 50 | _llseek: 1 |
| 51 | fstatfs64: 1 |
| 52 | fstatfs: 1 |
| 53 | pread64: 1 |
| 54 | mremap: 1 |
| 55 | dup: 1 |
| 56 | set_tid_address: 1 |
| 57 | write: 1 |
| 58 | nanosleep: 1 |
| 59 | sched_setscheduler: 1 |
| 60 | uname: 1 |
| 61 | memfd_create: 1 |
| 62 | ftruncate: 1 |
| 63 | ftruncate64: 1 |
| 64 | |
| 65 | # Required by AddressSanitizer |
| 66 | gettid: 1 |
| 67 | sched_yield: 1 |
| 68 | getpid: 1 |
| 69 | gettid: 1 |
| 70 | |
| 71 | @include /apex/com.android.media.swcodec/etc/seccomp_policy/crash_dump.x86.policy |
| 72 | @include /apex/com.android.media.swcodec/etc/seccomp_policy/code_coverage.x86.policy |