bug#77597: coreutils 9.6: regression in handling security.selinux attribute for ls(1)
Pádraig Brady <[email protected]>
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 08/04/2025 08:06, Paul Eggert wrote: > On 2025-04-07 15:52, Pádraig Brady wrote: >> So maybe we class this as a kernel bug and have the kernel >> return non 0 for this case, or even ENOTSUP. > > Yes, this sounds right to me. The kernel should not pretend that there > are no attributes when there are attributes. If the kernel doesn't want > to tell us attribute names, it should return -1 and set errno to a value > saying "I don't want to tell you". OK, given this is is an uncommon edge case let's push for a kernel fix, rather than a partial or inefficient workaround in ls. Rahul can you report this to the appropriate kernel folks? thank you, Pádraig