Add read/write flags to create subcommand#4
Open
fstachura wants to merge 1 commit intolandlock-lsm:mainfrom
Open
Add read/write flags to create subcommand#4fstachura wants to merge 1 commit intolandlock-lsm:mainfrom
fstachura wants to merge 1 commit intolandlock-lsm:mainfrom
Conversation
Flags allow user to specify what directories the profile will have access to. -r adds read and execute permissions (abi.read_execute), -w adds read, write and execute permissions (abi.read_write).
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Flags allow user to specify what directories the profile will have access to. -r adds read and execute permissions (abi.read_execute), -w adds read, write and execute permissions (abi.read_write).
What's obviously missing from this patch is tests and perhaps some documentation, so it's not ready to be merged as-is. I wanted to first make sure that the idea is ok and compatible with design goals of island, that a patch the core cli interface would be welcome etc. etc.
PS. I wanted to make a tool like island for some time already, but I couldn't come up with a design I would be satisfied with. I think a convenient sandbox is a big missing piece of Linux CLI environment, so I'm very happy to see that it's an official project under the Landlock umbrella. :)