Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2002 12:14:27 -0700 (PDT)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_aio.c
Message-ID:  <200208051914.g75JERuX051359@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2002/08/05 12:14:27 PDT

  Modified files:
    sys/kern             vfs_aio.c 
  Log:
   o The introduction of kevent() broke lio_listio(): _aio_aqueue() thought
     that LIO_READ and LIO_WRITE were requests for kevent()-based
     notification of completion.  Modify _aio_aqueue() to recognize LIO_READ
     and LIO_WRITE.
  
  Notes: (1) The patch provided by the PR perpetuates a second bug in this
  code, a direct access to user-space memory.  This change fixes that bug
  as well. (2) This change is to code that implements a deprecated interface.
  It should probably be removed after an MFC.
  
  PR:             kern/39556
  
  Revision  Changes    Path
  1.133     +6 -6      src/sys/kern/vfs_aio.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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