diff options
author | maxim <maxim@FreeBSD.org> | 2003-03-27 11:35:45 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2003-03-27 11:35:45 +0000 |
commit | e9a9ad265676b6132cfe05450cf3b3aa97962702 (patch) | |
tree | 7e9eb784a9f65db0c0a3eb5ef9aae53ad1fe5a09 | |
parent | 4bc38c790bffcfdbdbda48ea347d3d6f380b5c99 (diff) | |
download | FreeBSD-src-e9a9ad265676b6132cfe05450cf3b3aa97962702.zip FreeBSD-src-e9a9ad265676b6132cfe05450cf3b3aa97962702.tar.gz |
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
-rw-r--r-- | sys/sys/proc.h | 4 | ||||
-rw-r--r-- | sys/sys/ucred.h | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index ceef3ad..77464a0 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -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". diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h index 3f970de..448d5c3 100644 --- a/sys/sys/ucred.h +++ b/sys/sys/ucred.h @@ -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 */ |