o Initialize per-jail securelevel from global securelevel as part of
jail creation. Obtained from: TrustedBSD Project
This commit is contained in:
parent
e4e5df5075
commit
96b0d9e4f3
@ -74,6 +74,7 @@ jail(td, uap)
|
||||
goto done2;
|
||||
}
|
||||
MALLOC(pr, struct prison *, sizeof *pr , M_PRISON, M_WAITOK | M_ZERO);
|
||||
pr->pr_securelevel = securelevel;
|
||||
error = copyinstr(j.hostname, &pr->pr_host, sizeof pr->pr_host, 0);
|
||||
if (error)
|
||||
goto bail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user