From d6d9042e7983a34d7cbb38a694d7185628fd5752 Mon Sep 17 00:00:00 2001 From: jakob <> Date: Thu, 6 Feb 2003 10:55:56 +0000 Subject: [PATCH] allow to read some directories itself --- src/etc/systrace/usr_sbin_named | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/etc/systrace/usr_sbin_named b/src/etc/systrace/usr_sbin_named index 39a32892..5765e0d9 100644 --- a/src/etc/systrace/usr_sbin_named +++ b/src/etc/systrace/usr_sbin_named @@ -1,4 +1,4 @@ -# $OpenBSD: usr_sbin_named,v 1.2 2003/02/04 14:52:51 jakob Exp $ +# $OpenBSD: usr_sbin_named,v 1.3 2003/02/06 10:55:56 jakob Exp $ # # Policy for named that uses named user and chroots to /var/named # This policy works for the default configuration of named. @@ -27,8 +27,11 @@ Policy: /usr/sbin/named, Emulation: native native-fsread: filename eq "/etc/named.keys" then permit native-fsread: filename eq "/etc/rndc.key" then permit native-fsread: filename eq "/etc/spwd.db" then permit + native-fsread: filename eq "/master" then permit native-fsread: filename match "/master/*" then permit + native-fsread: filename eq "/slave" then permit native-fsread: filename match "/slave/*" then permit + native-fsread: filename eq "/standard" then permit native-fsread: filename match "/standard/*" then permit native-fsread: filename match "/usr/lib/*" then permit native-fsread: filename eq "/usr/libexec/ld.so" then permit