cvs commit: src/sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c src/sys/sys ktrace.h src/usr.bin/kdump kdump.1 kdump.c mksubr src/usr.bin/ktrace ktrace.1 ktrace.h subr.c

2008-08-12 Thread Dag-Erling Smorgrav
des 2008-08-12 17:22:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c sys/sys ktrace.h usr.bin/kdumpkdump.1 kdump.c mksu

Re: cvs commit: src/sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c src/sys/sys ktrace.h src/usr.bin/kdump kdump.1 kdump.c mksubr src/usr.bin/ktrace ktrace.1 ktrace.h subr.c

2008-08-12 Thread Dag-Erling Smørgrav
Peter Jeremy <[EMAIL PROTECTED]> writes: > Are you going to MFC this? I've back-ported the code and it works > well. Working on it. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] ___ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/li

Re: cvs commit: src/sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c src/sys/sys ktrace.h src/usr.bin/kdump kdump.1 kdump.c mksubr src/usr.bin/ktrace ktrace.1 ktrace.h subr.c

2008-08-10 Thread Peter Jeremy
Hi Dag-Erling, On 2008-Feb-23 01:01:49 +, Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote: > Log: > This patch adds a new ktrace(2) record type, KTR_STRUCT, whose payload > consists of the null-terminated name and the contents of any structure > you wish to record. A new ktrstruct() functio

cvs commit: src/sys/kern kern_descrip.c

2008-08-09 Thread Ed Schouten
ed 2008-08-09 12:42:12 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: SVN rev 181465 on 2008-08-09 12:42:12Z by ed Remove unneeded D_NEEDGIANT from /dev/fd/{0,1,2}. There is no reason the fdopen() routine needs Giant. It only se

cvs commit: src/sys/kern kern_descrip.c uipc_sem.c uipc_shm.c src/sys/modules/sem Makefile src/sys/security/mac mac_framework.h mac_policy.h mac_posix_sem.c src/sys/security/mac_biba mac_biba.c src/sy

2008-06-26 Thread John Baldwin
jhb 2008-06-27 05:39:04 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c uipc_sem.c uipc_shm.c sys/modules/sem Makefile sys/security/mac mac_framework.h mac_policy.h mac_posix_sem.c sys/security/mac_bi

Re: cvs commit: src/sys/kern kern_descrip.c

2008-05-29 Thread Bruce Evans
On Thu, 29 May 2008, Ed Schouten wrote: * Robert Watson <[EMAIL PROTECTED]> wrote: This sounds like a good candidate for a regression test -- do we have a dup/dup2/F_DUPFD/F_DUP2FD test? If not, perhaps we should, in light of the opportunity for further bugs and regressions. It looks like we

Re: cvs commit: src/sys/kern kern_descrip.c

2008-05-29 Thread Antoine Brodin
On Thu, May 29, 2008 at 10:24 AM, Ed Schouten <[EMAIL PROTECTED]> wrote: > * Robert Watson <[EMAIL PROTECTED]> wrote: >> >> On Wed, 28 May 2008, Ed Schouten wrote: >> >>> Remove redundant checks from fcntl()'s F_DUPFD. >>> >>> Right now we perform some of the checks inside the fcntl()'s F_DUPFD >

Re: cvs commit: src/sys/kern kern_descrip.c

2008-05-29 Thread Ed Schouten
* Robert Watson <[EMAIL PROTECTED]> wrote: > > On Wed, 28 May 2008, Ed Schouten wrote: > >> Remove redundant checks from fcntl()'s F_DUPFD. >> >> Right now we perform some of the checks inside the fcntl()'s F_DUPFD >> operation twice. We first validate the `fd' argument. When finished, >> we va

Re: cvs commit: src/sys/kern kern_descrip.c

2008-05-29 Thread Robert Watson
On Wed, 28 May 2008, Ed Schouten wrote: Remove redundant checks from fcntl()'s F_DUPFD. Right now we perform some of the checks inside the fcntl()'s F_DUPFD operation twice. We first validate the `fd' argument. When finished, we validate the `arg' argument. These checks are also performed

cvs commit: src/sys/kern kern_descrip.c

