OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Kenneth R Westerback (krwcvs.openbsd.org)
Date: Thu Dec 23 2010 - 20:45:33 CST


CVSROOT: /cvs
Module name: src
Changes by: krwcvs.openbsd.org 2010/12/23 19:45:33

Modified files:
        sys/scsi : scsi_all.h scsi_tape.h scsiconf.h sd.c st.c

Log message:
Have sd(4) devices check for and respect read-only information the
way st(4) does. Have both decline to open read-only devices for
anything but read-only access.

Suggestion to fail opens rather than individual i/o's from deraadt.

Problem USB device found and donated by chefren, who also tested
diffs. Thanks!

ok dlg marco