GNU bug report logs - #77597
coreutils 9.6: regression in handling security.selinux attribute for ls(1)

Previous Next

Package: coreutils;

Reported by: "Rahul Sandhu" <nvraxn <at> gmail.com>

Date: Mon, 7 Apr 2025 05:00:05 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 77597 <at> debbugs.gnu.org, Rahul Sandhu <nvraxn <at> gmail.com>
Subject: bug#77597: coreutils 9.6: regression in handling security.selinux attribute for ls(1)
Date: Tue, 8 Apr 2025 08:37:28 +0100
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".

I suppose we could add another flag set with -Z,
with which we would enable the "double check" if 0 logic.
-Z is not a usual option, so trying harder in this case should be OK.

cheers,
Pádraig




This bug report was last modified 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.