freebsd-nq/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 Correct disordering which is corresponding to bde's fix to 2001-02-17 14:51:11 +00:00
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 Kernel crypto need binary key material, not symbolic ascii. 2001-03-10 13:02:58 +00:00
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 Fixes to track snapshot copy-on-write checking in the specinfo 2001-03-07 07:09:55 +00:00
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 Add missed MODULE_VERSION() call, so loading of unicode conversion routine 2001-03-11 15:28:42 +00:00
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 Grab the process lock while calling psignal and before calling psignal. 2001-03-07 03:37:06 +00:00
net Fix bpf devices so select() recognizes that they are always writable. 2001-04-04 23:27:35 +00:00
netatalk Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
netatm Silence some warnings 2001-03-20 10:42:49 +00:00
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 Another round of the <sys/queue.h> FOREACH transmogriffer. 2001-02-04 16:08:18 +00:00
netkey fixed possibility of panic at key_acquire(). 2001-01-14 17:25:08 +00:00
netnatm Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which 2001-04-05 04:20:48 +00:00
netncp Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
netns * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
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 Use a generic implementation of the Fowler/Noll/Vo hash (FNV hash). 2001-03-17 09:31:06 +00:00
ntfs Reviewed by: jlemon 2001-03-01 21:00:17 +00:00
nwfs Add dependancy on libmchain module. 2001-03-22 06:51:53 +00:00
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 Lock need_resched with sched_lock. 2001-02-22 13:46:09 +00:00
powerpc Rework the witness code to work with sx locks as well as mutexes. 2001-03-28 09:03:24 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys Various style fixes. 2001-04-05 03:55:27 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
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