-# $OpenBSD: usr_sbin_lpd,v 1.6 2014/07/14 05:48:18 guenther Exp $
+# $OpenBSD: usr_sbin_lpd,v 1.7 2014/07/20 04:29:07 deraadt Exp $
#
# Policy for lpd.
# This policy works for the default configuration of lpd.
native-chmod: filename eq "/var/run/printer" then permit
native-chown: filename eq "/var/run/printer" then permit
native-close: permit
- native-connect: sockaddr eq "/dev/log" then permit
native-connect: sockaddr match "inet-*:53" then permit
native-connect: sockaddr sub ":515" then permit
native-dup2: permit
-# $OpenBSD: usr_sbin_named,v 1.7 2014/07/14 05:48:18 guenther Exp $
+# $OpenBSD: usr_sbin_named,v 1.8 2014/07/20 04:29:07 deraadt Exp $
#
# Policy for named that uses named user and chroots to /var/named
# This policy works for the default configuration of named.
native-chroot: filename eq "/var/named" then permit
native-close: permit
native-closefrom: permit
- native-connect: sockaddr eq "/dev/log" then permit
native-connect: sockaddr match "inet-*" then permit
native-dup2: permit
native-exit: permit