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
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
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
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
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
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
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
>
* 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
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
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'
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
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
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
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
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
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.
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
___
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
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
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
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:
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
_
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
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 +
80 matches
Mail list logo