1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys
Robert Watson 2955f0b360 o Rather than arbitrarily construct a credential in the nfs_statfs()
VFS operation, make use of the calling process's credential.  This
  solution may not be ideal (there are a number of other possible
  proposals, including making use of the proc0 credential, adding a
  credential argument to the VFSOP, and switching from a hard-coded
  ucred to a hard-coded nfscred), it is simple and appears to
  work.  The arguments against using simply crget() are fairly
  strong: it is the only place in the code (other than a nearly
  identical invocation in ncp) where crget() is invoked, other than
  in the process credential creation code; as ucred becomes extensible,
  this use of crget() without appropriate context results in less and
  less meaningful credential data.  The implementation here will
  probably be tweaked as a result of experimentation and further
  exploration of the requirements.  In the mean-time, it allows
  progress to be made in ucred expansion for new security models without
  causing a crash every time df is used on an NFS mounted file system.

  This code has been interop tested against FreeBSD and Solaris NFS
  servers.  While using the process credentials should not introduce
  interop problems, please let me know if any turn out to exist.

Reviewed by:	freebsd-arch
2001-04-05 06:12:38 +00:00
..
alpha Regen after adding linux_sched_get_priority_max() and 2001-04-03 18:01:41 +00:00
amd64 De __P() while I'm here. Done as a separate commit since it is just 2001-04-03 18:50:55 +00:00
arm/include
boot MAN[1-9] -> MAN. 2001-03-27 11:59:22 +00:00
cam If we have and error and are booting verbosely, don't be complaining 2001-04-04 18:24:35 +00:00
coda Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
compat Add linux_sched_get_priority_max() and linux_sched_get_priority_min(): The 2001-04-01 06:37:40 +00:00
compile
conf Add support for MODULES_OVERRIDE. This is a list of modules to build 2001-04-02 08:52:05 +00:00
contrib/dev Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
crypto
ddb Catch up to header include changes: 2001-03-28 09:17:56 +00:00
dev Don't allow immediate values of 0 for operations that can take either an 2001-04-04 22:50:57 +00:00
fs - Various style fixes. 2001-03-29 18:10:46 +00:00
geom fix a number of printf format string warnings inside DEBUG ifdefs 2001-03-29 15:05:08 +00:00
gnu
i4b Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
i386 De __P() while I'm here. Done as a separate commit since it is just 2001-04-03 18:50:55 +00:00
ia64 Reduce the emasculation of bounds_check_with_label() by one line, so we 2001-03-29 20:26:12 +00:00
isa Catch up to header include changes: 2001-03-28 09:17:56 +00:00
isofs/cd9660
kern - Change the msleep()s to condition variables. 2001-04-03 04:50:13 +00:00
libkern Rewrite of the CAM error recovery code. 2001-03-27 05:45:52 +00:00
miscfs - Various style fixes. 2001-03-29 18:10:46 +00:00
modules Add support for MODULES_OVERRIDE. This is a list of modules to build 2001-04-02 08:52:05 +00:00
msdosfs
net Fix bpf devices so select() recognizes that they are always writable. 2001-04-04 23:27:35 +00:00
netatalk
netatm
netgraph Catch up to header include changes: 2001-03-28 09:17:56 +00:00
netinet MFC candidate. 2001-03-28 14:13:19 +00:00
netinet6 Make per-address input packet counts for lo0 work. 2001-03-28 19:47:52 +00:00
netipx
netkey
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp
netns
nfs o Rather than arbitrarily construct a credential in the nfs_statfs() 2001-04-05 06:12:38 +00:00
nfsclient o Rather than arbitrarily construct a credential in the nfs_statfs() 2001-04-05 06:12:38 +00:00
nfsserver
ntfs
nwfs
pc98 Correct typo. 2001-04-01 07:15:16 +00:00
pccard Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
pci Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
posix4
powerpc Rework the witness code to work with sx locks as well as mutexes. 2001-03-28 09:03:24 +00:00
rpc
svr4
sys Various style fixes. 2001-04-05 03:55:27 +00:00
tools
ufs o Indent sub-section headings to be consistent with README.extattr. 2001-04-03 18:05:03 +00:00
vm Convert the allproc and proctree locks from lockmgr locks to sx locks. 2001-03-28 11:52:56 +00:00
Makefile