Date: Mon, 7 Oct 1996 07:12:27 +1000 From: Bruce Evans <bde@zeta.org.au> To: freebsd-current@freebsd.org, j@uriah.heep.sax.de Subject: Re: secure level diffs to kern_mib.c, LINT Message-ID: <199610062112.HAA04241@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> They already deny service if they are opened at securelevel 2, since >> they are disk devices, and disk devices can't be opened for writing at >> securelevel 2, and they require write permission for all ioctls. > >Not all SCSI control devices are disk devices. However, all of them >are able to cause the same degree of damage to a SCSI bus (basically), >so all of them must fall under the same restrictions. I think they are all disk devices. Disk devices are by definition those that return nonzero for isdisk(). The control devices have the same major number as devices that really are disks, so they are classified as disks. SCSI cd devices cannot be opened for writing at securelevel 2 although they can't be written to anyway. However, there may be some interesting ioctls that can be done if the devices are open for writing. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610062112.HAA04241>