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