• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# In this directory, test with:
2# make LIBDIR=.
3# ./minijail0 -n -S examples/cat.policy -- /bin/cat /proc/self/status
4# This policy only works on x86_64.
5
6read: 1
7write: 1
8restart_syscall: 1
9rt_sigreturn: 1
10exit_group: 1
11
12open: 1
13openat: 1
14close: 1
15fstat: 1
16# Enforce W^X.
17mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
18fadvise64: 1
19