Make the [u]random device's permissions match those in the matching
make_dev() call. At the moment, it is an error for anyone but root to write to this device (EPERM), and the permissions don't suggest that. Soon, however, anyone will be able to write here, but only root will cause an implicit reseed.
This commit is contained in:
parent
9ed55d1192
commit
fb90f7b3aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65845
@ -317,7 +317,7 @@ std)
|
||||
mknod kmem c 2 1 root:kmem; chmod 640 kmem
|
||||
mknod mem c 2 0 root:kmem; chmod 640 mem
|
||||
mknod null c 2 2; chmod 666 null
|
||||
mknod random c 2 3; chmod 644 random
|
||||
mknod random c 2 3; chmod 666 random
|
||||
ln -f random urandom
|
||||
mknod zero c 2 12; chmod 666 zero
|
||||
mknod io c 2 14; chmod 600 io
|
||||
|
Loading…
Reference in New Issue
Block a user