mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
a0f75161f9
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 |
||
---|---|---|
.. | ||
aio.h | ||
ksched.c | ||
mqueue.h | ||
p1003_1b.c | ||
posix4_mib.c | ||
posix4.h | ||
sched.h | ||
semaphore.h |