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
10munmap: 1
11mmap: 1
12madvise: 1
13openat: 1
14open: 1
15clock_gettime: 1
16writev: 1
17brk: 1
18mprotect: 1
19read: 1
20lseek: 1
21clone: 1
22getuid: 1
23setpriority: 1
24sigaltstack: 1
25fstat: 1
26fstatfs: 1
27newfstatat: 1
28restart_syscall: 1
29exit: 1
30exit_group: 1
31rt_sigreturn: 1
32faccessat: 1
33sched_setscheduler: 1
34getrlimit: 1
35nanosleep: 1
36getrandom: 1
37timer_create: 1
38timer_settime: 1
39timer_delete: 1
40
41# for dynamically loading extractors
42getdents64: 1
43readlinkat: 1
44pread64: 1
45mremap: 1
46
47# for FileSource
48readlinkat: 1
49
50# Required by AddressSanitizer
51gettid: 1
52sched_yield: 1
53getpid: 1
54gettid: 1
55
56@include /apex/com.android.media/etc/seccomp_policy/crash_dump.x86_64.policy
57@include /apex/com.android.media/etc/seccomp_policy/code_coverage.x86_64.policy
58