-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mount namespaces to linux sandbox
This patch adds optional mount namespaces to the linux sandbox to allow for filesystem isolation on systems without landlock support. Filesystem isolation now requires either landlock OR namespace creation to be successful in order for the sandbox creation to be successful. Landlock will be layered on top of the mount namespace if both are available. While landlock automatically resolves symlink access, mount namespaces do not. So to allow access to `/usr/lib` through `/lib`, it is now necessary to allow both `/lib` AND `/usr/lib`.
- Loading branch information
Showing
6 changed files
with
365 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.