Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 1998 12:38:09 -0800 (PST)
From:      Paul Traina <pst@juniper.net>
To:        bde@FreeBSD.ORG, dg@FreeBSD.ORG
Cc:        hackers@FreeBSD.ORG
Subject:   isdisk() kludge in kernel
Message-ID:  <199801172038.MAA24817@red.juniper.net>

index | next in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801172038.MAA24817>