svn commit: r368676 - head/usr.sbin/jls
Jamie Gritton
jamie at FreeBSD.org
Tue Dec 15 20:56:36 UTC 2020
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;
}
More information about the svn-src-head
mailing list