Date: Sat, 17 Jan 1998 16:24:46 -0800 From: David Greenman <dg@root.com> To: Paul Traina <pst@juniper.net> Cc: bde@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: isdisk() kludge in kernel Message-ID: <199801180024.QAA16926@implode.root.com> In-Reply-To: Your message of "Sat, 17 Jan 1998 12:38:09 PST." <199801172038.MAA24817@red.juniper.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>I was looking at isdisk and wanted to hurl chunks. > >This is used by spec_open to determine if we should be allowed to open a >disk device when securelevel >= 1. > >I'd like to propose changing spec_open to simply NEVER allowing the open of >a block device, or character device, if a character device has a block >device associated with it and eliminate isdisk() in kern_conf entirely. > >Objections? (p.s. I found this in 2.2.5, haven't checked 3.0 yet to see if >it was fixed, if it was, sorry for bothering you). I must be too tired or something: the above makes little sense to me. We have block and character devices for disks for a reason. They are mutually exclusive and both are required for the system to work. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801180024.QAA16926>