Skip to content

mknod: implement selinux support #7818

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

Merged
merged 2 commits into from
Apr 23, 2025
Merged

Conversation

sylvestre
Copy link
Contributor

and improve the option management a bit

@sylvestre sylvestre force-pushed the selinux-mknod branch 5 times, most recently from 22e75a9 to a528e41 Compare April 21, 2025 22:08
Copy link

GNU testsuite comparison:

GNU test failed: tests/misc/tee. tests/misc/tee is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

Copy link

GNU testsuite comparison:

GNU test failed: tests/misc/tee. tests/misc/tee is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre force-pushed the selinux-mknod branch 2 times, most recently from 09b1414 to 36c40b7 Compare April 22, 2025 21:25
@sylvestre sylvestre requested a review from cakebaker April 22, 2025 21:31
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)

.long(options::CONTEXT)
.value_name("CTX")
.value_parser(value_parser!(String))
.num_args(0..=1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also have to specify require_equals, otherwise something like cargo run --features=unix,feat_selinux mknod --context hello_world p will fail.

Suggested change
.num_args(0..=1)
.num_args(0..=1)
.require_equals(true)

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit 67400ab into uutils:main Apr 23, 2025
70 checks passed
@sylvestre sylvestre deleted the selinux-mknod branch April 23, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants