svn commit: r284514 - head/sys/kern
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Jun 17 13:15:55 UTC 2015
Author: bz
Date: Wed Jun 17 13:15:54 2015
New Revision: 284514
URL: https://svnweb.freebsd.org/changeset/base/284514
Log:
Initialise pr_enforce_statfs from the "default" sysctl value and
not from the compile time constant. The sysctl value is seeded
from the compile time constant.
MFC after: 2 weeks
Modified:
head/sys/kern/kern_jail.c
Modified: head/sys/kern/kern_jail.c
==============================================================================
--- head/sys/kern/kern_jail.c Wed Jun 17 12:28:13 2015 (r284513)
+++ head/sys/kern/kern_jail.c Wed Jun 17 13:15:54 2015 (r284514)
@@ -1331,7 +1331,7 @@ kern_jail_set(struct thread *td, struct
pr->pr_securelevel = ppr->pr_securelevel;
pr->pr_allow = JAIL_DEFAULT_ALLOW & ppr->pr_allow;
- pr->pr_enforce_statfs = JAIL_DEFAULT_ENFORCE_STATFS;
+ pr->pr_enforce_statfs = jail_default_enforce_statfs;
pr->pr_devfs_rsnum = ppr->pr_devfs_rsnum;
pr->pr_osreldate = osreldt ? osreldt : ppr->pr_osreldate;
More information about the svn-src-all
mailing list