o Initialize per-jail securelevel from global securelevel as part of
jail creation. Obtained from: TrustedBSD Project
This commit is contained in:
parent
bda63e26d8
commit
567931c8f6
@ -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