Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 14:15:04 -0700 (PDT)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern sys_pipe.c
Message-ID:  <200210142115.g9ELF4Pv088228@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2002/10/14 14:15:04 PDT

  Modified files:
    sys/kern             sys_pipe.c 
  Log:
  Remove a KASSERT I added in 1.73 to catch uninitialized pipes.
  
  It must be removed because it is done without the pipe being locked
  via pipelock() and therefore is vulnerable to races with pipespace()
  erroneously triggering it by temporarily zero'ing out the structure
  backing the pipe.
  
  It looks as if this assertion is not needed because all manipulation
  of the data changed by pipespace() _is_ protected by pipelock().
  
  Reported by: kris, mckusick
  
  Revision  Changes    Path
  1.124     +0 -2      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?200210142115.g9ELF4Pv088228>