Browse Source

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
OPENBSD_4_5
deraadt 15 years ago
parent
commit
da7a096f90
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/MAKEDEV.common

+ 2
- 2
src/etc/MAKEDEV.common View File

@ -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)


Loading…
Cancel
Save