summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrlibby <rlibby@FreeBSD.org>2017-09-11 07:24:56 +0000
committerrlibby <rlibby@FreeBSD.org>2017-09-11 07:24:56 +0000
commit73fc1b681630b4147f2fd3bb6551e24cb46b71f4 (patch)
treea824973f96329db21f2e657f6c19e30d03707a7d
parent0533e701e8c2446392c2a6786b174aa839d9839f (diff)
downloadFreeBSD-src-73fc1b681630b4147f2fd3bb6551e24cb46b71f4.zip
FreeBSD-src-73fc1b681630b4147f2fd3bb6551e24cb46b71f4.tar.gz
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
-rw-r--r--usr.sbin/bhyve/bhyverun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c
index 2ca384d..a39d8a8 100644
--- a/usr.sbin/bhyve/bhyverun.c
+++ b/usr.sbin/bhyve/bhyverun.c
@@ -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");
OpenPOWER on IntegriCloud