2008-05-28 Thread Ed Schouten
ed 2008-05-28 20:25:19 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Remove redundant checks from fcntl()'s F_DUPFD. Right now we perform some of the checks inside the fcntl()'s F_DUPFD operation twice. We first validate the `fd'

Re: cvs commit: src/sys/kern kern_descrip.c src/sys/sys file.h

2008-05-28 Thread John Baldwin
On Sunday 25 May 2008 10:57:43 am Attilio Rao wrote: > attilio 2008-05-25 14:57:43 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_descrip.c > sys/sys file.h > Log: > Replace direct atomic operation for the file refcount witht the

cvs commit: src/sys/kern kern_descrip.c src/sys/sys file.h

2008-05-25 Thread Attilio Rao
attilio 2008-05-25 14:57:43 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c sys/sys file.h Log: Replace direct atomic operation for the file refcount witht the refcount interface. It also introduces the correct usage of memory

cvs commit: src/sys/kern kern_descrip.c

2008-05-16 Thread Kris Kennaway
kris2008-05-16 10:08:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/kern kern_descrip.c Log: MFC 1.330, 1.331: fdhold can return NULL, so add the one remaining missing check for this condition. Revision ChangesPath

cvs commit: src/sys/kern kern_descrip.c

2008-04-26 Thread Kris Kennaway
kris2008-04-26 13:16:55 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: * Correct a mis-merge that leaked the PROC_LOCK [1] * Return ENOENT on error instead of 0 [2] Submitted by: rdivacky [1], kib [2] Revision ChangesPath

Re: cvs commit: src/sys/kern kern_descrip.c

2008-04-26 Thread Kris Kennaway
On Fri, Apr 25, 2008 at 03:04:59PM +0200, Roman Divacky wrote: > On Thu, Apr 24, 2008 at 10:08:36PM +, Kris Kennaway wrote: > > kris2008-04-24 22:08:36 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_descrip.c > > Log: > > fdhold c

Re: cvs commit: src/sys/kern kern_descrip.c

2008-04-25 Thread Roman Divacky
On Thu, Apr 24, 2008 at 10:08:36PM +, Kris Kennaway wrote: > kris2008-04-24 22:08:36 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_descrip.c > Log: > fdhold can return NULL, so add the one remaining missing check for this > condition.

cvs commit: src/sys/kern kern_descrip.c

2008-04-24 Thread Kris Kennaway
kris2008-04-24 22:08:36 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: fdhold can return NULL, so add the one remaining missing check for this condition. Reviewed by:attilio MFC after: 1 week Revision ChangesPat

cvs commit: src/sys/kern kern_descrip.c src/sys/sys user.h src/usr.bin/procstat procstat_files.c

2008-04-11 Thread Robert Watson
rwatson 2008-04-11 09:09:28 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/kern kern_descrip.c sys/sys user.h usr.bin/procstat procstat_files.c Log: Merge kern_descrip.c:1.322, user.h:1.74, procstat_files.c:1.5:

cvs commit: src/sys/kern kern_descrip.c kern_proc.c src/sys/sys sysctl.h user.h

2008-04-10 Thread Robert Watson
rwatson 2008-04-10 20:54:02 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/kern kern_descrip.c kern_proc.c sys/sys sysctl.h user.h Log: Merge kern_descrip.c:1.314, kern_proc.c:1.256, sysctl.h:1.153, user.h:1.71 from HEAD t

cvs commit: src/sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c src/sys/sys ktrace.h src/usr.bin/kdump kdump.1 kdump.c mksubr src/usr.bin/ktrace ktrace.1 ktrace.h subr.c

2008-02-22 Thread Dag-Erling Smorgrav
des 2008-02-23 01:01:49 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c kern_ktrace.c uipc_syscalls.c vfs_syscalls.c sys/sys ktrace.h usr.bin/kdumpkdump.1 kdump.c mksubr usr.bin/ktrace

cvs commit: src/sys/kern kern_descrip.c src/sys/netinet6 ipcomp_input.c

2008-02-14 Thread Simon L. Nielsen
simon 2008-02-14 11:49:39 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/kern kern_descrip.c sys/netinet6 ipcomp_input.c Log: Fix sendfile(2) write-only file permission bypass. [08:03.sendfile] Fix IPsec null pointer deref

cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c

2008-02-14 Thread Simon L. Nielsen
simon 2008-02-14 11:46:08 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile RevisionChanges

cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c

2008-02-14 Thread Simon L. Nielsen
simon 2008-02-14 11:45:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Revision ChangesP

cvs commit: src/sys/kern kern_descrip.c uipc_syscalls.c

2008-02-14 Thread Simon L. Nielsen
simon 2008-02-14 11:44:31 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c uipc_syscalls.c Log: Fix sendfile(2) write-only file permission bypass. Security: FreeBSD-SA-08:03.sendfile Submitted by: kib Revision ChangesPath

cvs commit: src/sys/kern kern_descrip.c src/sys/sys param.h user.h src/usr.bin/procstat procstat_files.c

2008-02-08 Thread Joe Marcus Clarke
marcus 2008-02-09 05:16:26 UTC FreeBSD src repository (doc,ports committer) Modified files: sys/kern kern_descrip.c sys/sys user.h param.h usr.bin/procstat procstat_files.c Log: Add support for displaying a process' current working director

cvs commit: src/sys/kern kern_descrip.c

2008-01-02 Thread Jeff Roberson
jeff2008-01-03 01:26:59 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: - In sysctl_kern_file skip fdps with negative lastfiles. This can happen if there are no files open. Accounting for these can eventually return a negative

cvs commit: src/sys/kern kern_descrip.c kern_proc.c src/sys/sys sysctl.h user.h

2007-12-02 Thread Robert Watson
rwatson 2007-12-02 10:10:27 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c kern_proc.c sys/sys sysctl.h user.h Log: Add two new sysctls in support of the forthcoming procstat(1) to support its -f and -v arguments: kern.proc

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-25 Thread Robert Watson
On Tue, 24 Jul 2007, Jeremie Le Hen wrote: On Mon, Jul 23, 2007 at 05:38:35PM -0700, Julian Elischer wrote: I think that is the wrong question.. the question is "why do we drop off after 8?" which I'm sure Jeff is already working on. Actually since the workbench has been run on an 8-core

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-24 Thread Jeff Roberson
On Tue, 24 Jul 2007, Jeremie Le Hen wrote: On Mon, Jul 23, 2007 at 05:38:35PM -0700, Julian Elischer wrote: I think that is the wrong question.. the question is "why do we drop off after 8?" which I'm sure Jeff is already working on. Actually since the workbench has been run on an 8-core a

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-24 Thread Julian Elischer
Jeremie Le Hen wrote: On Mon, Jul 23, 2007 at 05:38:35PM -0700, Julian Elischer wrote: I think that is the wrong question.. the question is "why do we drop off after 8?" which I'm sure Jeff is already working on. Actually since the workbench has been run on an 8-core amd64 and that both Lin

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-24 Thread Jeremie Le Hen
On Mon, Jul 23, 2007 at 05:38:35PM -0700, Julian Elischer wrote: > I think that is the wrong question.. > the question is "why do we drop off after 8?" > which I'm sure Jeff is already working on. Actually since the workbench has been run on an 8-core amd64 and that both Linux and FreeBSD drop

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-23 Thread Julian Elischer
Jeremie Le Hen wrote: Hi Jeff, On Tue, Jul 03, 2007 at 02:27:51PM -0700, Jeff Roberson wrote: For the curious, these last two patches make a substantial improvement to mysql write performance on my 8way opteron: http://people.freebsd.org/~jeff/mysqlwrite.png The green line is without and

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-23 Thread Jeff Roberson
On Mon, 23 Jul 2007, Attilio Rao wrote: 2007/7/23, Jeremie Le Hen <[EMAIL PROTECTED]>: Hi Jeff, On Tue, Jul 03, 2007 at 02:27:51PM -0700, Jeff Roberson wrote: > For the curious, these last two patches make a substantial improvement to > mysql write performance on my 8way opteron: > > htt

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-23 Thread Attilio Rao
2007/7/23, Jeremie Le Hen <[EMAIL PROTECTED]>: Hi Jeff, On Tue, Jul 03, 2007 at 02:27:51PM -0700, Jeff Roberson wrote: > For the curious, these last two patches make a substantial improvement to > mysql write performance on my 8way opteron: > > http://people.freebsd.org/~jeff/mysqlwrite.png >

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-23 Thread Jeremie Le Hen
Hi Jeff, On Tue, Jul 03, 2007 at 02:27:51PM -0700, Jeff Roberson wrote: > For the curious, these last two patches make a substantial improvement to > mysql write performance on my 8way opteron: > > http://people.freebsd.org/~jeff/mysqlwrite.png > > The green line is without and the blue lin

cvs commit: src/sys/kern kern_descrip.c src/sys/sys syscallsubr.h

2007-07-08 Thread Alexander Leidinger
netchild2007-07-08 08:44:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c sys/sys syscallsubr.h Log: MFC (3 of X): - In preparation of further linuxulator fixes MFC kern_descrip.c rev 1.296 and

Re: cvs commit: src/sys/kern kern_descrip.c

2007-07-03 Thread Jeff Roberson
For the curious, these last two patches make a substantial improvement to mysql write performance on my 8way opteron: http://people.freebsd.org/~jeff/mysqlwrite.png The green line is without and the blue line is with. Thanks, Jeff On Tue, 3 Jul 2007, Jeff Roberson wrote: jeff2007-07

cvs commit: src/sys/kern kern_descrip.c

2007-07-03 Thread Jeff Roberson
jeff2007-07-03 21:26:07 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: - Use explicit locking in the various fcntl case statements so that we can acquire shared filedescriptor locks in the appropriate cases. - Remove Giant from ca

cvs commit: src/sys/kern kern_descrip.c kern_fork.c kern_priv.c src/sys/sys priv.h

2007-06-16 Thread Robert Watson
rwatson 2007-06-16 23:41:43 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c kern_fork.c kern_priv.c sys/sys priv.h Log: Rather than passing SUSER_RUID into priv_check_cred() to specify when a privilege is checked against the real

cvs commit: src/sys/kern kern_descrip.c

2007-05-23 Thread John Baldwin
jhb 2007-05-23 20:36:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: MFC 1.308: Use kern_open() to open /dev/null in fdcheckstd(). RevisionChangesPath 1.279.2.13 +9 -42 src/sys/kern/kern_desc

cvs commit: src/sys/kern kern_descrip.c

2007-05-23 Thread John Baldwin
jhb 2007-05-23 20:29:41 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: Revert previous commit, was part of a different change. Reported by:kib RevisionChangesPath 1.279.2.12 +4 -2 src

cvs commit: src/sys/kern kern_descrip.c vfs_syscalls.c src/sys/sys filedesc.h

2007-05-04 Thread Konstantin Belousov
kib 2007-05-04 14:23:29 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c vfs_syscalls.c sys/sys filedesc.h Log: Mark the filedescriptor table entries with VOP_OPEN being performed for them as UF_OPENING. Disable closing of tha

cvs commit: src/sys/kern kern_descrip.c

2007-04-26 Thread John Baldwin
jhb 2007-04-26 18:01:19 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Avoid a lot of code duplication by using kern_open() to open /dev/null in fdcheckstd() instead of a stripped down version of kern_open()'s code. MFC after:

cvs commit: src/sys/kern kern_descrip.c

2007-03-15 Thread John Baldwin
jhb 2007-03-15 21:19:21 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Just use 'fdrop()' instead of 'FILE_LOCK(); fdrop_locked()' in dupfdopen(). While I'm at it, move the second fdrop() out from under the filedesc lock. Revisio

cvs commit: src/sys/kern kern_descrip.c

2007-02-15 Thread Robert Watson
rwatson 2007-02-15 10:55:43 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Catch up file descriptor printing function in DDB to the addition of kqueues and POSIX message queues. Revision ChangesPath 1.303 +4 -0 src/sys/k

cvs commit: src/sys/kern kern_descrip.c

2007-02-15 Thread Robert Watson
rwatson 2007-02-15 10:50:48 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Break file descriptor printing logic out of db_show_files() into db_print_file(), and add a new "show file " DDB command, which can be used to print out file descri

Re: cvs commit: src/sys/kern kern_descrip.c uipc_usrreq.c src/sys/sys file.h

2007-01-12 Thread Rong-en Fan
On 1/13/07, John Baldwin <[EMAIL PROTECTED]> wrote: jhb 2007-01-12 16:21:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c uipc_usrreq.c sys/sys file.h Log: MFC: Close a race between UNIX domain pcb g

cvs commit: src/sys/kern kern_descrip.c uipc_usrreq.c src/sys/sys file.h

2007-01-12 Thread John Baldwin
jhb 2007-01-12 16:21:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c uipc_usrreq.c sys/sys file.h Log: MFC: Close a race between UNIX domain pcb garbage collection (unp_gc()) and file descriptor t

cvs commit: src/sys/kern kern_descrip.c uipc_usrreq.c src/sys/sys file.h unpcb.h

2007-01-05 Thread John Baldwin
jhb 2007-01-05 19:59:46 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c uipc_usrreq.c sys/sys file.h unpcb.h Log: - Close a race between enumerating UNIX domain socket pcb structures via sysctl and socket teardown by adding

cvs commit: src/sys/kern kern_descrip.c

2006-11-10 Thread Dag-Erling Smorgrav
des 2006-11-11 00:42:08 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/kern kern_descrip.c Log: MFC: (1.293) fdalloc() optimization. RevisionChangesPath 1.243.2.10 +5 -2 src/sys/kern/kern_descrip.c ___

cvs commit: src/sys/kern kern_descrip.c

2006-09-29 Thread John-Mark Gurney
jmg 2006-09-29 18:30:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: MFC: v1.298 kern_descript.c > return EBADF instead of successfully attaching (and then panicing) when > an fd is dieing.. Approve

cvs commit: src/sys/kern kern_descrip.c

2006-09-23 Thread John-Mark Gurney
jmg 2006-09-24 02:29:53 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: return EBADF instead of successfully attaching (and then panicing) when an fd is dieing.. Convinced by: jhb PR: 103127 Revision Changes

cvs commit: src/sys/kern kern_descrip.c

2006-09-04 Thread Pawel Jakub Dawidek
pjd 2006-09-04 10:30:09 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: MFC:sys/kern/kern_descrip.c 1.295 Compress direct cr_ruid comparsion and jailed() call to suser_cred(9). Reviewed by:rwatson

cvs commit: src/sys/kern kern_descrip.c kern_exit.c kern_fork.c kern_prot.c

2006-09-02 Thread Robert Watson
rwatson 2006-09-02 17:41:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c kern_exit.c kern_fork.c kern_prot.c Log: Merge kern_descrip.c:1.291, kern_exit.c:1.280, kern_fork.c:1.255, kern_prot.c:

cvs commit: src/sys/kern kern_descrip.c

2006-07-21 Thread John Baldwin
jhb 2006-07-21 20:24:01 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Add a comment to explain what fdclose() does and what it's purpose is since the subtlety eluded me when I looked at it last week. Revision ChangesPath 1.2

cvs commit: src/sys/kern kern_descrip.c

2006-06-27 Thread Pawel Jakub Dawidek
pjd 2006-06-27 11:32:09 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Compress direct cr_ruid comparsion and jailed() call to suser_cred(9). Reviewed by:rwatson Revision ChangesPath 1.295 +4 -2 src/sys/kern/k

cvs commit: src/sys/kern kern_descrip.c

2006-04-01 Thread Robert Watson
rwatson 2006-04-01 11:09:54 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Mark fgetsock() and fputsock() as depcrecated: callers should rely on the file descriptor reference, rather than paying additional lock operations to acquire a sock

cvs commit: src/sys/kern kern_descrip.c

2006-03-22 Thread Christian S.J. Peron
csjp2006-03-23 04:07:01 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: MFC descriptor fixes in hopes of killing the "dup(2) regression on 6.x" show stopper item on the 6.1-RELEASE TODO list. Approved by:

Re: cvs commit: src/sys/kern kern_descrip.c

2006-03-19 Thread Gleb Smirnoff
On Sat, Mar 18, 2006 at 11:27:22PM +, Christian S.J. Peron wrote: C> csjp2006-03-18 23:27:22 UTC C> C> FreeBSD src repository C> C> Modified files: C> sys/kern kern_descrip.c C> Log: C> Back out fd optimization introduced in revision 1.280 as it appears to be

cvs commit: src/sys/kern kern_descrip.c

2006-03-19 Thread Christian S.J. Peron
csjp2006-03-20 00:13:47 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: 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

Re: cvs commit: src/sys/kern kern_descrip.c

2006-03-18 Thread Wojciech A. Koszek
On sob, mar 18, 2006 at 11:27:22 +, Christian S.J. Peron wrote: > csjp2006-03-18 23:27:22 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_descrip.c > Log: [..] > "0" in some cases. Further, this change also breaks some MAC interactions > wi

cvs commit: src/sys/kern kern_descrip.c

2006-03-18 Thread Christian S.J. Peron
csjp2006-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

cvs commit: src/sys/kern kern_descrip.c

2006-02-05 Thread Wayne Salamon
wsalamon2006-02-05 23:57:32 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Add auditing of arguments to the close() and fstat() system calls. Much more argument auditing yet to come, for remaining system calls in this file. Obtained fro

Re: cvs commit: src/sys/kern kern_descrip.c

2006-01-06 Thread Scott Long
John Baldwin wrote: On Friday 06 January 2006 11:34 am, Scott Long wrote: John Baldwin wrote: jhb 2006-01-06 16:30:30 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Return EBADF rather than EINVAL for FWRITE failure as per POSIX. MFC aft

Re: cvs commit: src/sys/kern kern_descrip.c

2006-01-06 Thread John Baldwin
On Friday 06 January 2006 11:34 am, Scott Long wrote: > John Baldwin wrote: > > jhb 2006-01-06 16:30:30 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern kern_descrip.c > > Log: > > Return EBADF rather than EINVAL for FWRITE failure as per POSIX

Re: cvs commit: src/sys/kern kern_descrip.c

2006-01-06 Thread Tom Rhodes
On Fri, 6 Jan 2006 16:30:30 + (UTC) John Baldwin <[EMAIL PROTECTED]> wrote: > jhb 2006-01-06 16:30:30 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_descrip.c > Log: > Return EBADF rather than EINVAL for FWRITE failure as per POSIX. Thank

Re: cvs commit: src/sys/kern kern_descrip.c

2006-01-06 Thread Scott Long
John Baldwin wrote: jhb 2006-01-06 16:30:30 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Return EBADF rather than EINVAL for FWRITE failure as per POSIX. MFC after: 1 week Revision ChangesPath 1.290 +2 -3

cvs commit: src/sys/kern kern_descrip.c

2006-01-06 Thread John Baldwin
jhb 2006-01-06 16:30:30 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Return EBADF rather than EINVAL for FWRITE failure as per POSIX. MFC after: 1 week Revision ChangesPath 1.290 +2 -3 src/sys/kern/kern_des

cvs commit: src/sys/kern kern_descrip.c

2006-01-04 Thread Roman Kurakin
rik 2006-01-04 10:35:47 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/kern kern_descrip.c Log: MFC: -j 1.280 -j 1.281 --- revision 1.281 date: 2005/10/04 16:27:54; author: rik; state

Re: cvs commit: src/sys/kern kern_descrip.c

2005-11-19 Thread Mike Silbersack
On Thu, 17 Nov 2005, Robert Watson wrote: Add a DDB "show files" command to list the current open file list, some state about each open file, and identify the first process in the process table that references the file. This is helpful in debugging leaks of file descriptors. Than

cvs commit: src/sys/kern kern_descrip.c

2005-11-17 Thread Robert Watson
rwatson 2005-11-17 13:11:37 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: Merge kern_descrip.c:1.286, 1.287, 1.288 from HEAD to RELENG_6: Add a DDB "show files" command to list the current open file list, some

cvs commit: src/sys/kern kern_descrip.c

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 08:15:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_5) sys/kern kern_descrip.c Log: Merge kern_descrip.c:1.284 from HEAD to RELENG_5: In closef(), remove the assumption that there is a thread associated with the fil

cvs commit: src/sys/kern kern_descrip.c

2005-11-16 Thread Robert Watson
rwatson 2005-11-16 08:12:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c Log: Merge kern_descrip.c:1.284 from HEAD to RELENG_6: In closef(), remove the assumption that there is a thread associated with the fil

cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
rwatson 2005-11-10 13:26:29 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Add the f_msgcount field to the set of struct file fields printed in show files. MFC after: 1 week Revision ChangesPath 1.288 +5 -4 src

Re: cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
On Thu, 10 Nov 2005, Robert Watson wrote: rwatson 2005-11-10 11:35:59 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Expanet of details printed for each file descriptor to include it's Editor braino: should read "Expand the set". Not worth a

cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
rwatson 2005-11-10 11:35:59 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Expanet of details printed for each file descriptor to include it's garbage collection flags. Reformat generally to make this fit and leave some room for future ex

cvs commit: src/sys/kern kern_descrip.c

2005-11-10 Thread Robert Watson
rwatson 2005-11-10 10:42:50 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Add a DDB "show files" command to list the current open file list, some state about each open file, and identify the first process in the process table that referen

cvs commit: src/sys/kern kern_descrip.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 22:02:02 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: Fix typo in recent comment tweak. Submitted by: jkim MFC after: 1 week Revision ChangesPath 1.285 +1 -1 src/sys/kern/kern_descrip.c _

cvs commit: src/sys/kern kern_descrip.c

2005-11-09 Thread Robert Watson
rwatson 2005-11-09 20:54:25 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c Log: In closef(), remove the assumption that there is a thread associated with the file descriptor. When a file descriptor is closed as a result of garbage collecting a

cvs commit: src/sys/kern kern_descrip.c kern_exit.c vfs_aio.c

2005-11-08 Thread John Baldwin
jhb 2005-11-08 16:08:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern kern_descrip.c kern_exit.c vfs_aio.c Log: MFC: Push down Giant into fdfree() and remove it from two of the callers. Revision ChangesPath 1.279.2.3 +