1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys
Christian S.J. Peron 9eea3d85cc Standard Giant push down operations for the Mandatory Access Control (MAC)
framework. This makes Giant protection around MAC operations which inter-
act with VFS conditional, based on the MPSAFE status of the file system.

Affected the following syscalls:

o __mac_get_fd
o __mac_get_file
o __mac_get_link
o __mac_set_fd
o __mac_set_file
o __mac_set_link

-Drop Giant all together in __mac_set_proc because the
 mac_cred_mmapped_drop_perms_recurse routine no longer requires it.
-Move conditional Giant aquisitions to after label allocation routines.
-Move the conditional release of Giant to before label de-allocation
 routines.

Discussed with:	rwatson
2005-10-04 14:32:58 +00:00
..
alpha Remove the hack to clear the owepreempt flag after running a fast 2005-09-29 19:12:44 +00:00
amd64 Big polling(4) cleanup. 2005-10-01 18:56:19 +00:00
arm Bring in the good version of this file. 2005-10-03 22:44:54 +00:00
boot MFi386: revision 1.33. 2005-09-30 13:24:14 +00:00
bsm
cam Make the exploring of all luns supported by an HBA more of a 2005-09-16 01:26:17 +00:00
coda
compat Use the constants for the syscall names from syscall.h rather than 2005-10-03 18:34:17 +00:00
conf Makefile magic for the ELF trampoline. 2005-10-03 14:09:58 +00:00
contrib Fix "struct ifnet" leak if attach() fails in the middle. 2005-09-16 12:49:06 +00:00
crypto
ddb - Call db_setup_paging() for traceall. 2005-10-02 22:57:31 +00:00
dev For some utterly bizarre reason, sparc64 coerces PAGE_SIZE to be a long 2005-10-04 04:49:21 +00:00
doc
fs Second attempt at a work-around for fifo-related socket panics during 2005-10-01 20:15:41 +00:00
gdb
geom Move some devstat collection to below where large IO operations are chopped 2005-09-30 17:32:08 +00:00
gnu Back out alpha/alpha/trap.c:1.124, osf1_ioctl.c:1.14, osf1_misc.c:1.57, 2005-09-28 07:03:03 +00:00
i4b
i386 Big polling(4) cleanup. 2005-10-01 18:56:19 +00:00
ia64 Back out alpha/alpha/trap.c:1.124, osf1_ioctl.c:1.14, osf1_misc.c:1.57, 2005-09-28 07:03:03 +00:00
isa Fix an endianness issue in pnp_eisaformat(). This corrects printing PnP IDs 2005-09-28 15:01:58 +00:00
isofs/cd9660
kern Standard Giant push down operations for the Mandatory Access Control (MAC) 2005-10-04 14:32:58 +00:00
libkern
modules Oops, left a compile option enabled that should not be enabled. 2005-10-04 04:40:21 +00:00
net Rename net.isr.enable to net.isr.dispatch. 2005-10-04 07:59:28 +00:00
net80211 Properly set ic_curchan before calling back to device driver to do channel 2005-08-30 14:27:47 +00:00
netatalk Forward declare atalkdomain with static linkage, not extern, since 2005-09-11 16:04:56 +00:00
netatm
netgraph Remove bridge(4) from the tree. if_bridge(4) is a full functional 2005-09-27 18:10:43 +00:00
netinet Unlock Giant symmetrically with respect to lock acquire order as that's 2005-10-03 11:34:29 +00:00
netinet6 Use monotonic 'time_uptime' instead of 'time_second' as timebase 2005-09-19 22:54:55 +00:00
netipsec Replace custom mbuf writeability test with generic M_WRITABLE() test 2005-09-26 20:35:45 +00:00
netipx Forward declaring static variables as extern is invalid ISO-C. Now that 2005-09-07 10:06:14 +00:00
netkey
netnatm Forward declaring static variables as extern is invalid ISO-C. Now that 2005-09-07 10:06:14 +00:00
netncp
netsmb Allow user to override default port numbers used by communication 2005-10-02 08:32:49 +00:00
nfs
nfs4client
nfsclient Add GIANT_REQUIRED and WITNESS sleep warnings to uprintf() and tprintf(), 2005-09-19 16:51:43 +00:00
nfsserver Use the refcount API to manage the reference count for user credentials 2005-09-27 18:09:42 +00:00
opencrypto
pc98 Use 'PC Card' 2005-09-30 13:17:54 +00:00
pccard Remove the kernel portion of OLDCARD. I'm working on a replacement 2005-09-25 21:29:32 +00:00
pci Big polling(4) cleanup. 2005-10-01 18:56:19 +00:00
posix4
powerpc Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_t 2005-09-28 14:54:07 +00:00
rpc Add GIANT_REQUIRED and WITNESS sleep warnings to uprintf() and tprintf(), 2005-09-19 16:51:43 +00:00
security Standard Giant push down operations for the Mandatory Access Control (MAC) 2005-10-04 14:32:58 +00:00
sparc64 Add a new atomic_fetchadd() primitive that atomically adds a value to a 2005-09-27 17:39:11 +00:00
sys Define KERNELDUMP_ARM_VERSION. 2005-10-03 14:06:00 +00:00
tools Add convenience macros for bus_space usage that doesn't require specification 2005-09-24 20:11:07 +00:00
ufs Initialize the inode i_flag field in ffs_valloc() to clean up any 2005-10-03 21:57:43 +00:00
vm Trim a couple of unneeded includes. 2005-09-29 19:13:52 +00:00
Makefile