coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-9.9.258-49420 on Android


From: Pádraig Brady
Subject: Re: coreutils-9.9.258-49420 on Android
Date: Sat, 24 Jan 2026 13:08:05 +0000
User-agent: Mozilla Thunderbird Beta

On 24/01/2026 06:53, Bruno Haible wrote:
On Android, in the Termux environment, I initially saw link errors.
After fixing these in Gnulib (commit fe762f82eac67c9af699c90e0eeeb07a1ba67dfd),
the coreutils build succeeds, but several unit tests report that they
get SKIPped because of lack of SELinux support.

The cause is the require_selinux_ function: It checks only if
/proc/filesystems lists an selinuxfs file system. But on Android,
/proc/filesystems is not readable to a normal user ("Permission denied").
Therefore an alternative way is needed, to detect that the system
has SELinux support: looking at the output of the 'mount' program.
The attached proposed patch does this, and the said unit tests then
PASS.

"make check" then shows 15 ERROR and 60 FAIL (the same number as without
the patch).
Cool.
I've updated require_selinux_ check, and updated to latest gnulib.

thanks!
Padraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]