coreutils
[Top][All Lists]
Advanced

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

Re: "ls -l": Avoid unnecessary getxattr() overhead


From: Sven Breuner
Subject: Re: "ls -l": Avoid unnecessary getxattr() overhead
Date: Sun, 26 Feb 2012 23:56:22 +0100
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Pádraig Brady wrote on 02/20/2012 11:54 AM:
On 02/20/2012 02:06 AM, Sven Breuner wrote:
Pádraig Brady wrote on 02/20/2012 12:54 AM:
I just booted RHEL 6.2 with selinux=0 on the kernel command line,
so as I could test new files without a context created, and...

getxattr("security.selinux") on new files on tmpfs, returns ENOTSUP
 [...]

Seems to be inconsistent. Some of our RHEL 6.x systems return "unlabled" on a 
tmpfs:
 [...]

I thought the difference might be selinux=0 boot param,
versus selinux=disabled in /etc/selinux/config, but that's not significant.

You were right, Pádraig. Booting the machines that previously returned "unlabled" with "selinux=0" makes them return EOPNOTSUPP.

Best regards,
Sven



reply via email to

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