Searched hist:87208 (Results 1 - 8 of 8) sorted by relevance

/freebsd-9.3-release/usr.bin/at/
H A Dperm.hdiff 87208 Sun Dec 02 10:26:18 MST 2001 markm WARNS=2 fixup.
H A Dpanic.hdiff 87208 Sun Dec 02 10:26:18 MST 2001 markm WARNS=2 fixup.
H A DMakefilediff 87208 Sun Dec 02 10:26:18 MST 2001 markm WARNS=2 fixup.
H A Dperm.cdiff 87208 Sun Dec 02 10:26:18 MST 2001 markm WARNS=2 fixup.
H A Dpanic.cdiff 87208 Sun Dec 02 10:26:18 MST 2001 markm WARNS=2 fixup.
H A Dat.cdiff 87208 Sun Dec 02 10:26:18 MST 2001 markm WARNS=2 fixup.
H A Dparsetime.cdiff 87208 Sun Dec 02 10:26:18 MST 2001 markm WARNS=2 fixup.
/freebsd-9.3-release/sys/kern/
H A Dkern_descrip.cdiff 156900 Sun Mar 19 22:13:47 MST 2006 csjp Restore fd optimization with a few minor tweaks, to quote tegge:

"fdinit() fails to initialize newfdp->fd_fd.fd_lastfile to -1. This breaks
fdcopy() which will incorrectly set newfdp->fd_freefile to 1 if no files are
open and the last file descriptor marked as unused for fdp was 0. This later
causes descriptor 0 to be unavailable in newfdp when the optimization is
enabled.

When the last file descriptor previously marked as used is nonzero and marked
as unused, fdunused() incorrectly sets fdp->fd_lastfile to fd - 1 due to
fd_last_used() returning (size - 1). This hides the problem that breaks the
optimization."

This allows us to keep the optimization, while un-breaking it.

This is a RELENG_6 candidate.

PR: kern/87208
MFC after: 1 week
Submitted by: tegge
diff 156861 Sat Mar 18 21:27:21 MST 2006 csjp 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

Completed in 195 milliseconds