freebsd-skq/sys
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
..
alpha You cannot require Giant to be locked when you haven't acquired it yet. 2001-07-05 16:55:50 +00:00
amd64 Move vm_page_zero_idle() from machine-dependant sections to a 2001-07-05 01:32:42 +00:00
arm Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
boot Get rid of some constness warnings. 2001-06-24 12:08:47 +00:00
cam Check the void * argument in the AC_FOUND_DEV case against NULL. Whether 2001-07-04 05:22:42 +00:00
coda Warning fix: coda_fbsd.c:113: warning: unused variable `ret' 2001-06-15 00:02:27 +00:00
compat o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
conf Add a new helper function for finding resources in resource buffers. 2001-07-05 07:14:30 +00:00
contrib Merge FreeBSD-specific changes. 2001-06-29 20:19:59 +00:00
crypto properly check DES weak key. KAME PR 363. 2001-07-03 17:46:48 +00:00
ddb With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
dev Set vendor string correctly for the Apple KeyLargo. 2001-07-05 12:04:19 +00:00
fs o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
geom Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
gnu Fix more mntvnode and vnode interlock order reversals. 2001-06-28 22:21:33 +00:00
i4b Submitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi) 2001-05-25 08:43:30 +00:00
i386 Move vm_page_zero_idle() from machine-dependant sections to a 2001-07-05 01:32:42 +00:00
ia64 Move vm_page_zero_idle() from machine-dependant sections to a 2001-07-05 01:32:42 +00:00
isa More cleanup when detaching. Clone device entries will now be 2001-07-04 22:10:33 +00:00
isofs/cd9660 - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file 2001-05-23 09:42:29 +00:00
kern o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
libkern Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files. 2001-05-24 08:47:42 +00:00
modules - Don't overwrite inb, inw and outw. 2001-07-04 13:00:21 +00:00
net unbreak building kernel without option INET6 2001-07-05 14:42:54 +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 Fix warning: (int/long mixup in printf) 2001-06-15 07:35:25 +00:00
netinet gif(4) and stf(4) modernization: 2001-07-02 21:02:09 +00:00
netinet6 When the link-layer address of a router changes, select the 2001-07-04 11:27:24 +00:00
netipx Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
netkey Sync with recent KAME. 2001-06-11 12:39:29 +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 Fix warning: 203: implicit declaration of function `kernel_sysctlbyname' 2001-06-15 07:37:01 +00:00
netns * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
netsmb Remove bogus include. 2001-06-14 11:05:01 +00:00
nfs - Sort includes. 2001-07-04 20:14:59 +00:00
nfsclient - Sort includes. 2001-07-04 20:14:59 +00:00
nfsserver With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
pc98 With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
pccard Combine a couple of tests to reduce the indentation level. 2001-07-01 23:41:57 +00:00
pci Set vendor string correctly for the Apple KeyLargo. 2001-07-05 12:04:19 +00:00
posix4 o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
powerpc Move vm_page_zero_idle() from machine-dependant sections to a 2001-07-05 01:32:42 +00:00
rpc Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
sparc64/compile Obrien created this directory, but I didn't cvs add cvsignore 2001-07-01 23:37:03 +00:00
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys o Replace calls to p_can(..., P_CAN_xxx) with calls to p_canxxx(). 2001-07-05 17:10:46 +00:00
tools replace calls to non-existant bail() subroutine with calls to 2001-03-23 11:48:50 +00:00
ufs With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
vm Apply field bandages to the includes so compiles happen on alpha. 2001-07-05 06:13:44 +00:00
Makefile