diff options
author | csjp <csjp@FreeBSD.org> | 2006-03-18 23:27:21 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2006-03-18 23:27:21 +0000 |
commit | 6b22256534eec8a346cc20c6006473e1d4e85d80 (patch) | |
tree | 139432e83112eeb7680ca565ad304149ccfc22b8 /sys/netinet6/in6.h | |
parent | 5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba (diff) | |
download | FreeBSD-src-6b22256534eec8a346cc20c6006473e1d4e85d80.zip FreeBSD-src-6b22256534eec8a346cc20c6006473e1d4e85d80.tar.gz |
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
Diffstat (limited to 'sys/netinet6/in6.h')
0 files changed, 0 insertions, 0 deletions