Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115822099
D43286.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
D43286.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 3:55 AM (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17848964
Default Alt Text
D43286.diff (583 B)
Attached To
Mode
D43286: bhyveload: enter capability mode after we setup the vcpu
Attached
Detach File
Event Timeline
Log In to Comment