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 |
Cindy Zhou | 947f0a4 | 2021-01-06 16:49:58 -0800 | [diff] [blame] | 30 | stat: 1 |
Ray Essick | 4457486 | 2020-02-13 12:39:14 -0800 | [diff] [blame] | 31 | stat64: 1 |
| 32 | statfs64: 1 |
| 33 | madvise: 1 |
| 34 | fstatat64: 1 |
| 35 | newfstatat: 1 |
| 36 | futex: 1 |
| 37 | munmap: 1 |
| 38 | faccessat: 1 |
| 39 | _llseek: 1 |
| 40 | lseek: 1 |
| 41 | clone: 1 |
| 42 | sigaltstack: 1 |
| 43 | setpriority: 1 |
| 44 | restart_syscall: 1 |
| 45 | exit: 1 |
| 46 | exit_group: 1 |
| 47 | rt_sigreturn: 1 |
| 48 | ugetrlimit: 1 |
| 49 | readlink: 1 |
| 50 | readlinkat: 1 |
| 51 | _llseek: 1 |
| 52 | fstatfs64: 1 |
| 53 | fstatfs: 1 |
| 54 | pread64: 1 |
| 55 | mremap: 1 |
| 56 | dup: 1 |
| 57 | set_tid_address: 1 |
| 58 | write: 1 |
| 59 | nanosleep: 1 |
| 60 | sched_setscheduler: 1 |
| 61 | uname: 1 |
| 62 | memfd_create: 1 |
| 63 | ftruncate: 1 |
| 64 | ftruncate64: 1 |
| 65 | |
| 66 | # Required by AddressSanitizer |
| 67 | gettid: 1 |
| 68 | sched_yield: 1 |
| 69 | getpid: 1 |
| 70 | gettid: 1 |
| 71 | |
| 72 | @include /apex/com.android.media.swcodec/etc/seccomp_policy/crash_dump.x86.policy |
| 73 | @include /apex/com.android.media.swcodec/etc/seccomp_policy/code_coverage.x86.policy |