diff options
author | ken <ken@FreeBSD.org> | 1998-11-22 23:44:47 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1998-11-22 23:44:47 +0000 |
commit | 7db1d5d9598a5047cf40b7cd3e796316f31fb862 (patch) | |
tree | aaad8d95d4e3fc660777729c9d57db90e8e67156 /sys/cam/scsi/scsi_ch.h | |
parent | eb4cacd5811d8cc0ba8272b8f34e894b6326a222 (diff) | |
download | FreeBSD-src-7db1d5d9598a5047cf40b7cd3e796316f31fb862.zip FreeBSD-src-7db1d5d9598a5047cf40b7cd3e796316f31fb862.tar.gz |
Fix a few problems that Bruce noticed about a month ago, and fix oup one
other problem.
- Hold onto splsoftcam() in the peripheral driver open routines until we
have locked the periph. This eliminates a race condition.
- Disallow opening the pass driver when securelevel > 1.
- If a user tries to open the pass driver with O_NONBLOCK set, return
EINVAL instead of ENODEV. (noticed by gibbs)
Diffstat (limited to 'sys/cam/scsi/scsi_ch.h')
0 files changed, 0 insertions, 0 deletions