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 6 read: 1 7 write: 1 8 rt_sigreturn: 1 9 exit_group: 1 10 11 open: 1 12 close: 1 13 fstat: 1 14 # Enforce W^X. 15 mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE 16 fadvise64: 1 17