summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-10-10 20:15:23 +0000
committerderaadt <deraadt@openbsd.org>2008-10-10 20:15:23 +0000
commitba2ecd810dd6e8b5f6afefaec2ea86b0b5dc365f (patch)
tree88e104f54d8556006c513e494a7e17807141ad38
parentprandom dies (diff)
downloadwireguard-openbsd-ba2ecd810dd6e8b5f6afefaec2ea86b0b5dc365f.tar.xz
wireguard-openbsd-ba2ecd810dd6e8b5f6afefaec2ea86b0b5dc365f.zip
skip making /dev/prandom. as a side effect, /dev/arandom becomes minor 3.
but that is OK because both minor 3 and 4 now do the same thing. eventually, 2 releases from now, everyone will have forgotten about minor 4 and we can delete the support code for it from sys/dev/rnd.c various versions of this looked at by millert and todd
-rw-r--r--etc/MAKEDEV.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common
index e4419eb0f6e..cbb054b7cac 100644
--- a/etc/MAKEDEV.common
+++ b/etc/MAKEDEV.common
@@ -1,4 +1,4 @@
-vers(a, {-$OpenBSD: MAKEDEV.common,v 1.39 2008/07/14 16:22:23 miod Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.common,v 1.40 2008/10/10 20:15:23 deraadt Exp $-})dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
dnl
@@ -510,7 +510,7 @@ _cdev(lkm, lkm, {-major_lkm_c-}, 0, 640, _lkm)dnl
__devitem(tun, tun*, Network tunnel driver)dnl
__devitem(rnd, *random, In-kernel random data source,random)dnl
_mkdev(rnd, *random, {-n=0
- for pre in " " s u p a
+ for pre in " " s u a
do
M ${pre}random c major_rnd_c $n 644
n=Add($n, 1)