Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2020 20:56:35 +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: r368676 - head/usr.sbin/jls
Message-ID:  <202012152056.0BFKuZZa015420@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jamie
Date: Tue Dec 15 20:56:35 2020
New Revision: 368676
URL: https://svnweb.freebsd.org/changeset/base/368676

Log:
  Bugfix to not hide jailparam flags, which for example changes the output
  "vnet=2" to the less opaque "vnet=inherit"
  
  Reported by:	kevans
  MFC after:	5 days

Modified:
  head/usr.sbin/jls/jls.c

Modified: head/usr.sbin/jls/jls.c
==============================================================================
--- head/usr.sbin/jls/jls.c	Tue Dec 15 20:02:40 2020	(r368675)
+++ head/usr.sbin/jls/jls.c	Tue Dec 15 20:56:35 2020	(r368676)
@@ -323,7 +323,7 @@ add_param(const char *name, void *value, size_t valuel
 		}
 		xo_errx(1, "%s", jail_errmsg);
 	}
-	param->jp_flags = flags;
+	param->jp_flags |= flags;
 	return param - params;
 }
 



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