freebsd-skq/sys/fs
rwatson da1a848c61 o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx().
The p_can(...) construct was a premature (and, it turns out,
  awkward) abstraction.  The individual calls to p_canxxx() better
  reflect differences between the inter-process authorization checks,
  such as differing checks based on the type of signal.  This has
  a side effect of improving code readability.
o Replace direct credential authorization checks in ktrace() with
  invocation of p_candebug(), while maintaining the special case
  check of KTR_ROOT.  This allows ktrace() to "play more nicely"
  with new mandatory access control schemes, as well as making its
  authorization checks consistent with other "debugging class"
  checks.
o Eliminate "privused" construct for p_can*() calls which allowed the
  caller to determine if privilege was required for successful
  evaluation of the access control check.  This primitive is currently
  unused, and as such, serves only to complicate the API.

Approved by:	({procfs,linprocfs} changes) des
Obtained from:	TrustedBSD Project
2001-07-05 17:10:46 +00:00
..
cd9660 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
coda Warning fix: coda_fbsd.c:113: warning: unused variable `ret' 2001-06-15 00:02:27 +00:00
deadfs Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
devfs Support /dev/tun cloning. Ansify if_tun.c while I'm there. 2001-06-01 15:51:10 +00:00
fdescfs Fix warning: 552: warning: `fdesc_badop' defined but not used 2001-06-15 00:27:21 +00:00
fifofs The kq write filter was hooked up to the wrong socket, and thus was 2001-06-06 17:38:36 +00:00
hpfs Fix warnings (mostly harmless, due to struct bio being embedded in buf): 2001-06-15 00:30:27 +00:00
msdosfs Fix a mntvnode and vnode interlock reversal. 2001-06-28 03:52:04 +00:00
ntfs Fix warning (exposed NetBSD code): 2001-06-15 00:32:07 +00:00
nullfs the last argument to copyinstr is of t ype size_t, not u_int 2001-06-13 18:58:11 +00:00
nwfs Protect the mnt_vnode list with the mntvnode lock. 2001-06-28 03:50:17 +00:00
portalfs Fix warning: 568: warning: `portal_badop' defined but not used 2001-06-15 00:38:03 +00:00
procfs o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
pseudofs #if 0 out pfs_null() to silence the warning about it not being referenced. 2001-06-15 12:30:46 +00:00
smbfs - Update the vmmeter statistics for vnode pageins and pageouts in 2001-07-04 19:55:01 +00:00
specfs With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
umapfs Actually rename FDESC, PORTAL, UMAP and UNION file systems. 2001-05-24 15:20:11 +00:00
unionfs Protect the mnt_vnode list with the mntvnode lock. 2001-06-28 03:50:17 +00:00