Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 18:35:33 +0000 (UTC)
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364828 - head/usr.sbin/jail
Message-ID:  <202008261835.07QIZXOd063947@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jamie
Date: Wed Aug 26 18:35:32 2020
New Revision: 364828
URL: https://svnweb.freebsd.org/changeset/base/364828

Log:
  Back out r364791 to unbreak jails.  Lesson learned: "compile and test" means
  running the test on the same executable that you just compiled.
  
  PR:		248444
  Pointy hat to:	jamie

Modified:
  head/usr.sbin/jail/config.c

Modified: head/usr.sbin/jail/config.c
==============================================================================
--- head/usr.sbin/jail/config.c	Wed Aug 26 17:52:32 2020	(r364827)
+++ head/usr.sbin/jail/config.c	Wed Aug 26 18:35:32 2020	(r364828)
@@ -393,8 +393,7 @@ add_param(struct cfjail *j, const struct cfparam *p, e
 		else
 			for (ipnum = IP__NULL + 1; ipnum < IP_NPARAM; ipnum++)
 				if (!(intparams[ipnum].flags & PF_CONV) &&
-				    equalopts(name, intparams[ipnum].name) &&
-				    !(p->flags & PF_VAR)) {
+				    equalopts(name, intparams[ipnum].name)) {
 					j->intparams[ipnum] = np;
 					np->flags |= intparams[ipnum].flags;
 					break;



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