Date: Tue, 15 Sep 1998 17:11:54 -0700 (PDT) From: Kenneth Merry <ken@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/etc/etc.i386 MAKEDEV src/sys/cam cam_xpt.c src/sys/cam/scsi scsi_pass.c Message-ID: <199809160011.RAA07389@freefall.freebsd.org>
index | next in thread | raw e-mail
ken 1998/09/15 17:11:54 PDT
Modified files:
etc/etc.i386 MAKEDEV
Log:
Change the permissions for the transport layer (xpt) and passthrough (pass)
devices from 644 to 600.
Reviewed by: imp, gibbs
Revision Changes Path
1.172 +3 -5 src/etc/etc.i386/MAKEDEV
Modified files:
sys/cam cam_xpt.c
sys/cam/scsi scsi_pass.c
Log:
Check to make sure that this device is opened read-write, not just read
only. Previously, if the device was chmoded 644, someone could open it
with the O_RDONLY flag and issue any ioctl to the device.
Reviewed by: imp, gibbs
Revision Changes Path
1.3 +7 -1 src/sys/cam/cam_xpt.c
1.2 +7 -1 src/sys/cam/scsi/scsi_pass.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809160011.RAA07389>
