mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
o Fix a comment.
o GC an unused macro. PR: kern/49083 Submitted by: Bjoern A. Zeeb <bzeeb+freebsd@zabbadoz.net> Not objected by: rwatson
This commit is contained in:
parent
c7f547fde8
commit
089f4427b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112704
@ -719,10 +719,6 @@ sigonstack(size_t sp)
|
||||
: 0);
|
||||
}
|
||||
|
||||
/* Handy macro to determine if p1 can mangle p2. */
|
||||
#define PRISON_CHECK(p1, p2) \
|
||||
((p1)->p_prison == NULL || (p1)->p_prison == (p2)->p_prison)
|
||||
|
||||
/*
|
||||
* We use process IDs <= PID_MAX; PID_MAX + 1 must also fit in a pid_t,
|
||||
* as it is used to represent "no process group".
|
||||
|
@ -58,7 +58,7 @@ struct ucred {
|
||||
gid_t cr_svgid; /* saved user id */
|
||||
struct uidinfo *cr_uidinfo; /* per euid resource consumption */
|
||||
struct uidinfo *cr_ruidinfo; /* per ruid resource consumption */
|
||||
struct prison *cr_prison; /* jail(4) */
|
||||
struct prison *cr_prison; /* jail(2) */
|
||||
#define cr_endcopy cr_label
|
||||
struct label cr_label; /* MAC label */
|
||||
struct mtx *cr_mtxp; /* protect refcount */
|
||||
|
Loading…
Reference in New Issue
Block a user