blob: 25b4c29ba16b6c910adb415e8f76bf60d87d26ad [file] [log] [blame]
# In this directory, test with:
# make LIBDIR=.
# ./minijail0 -n -S examples/cat.policy -- /bin/cat /proc/self/status
# This policy only works on x86_64.
read: 1
write: 1
restart_syscall: 1
rt_sigreturn: 1
exit_group: 1
open: 1
openat: 1
close: 1
fstat: 1
# Enforce W^X.
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
fadvise64: 1