Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2015 13:15:54 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284514 - head/sys/kern
Message-ID:  <201506171315.t5HDFs9k088869@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506171315.t5HDFs9k088869>