diff options
author | Nikolay Sturm <sturm@cvs.openbsd.org> | 2004-01-15 17:14:44 +0000 |
---|---|---|
committer | Nikolay Sturm <sturm@cvs.openbsd.org> | 2004-01-15 17:14:44 +0000 |
commit | 2b93432107f65f069490427a89fd1a5a735ffaba (patch) | |
tree | 1dc26c59d11e1ea9cd12163791dbfafcbad1e2ad /regress/bin/systrace/id/id.policy | |
parent | b9738c359196255c6c22a3c5294e81630376a050 (diff) |
add simple systrace regresssion test
from provos@/NetBSD ok henning@
Diffstat (limited to 'regress/bin/systrace/id/id.policy')
-rw-r--r-- | regress/bin/systrace/id/id.policy | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/regress/bin/systrace/id/id.policy b/regress/bin/systrace/id/id.policy new file mode 100644 index 00000000000..a3a6700b75f --- /dev/null +++ b/regress/bin/systrace/id/id.policy @@ -0,0 +1,30 @@ +# $OpenBSD: id.policy,v 1.1 2004/01/15 17:14:43 sturm Exp $ +Policy: /usr/bin/id, Emulation: native + native-issetugid: permit + native-mprotect: permit + native-mmap: permit + native-fsread: filename eq "/var/run/ld.so.hints" then permit + native-fstat: permit + native-close: permit + native-fsread: filename match "/usr/lib/libc.so.*" then permit + native-read: permit + native-mquery: permit + native-munmap: permit + native-sigprocmask: permit + native-__sysctl: permit + native-fsread: filename eq "/etc/malloc.conf" then permit + native-break: permit + native-getuid: permit + native-ioctl: permit + native-fsread: filename eq "/etc/spwd.db" then permit + native-fsread: filename eq "/etc/pwd.db" then permit + native-fcntl: permit + native-pread: permit + native-geteuid: permit + native-getgid: permit + native-fsread: filename eq "/etc/group" then permit + native-getegid: permit + native-getgroups: permit + native-write: permit + native-exit: permit + |