From 73fc1b681630b4147f2fd3bb6551e24cb46b71f4 Mon Sep 17 00:00:00 2001 From: rlibby Date: Mon, 11 Sep 2017 07:24:56 +0000 Subject: 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 --- usr.sbin/bhyve/bhyverun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.1