diff options
Diffstat (limited to 'sys/kern/kern_jail.c')
-rw-r--r-- | sys/kern/kern_jail.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 069f1f0..3bc5c10 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -2218,6 +2218,10 @@ prison_check(struct ucred *cred1, struct ucred *cred2) if (cred2->cr_prison != cred1->cr_prison) return (ESRCH); } +#ifdef VIMAGE + if (cred2->cr_vimage->v_procg != cred1->cr_vimage->v_procg) + return (ESRCH); +#endif return (0); } |