1# Organized by frequency of systemcall - in descending order for 2# best performance. 3ioctl: 1 4futex: 1 5prctl: 1 6write: 1 7getpriority: 1 8close: 1 9dup: 1 10mmap: 1 11munmap: 1 12openat: 1 13mprotect: 1 14madvise: 1 15getuid: 1 16fstat: 1 17fstatfs: 1 18read: 1 19setpriority: 1 20sigaltstack: 1 21clone: 1 22sched_setscheduler: 1 23lseek: 1 24newfstatat: 1 25faccessat: 1 26restart_syscall: 1 27exit: 1 28exit_group: 1 29rt_sigreturn: 1 30rt_sigprocmask: 1 31getrlimit: 1 32nanosleep: 1 33getrandom: 1 34timer_create: 1 35timer_settime: 1 36timer_delete: 1 37 38# for dynamically loading extractors 39getdents64: 1 40readlinkat: 1 41pread64: 1 42mremap: 1 43 44# Required by Sanitizers 45sched_yield: 1 46 47@include /apex/com.android.media/etc/seccomp_policy/crash_dump.riscv64.policy 48@include /apex/com.android.media/etc/seccomp_policy/code_coverage.riscv64.policy 49