Repository navigation
Refuse a missing deny_read inside a 2.1 jail's mounts, and document the mask gap #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
M3gA-Mind
wants to merge
6
commits into
tinyhumansai:main
Choose a base branch
from
M3gA-Mind:fix/104-late-deny-read
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
97658c9
Refuse a missing deny_read inside a 2.1 jail's mounts, and document t…
M3gA-Mind 9928f97
Merge branch 'main' into fix/104-late-deny-read
M3gA-Mind 4acfba4
Merge branch 'main' into fix/104-late-deny-read
M3gA-Mind 99dd8f4
Merge main into fix/104-late-deny-read
M3gA-Mind a9eb478
Merge branch 'main' into fix/104-late-deny-read
M3gA-Mind 93c77d6
Merge branch 'main' into fix/104-late-deny-read
M3gA-Mind File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the missing disable_userns field to the test request
`NativeJailCommand` declares a `disable_userns` field that `native_bwrap_argv` reads (`if request.disable_userns {`), and the only in-repo constructor in `crates/tinybox-module/src/tinybus_module/native_jail.rs` sets it (`disable_userns: bwrap_disables_userns()`). The struct is a plain `#[derive(Debug, Clone)]` type with no `Default`, so a struct literal must name every field: this literal in `a_missing_denial_inside_a_mount_is_refused_and_one_outside_is_skipped` omits `disable_userns`, and `cargo test -p tinybox-linux` fails with E0063 (missing field `disable_userns` in initializer of `NativeJailCommand`). Add the field so the file compiles.
[RULE] missing-struct-field ·