Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 1999 15:50:50 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern sys_pipe.c
Message-ID:  <199902042350.PAA09647@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      1999/02/04 15:50:49 PST

  Modified files:
    sys/kern             sys_pipe.c 
  Log:
      Fix race in pipe read code whereby a blocked lock can allow another
      process to sneak in and write to or close the pipe.  The read code
      enters a 'piperd' state after doing the lock operation without
      checking to see if the state changed, which can cause the process
      to wait forever.
  
      The code has also been documented more.
  
  Revision  Changes    Path
  1.50      +39 -20    src/sys/kern/sys_pipe.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?199902042350.PAA09647>