Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2006 23:27:22 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <200603182327.k2INRMJR030740@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
csjp        2006-03-18 23:27:22 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c 
  Log:
  Back out fd optimization introduced in revision 1.280 as it appears to be
  really breaking things. Simple "close(0); dup(fd)" does not return descriptor
  "0" in some cases. Further, this change also breaks some MAC interactions with
  mac_execve_will_transition().  Under certain circumstances, fdcheckstd() can
  be called in execve(2) causing an assertion that checks to make sure that
  stdin, stdout and stderr reside at indexes 0, 1 and 2 in the process fd table
  to fail, resulting in a kernel panic when INVARIANTS is on.
  
  This should also kill the "dup(2) regression on 6.x" show stopper item on the
  6.1-RELEASE TODO list.
  
  This is a RELENG_6 candidate.
  
  PR:             kern/87208
  Silence from:   des
  MFC after:      1 week
  
  Revision  Changes    Path
  1.292     +2 -4      src/sys/kern/kern_descrip.c



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