diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-11-30 19:28:38 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-11-30 19:28:38 +0000 |
commit | fb3934f07db6d15ace429d030550efe0a66658b1 (patch) | |
tree | f902513cd88dffa058a70dbede96e48fd0f8d4cc /regress | |
parent | e61649205f107102f4eead2d28193c945c02b7ee (diff) |
No longer require write permission for read-only SCSI commands
submitted via ioctl. Eliminate scsi_do_safeioctl(), thus permitting
ch, ss and st devices to submit SCSI commands. Return EPERM rather
than EBADF when permissions are inadequate.
Allows more programs to run with fewer permissions. Problem diagnosed
by Nikolay Sturm in mplayer port.
Tested by Nikolay, ok deraadt@.
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions