From fb90f7b3aa5580aa1198c0130880a7fa480fe172 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Thu, 14 Sep 2000 17:48:47 +0000 Subject: [PATCH] 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. --- etc/MAKEDEV | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 086c91b8e4c9..418a4fa704d6 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -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