cvs commit: src/sys/compat/linux linux_ioctl.c src/sys/cam/scsi scsi_cd.c src/sys/dev/ata atapi-cd.c src/sys/dev/mcd mcd.c src/sys/dev/scd scd.c src/sys/sys cdio.h

Maxim Sobolev sobomax at FreeBSD.org
Sun Jan 30 00:12:38 PST 2005


sobomax     2005-01-30 08:12:37 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_ioctl.c 
    sys/cam/scsi         scsi_cd.c 
    sys/dev/ata          atapi-cd.c 
    sys/dev/mcd          mcd.c 
    sys/dev/scd          scd.c 
    sys/sys              cdio.h 
  Log:
  Boot away another stackgap (one of the lest ones in linuxlator/i386) by
  providing special version of CDIOCREADSUBCHANNEL ioctl(), which assumes that
  result has to be placed into kernel space not user space. In the long run
  more generic solution has to be designed WRT emulating various ioctl()s
  that operate on userspace buffers, but right now there is only one such
  ioctl() is emulated, so that it makes little sense.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.92      +11 -3     src/sys/cam/scsi/scsi_cd.c
  1.124     +13 -14    src/sys/compat/linux/linux_ioctl.c
  1.173     +11 -2     src/sys/dev/ata/atapi-cd.c
  1.145     +10 -4     src/sys/dev/mcd/mcd.c
  1.84      +11 -5     src/sys/dev/scd/scd.c
  1.26      +7 -0      src/sys/sys/cdio.h


More information about the cvs-src mailing list