blob: 3870a116802ad74ca20b70cb680f242bd04006ea [file] [log] [blame]
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -08001# Organized by frequency of systemcall - in descending order for
2# best performance.
3futex: 1
4ioctl: 1
5write: 1
6prctl: 1
7clock_gettime: 1
8getpriority: 1
9read: 1
10close: 1
11writev: 1
12dup: 1
13ppoll: 1
14mmap2: 1
Pawin Vongmasad371ee52017-07-26 04:06:28 -070015getrandom: 1
Joel Fernandesbfd6d9c2018-12-22 18:11:34 -080016memfd_create: 1
Joel Fernandesbc977d02019-02-07 09:23:55 -050017ftruncate: 1
Joel Fernandesbfd6d9c2018-12-22 18:11:34 -080018ftruncate64: 1
Vishwath Mohan31874362016-12-21 14:16:15 -080019
20# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
21# parser support for '<' is in this needs to be modified to also prevent
22# |old_address| and |new_address| from touching the exception vector page, which
23# on ARM is statically loaded at 0xffff 0000. See
24# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
25# for more details.
26mremap: arg3 == 3
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080027munmap: 1
28mprotect: 1
29madvise: 1
30openat: 1
31sigaltstack: 1
32clone: 1
33setpriority: 1
34getuid32: 1
35fstat64: 1
Dimitry Ivanov1516b022017-04-24 11:34:58 -070036fstatfs64: 1
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080037pread64: 1
38faccessat: 1
39readlinkat: 1
40exit: 1
41rt_sigprocmask: 1
42set_tid_address: 1
43restart_syscall: 1
44exit_group: 1
45rt_sigreturn: 1
46pipe2: 1
47gettimeofday: 1
48sched_yield: 1
49nanosleep: 1
50lseek: 1
Martijn Coenen929104f2017-01-25 12:33:14 +010051_llseek: 1
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080052sched_get_priority_max: 1
Jeff Vander Stoep890536f2016-03-02 12:30:17 -080053sched_get_priority_min: 1
54statfs64: 1
Jeff Vander Stoep22c571b2016-03-04 14:36:24 -080055sched_setscheduler: 1
Jeff Vander Stoepe9aa8182016-03-08 14:27:27 -080056fstatat64: 1
Christopher Tate6b9c0742016-03-25 10:30:21 -070057ugetrlimit: 1
Marco Nelissen9b16e192017-02-03 12:37:34 -080058getdents64: 1
Daniel Micay2dde5ec2017-09-01 15:53:29 -040059getrandom: 1
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080060
Josh Gaoebb21792018-01-24 16:37:16 -080061@include /system/etc/seccomp_policy/crash_dump.arm.policy