svn commit: r323427 - stable/11/usr.sbin/bhyve
Ryan Libby
rlibby at FreeBSD.org
Mon Sep 11 07:24:58 UTC 2017
Author: rlibby
Date: Mon Sep 11 07:24:56 2017
New Revision: 323427
URL: https://svnweb.freebsd.org/changeset/base/323427
Log:
bhyve: actually call bhyve_caph_cache_catpages
Gcc noticed that bhyve_caph_cache_catpages was defined but unused.
It is a stable/11 copy of caph_cache_catpages in head.
Direct commit to stable/11. This bug does not apply to head.
Reviewed by: grehan
Approved by: markj (mentor)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12212
Modified:
stable/11/usr.sbin/bhyve/bhyverun.c
Modified: stable/11/usr.sbin/bhyve/bhyverun.c
==============================================================================
--- stable/11/usr.sbin/bhyve/bhyverun.c Mon Sep 11 07:22:53 2017 (r323426)
+++ stable/11/usr.sbin/bhyve/bhyverun.c Mon Sep 11 07:24:56 2017 (r323427)
@@ -1021,7 +1021,7 @@ main(int argc, char *argv[])
fwctl_init();
#ifndef WITHOUT_CAPSICUM
-
+ bhyve_caph_cache_catpages();
if (bhyve_caph_limit_stdoe() == -1)
errx(EX_OSERR, "Unable to apply rights for sandbox");
More information about the svn-src-stable
mailing list