freebsd-skq/sys/nfsclient
rwatson b0388fc24a Pass IO_NOMACCHECK to vn_rdwr() in the following checks to prevent
enforcement of MAC policy on the read or write operations:

- In ext2fs, don't enforce MAC on loop-back reads and writes supporting
  directory read operations in lookup(), directory modifications in
  rename(), directory write operations in mkdir(), symlink write
  operations in symlink().

- In the NFS client locking code, perform vn_rdwr() on the NFS locking
  socket without enforcing MAC, since the write is done on behalf of
  the kernel NFS implementation rather than the user process.

- In UFS, don't enforce MAC on loop-back reads and writes supporting
  directory read operations in lookup(), and symlink write operations
  in symlink().

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-08-12 16:43:04 +00:00
..
bootp_subr.c Back out my lats commit of locking down a socket, it conflicts with hsu's work. 2002-05-31 11:52:35 +00:00
krpc_subr.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
krpc.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nfs_bio.c - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
nfs_lock.c Pass IO_NOMACCHECK to vn_rdwr() in the following checks to prevent 2002-08-12 16:43:04 +00:00
nfs_lock.h Add IPv6 support. 2002-07-15 19:40:23 +00:00
nfs_nfsiod.c Convert old style (type foo *)0 casts to NULLs 2002-07-11 17:54:58 +00:00
nfs_node.c Convert old style (type foo *)0 casts to NULLs 2002-07-11 17:54:58 +00:00
nfs_socket.c If we get a receive error in nfs_receive() and then get an error trying to 2002-07-16 15:12:07 +00:00
nfs_subs.c Convert old style (type foo *)0 casts to NULLs 2002-07-11 17:54:58 +00:00
nfs_vfsops.c - Replace v_flag with v_iflag and v_vflag 2002-08-04 10:29:36 +00:00
nfs_vnops.c - Add a missing VI_UNLOCK to an error case in nfs_flush. 2002-08-05 08:54:29 +00:00
nfs.h In namei(), we use a NULL thread for uio_td when doing a VOP_READLINK(). 2002-06-28 21:53:08 +00:00
nfsargs.h Allow users to use the 'nolockd' or -L options with mount_nfs in order 2001-11-12 02:33:52 +00:00
nfsdiskless.h Fix warnings.. bootpc_init() and related. 2002-02-28 03:07:35 +00:00
nfsm_subs.h Avoid passing the variable `tl' to functions that just use it for 2001-12-18 01:22:09 +00:00
nfsmount.h o Make the credential used by socreate() an explicit argument to 2001-12-31 17:45:16 +00:00
nfsnode.h Remove the nfs_{lock,unlock,islocked} functions and the associated 2002-04-27 22:10:16 +00:00
nfsstats.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nlminfo.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00