freebsd-skq/sys
Rick Macklem 8c9c322347 r228827 fixed a problem where copying of NFSv4 open credentials into
a credential structure would corrupt it. This happened when the
p argument was != NULL. However, I now realize that the copying of
open credentials should only happen for p == NULL, since that indicates
that it is a read-ahead or write-behind. This patch fixes this.
After this commit, r228827 could be reverted, but I think the code is
clearer and safer with the patch, so I am going to leave it in.
Without this patch, it was possible that a NFSv4 VOP_SETATTR() could have
changed the credentials of the caller. This would have happened if
the process doing the VOP_SETATTR() did not have the file open, but
some other process running as a different uid had the file open for writing
at the same time.

MFC after:	5 days
2012-02-07 16:32:43 +00:00
..
amd64 Add "nodevice adw" to WITHOUT_SOURCELESS_UCODE. 2012-02-04 13:45:39 +00:00
arm
boot Fix clang warnings. 2012-02-05 20:00:39 +00:00
bsm
cam Avoid panic from unlocking a not locked mutex (in some error cases). 2012-02-06 18:11:00 +00:00
cddl Revert r230913 and r230914. 2012-02-03 13:40:51 +00:00
compat Add 32-bit compat code for AIO kevent flags introduced in revision 230857. 2012-02-05 04:49:31 +00:00
conf Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
contrib
crypto
ddb
dev Acquire the adapter lock before updating fields of the filter structure. 2012-02-07 09:39:46 +00:00
fs r228827 fixed a problem where copying of NFSv4 open credentials into 2012-02-07 16:32:43 +00:00
gdb
geom Current implementations of sync(2) and syncer vnode fsync() VOP uses 2012-02-06 11:04:36 +00:00
gnu/fs Use new OSS-based BSD-licensed header for cs sound driver. 2012-02-01 21:38:01 +00:00
i386 Add "nodevice adw" to WITHOUT_SOURCELESS_UCODE. 2012-02-04 13:45:39 +00:00
ia64
isa
kern Fix whitespace inconsistencies in TTY code. 2012-02-06 18:15:46 +00:00
kgssapi
libkern
mips
modules Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
net Allow to set if_bridge(4) sysctls from /boot/loader.conf. 2012-02-07 14:50:33 +00:00
net80211 Update the mesh reason codes to match the latest 802.11s specification. 2012-02-06 00:26:29 +00:00
netatalk
netgraph
netinet Make the 'tcpwin' option of ipfw(8) accept ranges and lists. 2012-02-06 11:35:29 +00:00
netinet6
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
nfsserver
nlm jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 2012-01-31 02:11:05 +00:00
ofed
opencrypto
pc98
pci
powerpc Inherit from PCI bridge driver instead of manually specifying all of its 2012-02-05 20:07:45 +00:00
rpc
security
sparc64
sys Fix whitespace inconsistencies in TTY code. 2012-02-06 18:15:46 +00:00
teken
tools
ufs Sprinkle missed calls to asynchronous UFS_UPDATE() in attempt to 2012-02-07 09:51:41 +00:00
vm Fix NULL dereference panic on attempt to turn off (on system shutdown) 2012-02-01 20:12:44 +00:00
x86
xdr
xen Add the GSO prefix descriptor define. 2012-02-01 20:19:33 +00:00
Makefile