Skip to content

fix: allow selinux on android#10419

Merged
cakebaker merged 1 commit intouutils:mainfrom
xtqqczze:linux-android
Jan 22, 2026
Merged

fix: allow selinux on android#10419
cakebaker merged 1 commit intouutils:mainfrom
xtqqczze:linux-android

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Jan 21, 2026

Since 0.5.2 selinux crate supports android

@github-actions
Copy link

GNU testsuite comparison:

GNU test failed: tests/sort/sort-debug-keys. tests/sort/sort-debug-keys is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/shuf/shuf-reservoir (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/sort/sort-stale-thread-mem (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/env/env-signal-handler is now passing!

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Note: The gnu test tests/tail/tail-n0f is now being skipped but was previously passing.

@xtqqczze xtqqczze marked this pull request as ready for review January 22, 2026 01:03
@cakebaker cakebaker merged commit d6df52f into uutils:main Jan 22, 2026
175 of 176 checks passed
@cakebaker
Copy link
Contributor

Thanks!

@xtqqczze xtqqczze deleted the linux-android branch January 22, 2026 19:18
@xtqqczze
Copy link
Contributor Author

xtqqczze commented Jan 22, 2026

@cakebaker I wonder if we could simplify #[cfg()] checks:

cfg_aliases::cfg_aliases! {
    selinux: { all(feature = "selinux", any(target_os = "android", target_os = "linux")) },
}

https://github.com/xtqqczze/uutils-coreutils/tree/wip/cfg-selinux

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