pjd 2008-09-01 10:11:39 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
SVN rev 182596 on 2008-09-01 10:11:39Z by pjd
When setting error to EINVAL in 'fvp == tdvp' case, jump to out label,
because if not, the error will be later over
rwatson 2008-06-22 21:51:32 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
SVN rev 179936 on 2008-06-22 21:51:32Z by rwatson
If S_IFIFO is passed to mknod(2), invoke kern_mkfifoat(9) to create a
FIFO, as required by SUSv3. No specific
kib 2008-05-17 12:46:24 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
sys/ufs/ffs ffs_softdep.c ffs_vfsops.c
sys/ufs/ufs quota.h ufs_lookup.c ufs_quota.c
ufs_vnops.c
truckman2008-04-07 00:29:32 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
vfs_syscalls.c 1.452 mistakenly swapped the behavior of chown() and lchown().
Revision ChangesPath
1.453 +1 -1 src/sys/kern/vfs_syscalls.c
kib 2008-03-31 12:04:20 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
sys/sys syscallsubr.h
Log:
Implement the
openat(2), faccessat(2), fchmodat(2), fchownat(2), fstatat(2),
futimesat(2), linkat(2), mkdira
kib 2008-03-31 11:57:18 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c vfs_vnops.c
Log:
Add the support for the O_EXEC open(2) mode, as specified by the
POSIX Extended API Set Part 2 extension specification.
Reviewed by:rwatson, rdiv
rwatson 2007-09-10 00:00:18 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
sys/security/mac mac_framework.h mac_policy.h mac_vfs.c
sys/security/mac_biba mac_biba.c
sys/security/mac_bsdextended mac_bsdextended.c
sys/security/mac_l
jhb 2007-04-23 18:08:59 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
MFC: Don't go to a whole lot of extra work to handle the race where the
new file descriptor is closed out from under us in kern_open(). Thi
jhb 2007-04-02 13:40:38 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Don't go to a whole lot of extra work to handle the race where the new
file descriptor is closed out from under us in kern_open(). This race
is already handled and
jhb 2007-03-28 16:55:31 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
MFC: If vn_open() fails during kern_open(), don't fdrop() the new file
object until after the call to fdclose().
RevisionChanges
jhb 2007-03-21 19:32:08 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
If vn_open() fails during kern_open(), don't fdrop() the new file object
until after the call to fdclose(). This closes an obscure race that
could result in the la
kib 2007-03-14 08:45:55 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Busy filesystem around call of VFS_QUOTACTL() vfs op.
Tested by: Peter Holm
Reviewed by:tegge
Approved by:re (kensmith)
Revision Changes
John Baldwin wrote:
On Thursday 22 February 2007 12:17, Kostik Belousov wrote:
On Tue, Feb 20, 2007 at 11:21:59AM -0500, John Baldwin wrote:
On Tuesday 20 February 2007 09:49, Kostik Belousov wrote:
On Mon, Feb 19, 2007 at 06:39:58PM -0500, John Baldwin wrote:
On Monday 19 February 2007 05:56
kib 2007-02-28 09:26:53 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
MFC rev. 1.431:
Remove union_dircheckp hook, it is not needed by new unionfs code anymore.
As consequence, getdirentries() no longer needs
On Thursday 22 February 2007 12:17, Kostik Belousov wrote:
> On Tue, Feb 20, 2007 at 11:21:59AM -0500, John Baldwin wrote:
> > On Tuesday 20 February 2007 09:49, Kostik Belousov wrote:
> > > On Mon, Feb 19, 2007 at 06:39:58PM -0500, John Baldwin wrote:
> > > > On Monday 19 February 2007 05:56, Kons
On Tue, Feb 20, 2007 at 11:21:59AM -0500, John Baldwin wrote:
> On Tuesday 20 February 2007 09:49, Kostik Belousov wrote:
> > On Mon, Feb 19, 2007 at 06:39:58PM -0500, John Baldwin wrote:
> > > On Monday 19 February 2007 05:56, Konstantin Belousov wrote:
> > > > kib 2007-02-19 10:56:10 UTC
On Tuesday 20 February 2007 09:49, Kostik Belousov wrote:
> On Mon, Feb 19, 2007 at 06:39:58PM -0500, John Baldwin wrote:
> > On Monday 19 February 2007 05:56, Konstantin Belousov wrote:
> > > kib 2007-02-19 10:56:10 UTC
> > >
> > > FreeBSD src repository
> > >
> > > Modified files:
>
On Mon, Feb 19, 2007 at 06:39:58PM -0500, John Baldwin wrote:
> On Monday 19 February 2007 05:56, Konstantin Belousov wrote:
> > kib 2007-02-19 10:56:10 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sys/kern vfs_syscalls.c
> > Log:
> > Remove unio
On Monday 19 February 2007 05:56, Konstantin Belousov wrote:
> kib 2007-02-19 10:56:10 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/kern vfs_syscalls.c
> Log:
> Remove union_dircheckp hook, it is not needed by new unionfs code anymore.
> As consequen
kib 2007-02-19 10:56:10 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Remove union_dircheckp hook, it is not needed by new unionfs code anymore.
As consequence, getdirentries() no longer needs to drop/reacquire
directory vnode lock, t
kib 2006-11-03 09:15:55 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
MFC rev. 1.427:
The attempt to rename "." with MAC framework compiled in would cause attempt
to twice unlock the vnode. Check that ni_vp a
kib 2006-10-26 13:20:29 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
The attempt to rename "." with MAC framework compiled in would cause attempt
to twice unlock the vnode. Check that ni_vp and ni_dvp are different before
doing secon
tegge 2006-09-27 00:42:42 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
MFC rev 1.422: Hold reference on mountpoint slightly longer in
kern_fhstatfs()
Approved by:re (kensmith)
Revisi
tegge 2006-09-27 00:40:59 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
MFC rev 1.419 and 1.420: Hold reference on mountpoint slightly longer in
kern_statfs() and kern_fstatfs()
Appr
tegge 2006-09-27 00:37:47 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c vfs_vnops.c
sys/nfsservernfs_serv.c nfs_srvsubs.c
sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c
Log:
MFC: Release references a
pjd 2006-09-20 07:27:05 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
There is no need to set 'sp' to NULL anymore.
Revision ChangesPath
1.423 +0 -1 src/sys/kern/vfs_syscalls.c
tegge 2006-09-20 00:32:07 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Copy stat information from mount structure before it can change identity.
Revision ChangesPath
1.422 +2 -2 src/sys/kern/vfs_syscalls.c
rwatson 2006-09-03 07:53:41 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
Merge vfs_syscalls.c:1.408, 1.415, 1.416:
Add pathname and/or vnode argument auditing for the following system
calls:
quotac
rwatson 2006-09-03 07:34:01 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
In kern_fhstatfs(), drop Giant if the prison visibility check fails.
This corrects the same bug found by Todd Miller and corrected as part o
rwatson 2006-09-02 12:34:55 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
Back out prematurely MFC'd audit changes, accidentally MFC'd by jeff in
vfs_syscalls.c:1.392.2.7.
Revision ChangesPath
1.392.2.
jhb 2006-08-02 15:27:48 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Fix some bugs in the previous revision (1.419). Don't perform extra
vfs_rel() on the mountpoint if the MAC checks fail in kern_statfs() and
kern_fstatfs(). Simila
jhb 2006-07-27 20:00:28 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Hold the reference on the mountpoint slightly longer in kern_statfs() and
kern_fstatfs() so that it is still held when prison_enforce_statfs() is
called (since that
jhb 2006-07-19 18:30:33 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Call change_dir() instead of duplicating the code in fchdir().
Revision ChangesPath
1.418 +1 -8 src/sys/kern/vfs_syscalls.c
___
rwatson 2006-06-05 13:34:23 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Audit command, uid arguments for quotactl().
Audit the mode argument to mkfifo().
Audit the target path passed to symlink().
Submitted by: wsalamon
Obtaine
jeff2006-03-31 03:54:20 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c vfs_vnops.c
sys/nfsservernfs_serv.c nfs_srvsubs.c
sys/ufs/ffs ffs_snapshot.c ffs_vfsops.c
Log:
- Release the references acquired by VOP_GETWRITEM
jhb 2006-03-28 21:22:08 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c vfs_vnops.c
Log:
Change vn_open() to honor the MPSAFE flag in the passed in nameidata object
and use that instead of testing fdidx against -1 to determine if it should
r
jeff2006-03-21 23:58:37 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
- Remove explicit calls to lock and unlock Giant and replace them with
VFS_LOCK_GIANT/VFS_UNLOCK_GIANT calls. This completely removes Giant
acquisition in t
jeff2006-03-13 03:06:40 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
Log:
MFC Revs 1.409, 1.404, 1.403, 1.402, 1.401
VFS SMP fixes, stack api, softupdates fixes.
Sponsored by: Isilon Systems, Inc.
Approved
ps 2006-03-06 10:56:43 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sys/kern vfs_syscalls.c
sys/compat/freebsd32 freebsd32_misc.c
Log:
MFC:
Don't truncate f_mntfromname & f_mntonname to 16 characters when
translating statfs into o
ps 2006-03-04 00:09:09 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
sys/compat/freebsd32 freebsd32_misc.c
Log:
use strlcpy in cvtstatfs and copy_statfs instead of bcopy to ensure
the copied strings are properly terminated.
bzero
ps 2006-03-03 07:20:55 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Don't truncate f_mntfromname & f_mntonname to 16 characters when
translating statfs into ostatfs. This allows 4.x binaries making
statfs calls to work on 6.x.
jeff2006-02-23 05:18:07 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
- Use vfs_ref/rel to protect a mountpoint from going away while VFS_STATFS
is being called. Be sure to grab the ref before we unlock the vnode to
prevent th
Wayne Salamon wrote:
wsalamon2006-02-22 16:04:20 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Add pathname and/or vnode argument auditing for the following system calls:
quotactl, statfs, fstatfs, fchdir, chdir, chroot, open, mknod, mkfifo,
wsalamon2006-02-22 16:04:20 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Add pathname and/or vnode argument auditing for the following system calls:
quotactl, statfs, fstatfs, fchdir, chdir, chroot, open, mknod, mkfifo,
link, symlink, un
jeff2006-02-22 09:52:25 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
- Revert r1.406 until a solution can be found that doesn't break nfs. The
statfs handler in nfs will lock vnodes which may lead to deadlock or
recursion.
jeff2006-02-22 06:19:08 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
- Hold the vnode used in the statfs related functions until we're done with
the VFS_STATFS call to prevent the mount from disappearing while we're
stating.
rwatson 2006-02-03 15:42:16 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
In fchdir(), Giant must be separately acquired and dropped if the old
vnode is from a file system that is not MPSAFE, as vrele() expects
Giant to be held when it is
jeff2006-02-01 09:30:45 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
- chroot and chdir need to lock giant as appropriate for the outgoing vp
as well as the new vp.
Sponsored by: Isilon Systems, Inc.
MFC After: 3 days
dds 2006-01-04 07:50:54 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Fix style bug.
Prompted by:bde
Revision ChangesPath
1.399 +2 -2 src/sys/kern/vfs_syscalls.c
__
On Wed, 4 Jan 2006, Diomidis Spinellis wrote:
Poul-Henning Kamp wrote:
In message <[EMAIL PROTECTED]>, Diomidis
Spinellis writes:
dds 2006-01-03 21:58:22 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c Log:
Normalize the tv_usec part of the utimes(2
dds 2006-01-04 00:47:13 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Replace tv_usec normalization with the return of EINVAL.
This addresses two objections to the previous behavior,
and unbreaks the alpha tinderbox build.
TODO:
On Wed, Jan 04, 2006 at 01:48:11AM +0200, Diomidis Spinellis wrote:
> I saw that one coming :-) Solaris (SunOS 5.10) returns EINVAL, Mac OS X
> Tiger and Linux 2.4.21 appear to ignore the field, and NetBSD 1.5
> follows our buggy behavior. POSIX is silent on the matter, and does not
> specify
Poul-Henning Kamp wrote:
In message <[EMAIL PROTECTED]>, Diomidis Spinellis writes:
dds 2006-01-03 21:58:22 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Normalize the tv_usec part of the utimes(2) arguments to ensure
that a file's atime and m
In message <[EMAIL PROTECTED]>, Diomidis Spinellis writes:
>dds 2006-01-03 21:58:22 UTC
>
> FreeBSD src repository
>
> Modified files:
>sys/kern vfs_syscalls.c
> Log:
> Normalize the tv_usec part of the utimes(2) arguments to ensure
> that a file's atime and mtime are
dds 2006-01-03 21:58:22 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Normalize the tv_usec part of the utimes(2) arguments to ensure
that a file's atime and mtime are only set to correct fractional
second values (0-99000ns with t
On Tue, 20 Dec 2005 03:27:24 +
"Christian S.J. Peron" <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 20, 2005 at 12:49:59AM +, Pawel Jakub Dawidek wrote:
> > pjd 2005-12-20 00:49:59 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sys/kern vfs_syscalls
On Tue, Dec 20, 2005 at 12:49:59AM +, Pawel Jakub Dawidek wrote:
> pjd 2005-12-20 00:49:59 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/kern vfs_syscalls.c
> Log:
> Reduce Giant scope a bit, as fdrop() is believed to be MPSAFE.
> The purpose of t
pjd 2005-12-20 00:49:59 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
Reduce Giant scope a bit, as fdrop() is believed to be MPSAFE.
The purpose of this change is consistency (not performance improvement:)),
as it was hard to tell if
58 matches
Mail list logo