@ -1,4 +1,4 @@
# $OpenBSD: usr_sbin_lpd,v 1.3 2003/02/04 14:52:33 jakob Exp $
# $OpenBSD: usr_sbin_lpd,v 1.4 2003/03/28 21:32:30 jmc Exp $
#
# Policy for lpd.
# This policy works for the default configuration of lpd.
@ -37,6 +37,7 @@ Policy: /usr/sbin/lpd, Emulation: native
native-fsread: filename match "/usr/share/nls/*" then permit
native-fsread: filename match "/usr/share/zoneinfo/*" then permit
native-fsread: filename match "/var/spool/lpd/*" then permit
native-fsread: filename match "/var/spool/output/*" then permit
native-fstat: permit
native-fstatfs: permit
native-fswrite: filename eq "/dev/console" then permit
@ -45,6 +46,7 @@ Policy: /usr/sbin/lpd, Emulation: native
native-fswrite: filename eq "/var/run/lpd.pid" then permit
native-fswrite: filename eq "/var/run/printer" then permit
native-fswrite: filename match "/var/spool/lpd/*" then permit
native-fswrite: filename match "/var/spool/output/*" then permit
native-ftruncate: permit
native-getdirentries: permit
native-getegid: permit