svn commit: r364828 - head/usr.sbin/jail

Jamie Gritton jamie at FreeBSD.org
Wed Aug 26 18:35:33 UTC 2020


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;


More information about the svn-src-all mailing list