blob: 0aa5acc2a78f64810e3f935298a4ed2c5798dd87 [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 Fernandesd6483992018-12-22 18:11:34 -080016memfd_create: 1
17ftruncate64: 1
Vishwath Mohan31874362016-12-21 14:16:15 -080018
19# mremap: Ensure |flags| are (MREMAP_MAYMOVE | MREMAP_FIXED) TODO: Once minijail
20# parser support for '<' is in this needs to be modified to also prevent
21# |old_address| and |new_address| from touching the exception vector page, which
22# on ARM is statically loaded at 0xffff 0000. See
23# http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0211h/Babfeega.html
24# for more details.
25mremap: arg3 == 3
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080026munmap: 1
27mprotect: 1
28madvise: 1
29openat: 1
30sigaltstack: 1
31clone: 1
32setpriority: 1
33getuid32: 1
34fstat64: 1
Dimitry Ivanov1516b022017-04-24 11:34:58 -070035fstatfs64: 1
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080036pread64: 1
37faccessat: 1
38readlinkat: 1
39exit: 1
40rt_sigprocmask: 1
41set_tid_address: 1
42restart_syscall: 1
43exit_group: 1
44rt_sigreturn: 1
45pipe2: 1
46gettimeofday: 1
47sched_yield: 1
48nanosleep: 1
49lseek: 1
Martijn Coenen929104f2017-01-25 12:33:14 +010050_llseek: 1
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080051sched_get_priority_max: 1
Jeff Vander Stoep890536f2016-03-02 12:30:17 -080052sched_get_priority_min: 1
53statfs64: 1
Jeff Vander Stoep22c571b2016-03-04 14:36:24 -080054sched_setscheduler: 1
Jeff Vander Stoepe9aa8182016-03-08 14:27:27 -080055fstatat64: 1
Christopher Tate6b9c0742016-03-25 10:30:21 -070056ugetrlimit: 1
Marco Nelissen9b16e192017-02-03 12:37:34 -080057getdents64: 1
Daniel Micay2dde5ec2017-09-01 15:53:29 -040058getrandom: 1
Jeff Vander Stoepc9ea2112016-02-17 10:52:20 -080059
Ivan Lozanoddd87af2018-07-11 09:16:23 -070060# Used by UBSan diagnostic messages
61readlink: 1
62open: 1
63
Josh Gaoebb21792018-01-24 16:37:16 -080064@include /system/etc/seccomp_policy/crash_dump.arm.policy