Browse Source

no longer play with /dev/log

OPENBSD_5_6
deraadt 10 years ago
parent
commit
421312ed52
2 changed files with 2 additions and 4 deletions
  1. +1
    -2
      src/etc/systrace/usr_sbin_lpd
  2. +1
    -2
      src/etc/systrace/usr_sbin_named

+ 1
- 2
src/etc/systrace/usr_sbin_lpd View File

@ -1,4 +1,4 @@
# $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.
@ -14,7 +14,6 @@ Policy: /usr/sbin/lpd, Emulation: native
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


+ 1
- 2
src/etc/systrace/usr_sbin_named View File

@ -1,4 +1,4 @@
# $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.
@ -14,7 +14,6 @@ Policy: /usr/sbin/named, Emulation: native
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


Loading…
Cancel
Save