1# Copyright (C) 2021 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 15read: 1 16mprotect: 1 17prctl: 1 18openat: 1 19getuid: 1 20getrlimit: 1 21writev: 1 22ioctl: 1 23close: 1 24mmap: 1 25munmap: 1 26fstat: 1 27madvise: 1 28newfstatat: 1 29futex: 1 30faccessat: 1 31lseek: 1 32clone: 1 33sigaltstack: 1 34rt_sigprocmask: 1 35setpriority: 1 36restart_syscall: 1 37exit: 1 38exit_group: 1 39rt_sigreturn: 1 40readlinkat: 1 41fstatfs: 1 42pread64: 1 43mremap: 1 44dup: 1 45set_tid_address: 1 46write: 1 47nanosleep: 1 48sched_setscheduler: 1 49uname: 1 50memfd_create: 1 51ftruncate: 1 52getdents64: 1 53ppoll: 1 54 55clock_gettime: 1 56pipe2: 1 57 58# Required by AddressSanitizer 59gettid: 1 60sched_yield: 1 61getpid: 1 62 63@include /apex/com.android.media.swcodec/etc/seccomp_policy/code_coverage.riscv64.policy 64