Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2005 08:12:37 +0000 (UTC)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200501300812.j0U8CbRY099748@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501300812.j0U8CbRY099748>