Page MenuHomeFreeBSD

D43286.id132214.diff
No OneTemporary

D43286.id132214.diff

diff --git a/usr.sbin/bhyveload/bhyveload.c b/usr.sbin/bhyveload/bhyveload.c
--- a/usr.sbin/bhyveload/bhyveload.c
+++ b/usr.sbin/bhyveload/bhyveload.c
@@ -78,6 +78,7 @@
#include <termios.h>
#include <unistd.h>
+#include <capsicum_helpers.h>
#include <vmmapi.h>
#include "userboot.h"
@@ -868,6 +869,12 @@
vcpu = vm_vcpu_open(ctx, BSP);
+ caph_cache_catpages();
+ if (caph_enter() < 0) {
+ perror("caph_enter");
+ exit(1);
+ }
+
/*
* setjmp in the case the guest wants to swap out interpreter,
* cb_swap_interpreter will swap out loader as appropriate and set

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 30, 12:50 AM (10 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17848964
Default Alt Text
D43286.id132214.diff (583 B)

Event Timeline