freebsd-dev/sys/cam/scsi
Mark Johnston fc795c25d4 Remove the CDIOCREADSUBCHANNEL_SYSSPACE ioctl.
This was added for emulation of Linux's CDROMSUBCHNL, but allows
users with read access to a cd(4) device to overwrite kernel memory
provided that the driver detects some media present.

Reimplement CDROMSUBCHNL by bouncing the data from CDIOCREADSUBCHANNEL
through the linux_cdrom_subchnl structure passed from userspace.

admbugs:	768
Reported by:	Alex Fortune
Security:	CVE-2019-5602
Security:	FreeBSD-SA-19:11.cd_ioctl
2019-07-03 00:10:01 +00:00
..
scsi_all.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_all.h Report DIF protection type the disk is formatted with. 2019-04-22 01:08:14 +00:00
scsi_cd.c Remove the CDIOCREADSUBCHANNEL_SYSSPACE ioctl. 2019-07-03 00:10:01 +00:00
scsi_cd.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_ch.c cam_periph_acquire() now returns an errno. 2018-03-19 20:19:00 +00:00
scsi_ch.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_da.c Replay r349342 by imp accidentally reverted by r349352 2019-06-25 06:14:31 +00:00
scsi_da.h Improve support for informational exceptions. 2016-12-19 10:25:47 +00:00
scsi_enc_internal.h Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc_safte.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc_ses.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc.c Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_enc.h Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_iu.h
scsi_message.h Add partial support for QUERY TMF to CAM and isp(4). 2015-10-23 18:34:18 +00:00
scsi_pass.c Drop periph lock around cam_periph_unmapmem(). 2019-05-06 19:08:03 +00:00
scsi_pass.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_pt.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
scsi_pt.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_sa.c cam_periph_runccb() changed several years ago to overwrite the ccb callback 2018-05-01 20:09:29 +00:00
scsi_sa.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_ses.h Improve AHCI Enclosure Management and SES interoperation. 2019-06-23 19:05:01 +00:00
scsi_sg.c Drop periph lock around cam_periph_unmapmem(). 2019-05-06 19:08:03 +00:00
scsi_sg.h
scsi_targ_bh.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_target.c Define xpt_path_inq. 2017-12-06 23:05:22 +00:00
scsi_targetio.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_xpt.c Minor white space changes. 2019-06-11 20:48:19 +00:00
smp_all.c sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
smp_all.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00