Browse Source

/dev/random has created the same effect as /dev/arandom (and /dev/urandom)

for quite some time.  Mop up the last few, by using /dev/random where we
actually want it, or not even mentioning arandom where it is irrelevant.
OPENBSD_5_7
deraadt 10 years ago
parent
commit
0c0197a7ee
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/etc/systrace/usr_sbin_lpd

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

@ -1,4 +1,4 @@
# $OpenBSD: usr_sbin_lpd,v 1.7 2014/07/20 04:29:07 deraadt Exp $
# $OpenBSD: usr_sbin_lpd,v 1.8 2014/11/22 18:15:41 deraadt Exp $
# #
# Policy for lpd. # Policy for lpd.
# This policy works for the default configuration of lpd. # This policy works for the default configuration of lpd.
@ -21,7 +21,6 @@ Policy: /usr/sbin/lpd, Emulation: native
native-fchmod: permit native-fchmod: permit
native-fcntl: permit native-fcntl: permit
native-fork: permit native-fork: permit
native-fsread: filename eq "/dev/arandom" then permit
native-fsread: filename eq "/etc/hosts" then permit native-fsread: filename eq "/etc/hosts" then permit
native-fsread: filename eq "/etc/malloc.conf" then permit native-fsread: filename eq "/etc/malloc.conf" then permit
native-fsread: filename eq "/etc/printcap" then permit native-fsread: filename eq "/etc/printcap" then permit


Loading…
Cancel
Save