freebsd-dev/sys/gnu/fs/ext2fs
Robert Watson c08b677fb5 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
..
COPYRIGHT.INFO Updated/corrected the list of GPL'ed files. 2000-01-01 11:27:50 +00:00
ext2_alloc.c Fix two off-by-one errors when sanity-checking inode numbers. In 2002-05-18 21:33:07 +00:00
ext2_balloc.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_bmap.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_extern.h Add an ext2_uninit() routine that undoes the actions performed by 2002-05-18 22:18:17 +00:00
ext2_fs_sb.h
ext2_fs.h Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_inode_cnv.c Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_inode.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_linux_balloc.c Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_linux_ialloc.c Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
ext2_lookup.c Pass IO_NOMACCHECK to vn_rdwr() in the following checks to prevent 2002-08-12 16:43:04 +00:00
ext2_mount.h Convert ext2fs to nmount(2). 2002-05-24 17:38:01 +00:00
ext2_readwrite.c Remove register keyword. 2002-05-16 19:43:28 +00:00
ext2_subr.c Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00
ext2_vfsops.c Convert ext2fs to nmount(2). 2002-05-24 17:38:01 +00:00
ext2_vnops.c Pass IO_NOMACCHECK to vn_rdwr() in the following checks to prevent 2002-08-12 16:43:04 +00:00
fs.h Complete the separation of ext2fs from ufs by copying the remaining 2002-05-16 19:08:03 +00:00
i386-bitops.h Fix __asm__ clobber list abuse. 1999-11-15 23:16:06 +00:00
inode.h Use explicitly-sized types where necessary to make ext2fs work again 2002-05-18 19:12:38 +00:00