Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176795793
D43299.1793381241.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D43299.1793381241.diff
View Options
diff --git a/usr.sbin/bhyveload/bhyveload.8 b/usr.sbin/bhyveload/bhyveload.8
--- a/usr.sbin/bhyveload/bhyveload.8
+++ b/usr.sbin/bhyveload/bhyveload.8
@@ -171,3 +171,39 @@
can only load
.Fx
as a guest.
+.Sh SECURITY CONSIDERATIONS
+Note that in some configurations,
+.Nm
+will execute guest loader scripts in the context of the host machine.
+As of
+.Fx 15.0 ,
+.Nm
+will enter a
+.Xr capsicum 4
+sandbox before it loads the
+.Ar os-loader
+or executes any loader scripts.
+On the host filesystem, the sandbox will only have access to the path specified
+by the
+.Fl h
+flag, the contents of the
+.Pa /boot
+directory if
+.Fl l
+was not specified, and naturally the chosen console device.
+.Pp
+Note that the guest loader scripts are already subject to some limitations that
+are not relaxed simply because we are running in userland.
+For instance, any I/O on the loader's
+.Dq host
+device that can be done in loader scripts are limited to the interface that
+.Nm
+provides, which itself will restrict paths that can be touched to those within
+a specified
+.Fl h
+directory, if any.
+Access to files within
+.Pa /boot
+inside the sandbox would require arbitrary code execution in userboot, and
+userboot is usually provided by the host machine rather than anything that is
+a part of the guest image.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 30, 5:27 PM (3 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41236670
Default Alt Text
D43299.1793381241.diff (1 KB)
Attached To
Mode
D43299: bhyveload(8): document some SECURITY CONSIDERATIONS
Attached
Detach File
Event Timeline