summaryrefslogtreecommitdiff
path: root/regress/bin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-13 17:08:05 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-13 17:08:05 +0000
commitc32c0c80d11cf0d1ba4b425261db6e2839e58b58 (patch)
tree7a3c63feeabb51e25ac902b11d79d060cf949a8a /regress/bin
parent4c9b8c7970367b718b6fc99ee5ad044ac3fd38cc (diff)
Rename __sysctl syscall to just sysctl, as the userland wrapper is no longer
necessary ok deraadt@ jsing@
Diffstat (limited to 'regress/bin')
-rw-r--r--regress/bin/systrace/id/id.policy6
-rw-r--r--regress/bin/systrace/symlink/ln.policy5
2 files changed, 6 insertions, 5 deletions
diff --git a/regress/bin/systrace/id/id.policy b/regress/bin/systrace/id/id.policy
index 65e405df7c7..b92082346e3 100644
--- a/regress/bin/systrace/id/id.policy
+++ b/regress/bin/systrace/id/id.policy
@@ -1,8 +1,6 @@
-# $OpenBSD: id.policy,v 1.4 2014/07/14 05:49:14 guenther Exp $
+# $OpenBSD: id.policy,v 1.5 2015/09/13 17:08:04 guenther Exp $
Policy: /usr/bin/id, Emulation: native
- native-__kbind: permit
native-__set_tcb: permit
- native-__sysctl: permit
native-break: permit
native-close: permit
native-exit: permit
@@ -24,6 +22,7 @@ Policy: /usr/bin/id, Emulation: native
native-getuid: permit
native-ioctl: permit
native-issetugid: permit
+ native-kbind: permit
native-minherit: permit
native-mmap: permit
native-mprotect: permit
@@ -33,4 +32,5 @@ Policy: /usr/bin/id, Emulation: native
native-read: permit
native-sendsyslog: permit
native-sigprocmask: permit
+ native-sysctl: permit
native-write: permit
diff --git a/regress/bin/systrace/symlink/ln.policy b/regress/bin/systrace/symlink/ln.policy
index 58220416dfc..5e2706eb019 100644
--- a/regress/bin/systrace/symlink/ln.policy
+++ b/regress/bin/systrace/symlink/ln.policy
@@ -1,17 +1,18 @@
-# $OpenBSD: ln.policy,v 1.3 2014/07/14 05:49:14 guenther Exp $
+# $OpenBSD: ln.policy,v 1.4 2015/09/13 17:08:04 guenther Exp $
Policy: /bin/ln, Emulation: native
- native-__sysctl: permit
native-close: permit
native-exit: permit
native-fsread: permit
native-fstat: permit
native-getentropy: permit
native-issetugid: permit
+ native-kbind: permit
native-minherit: permit
native-mmap: permit
native-mprotect: permit
native-munmap: permit
native-sendsyslog: permit
native-symlink: filename match "/*" then permit
+ native-sysctl: permit
native-write: permit