]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Adapt to new SELinux behavior: "?" vs. new "unlabeled"
authorJim Meyering <jim@meyering.net>
Wed, 5 Sep 2007 08:57:54 +0000 (10:57 +0200)
committerJim Meyering <jim@meyering.net>
Wed, 5 Sep 2007 08:58:45 +0000 (10:58 +0200)
commit0fb836f179d0cb2509aefcf007157e02dd0814b6
treef4c6040fe50cac03c0fb58df15e36f608f2f4bf2
parent4055cd5a2679bc625c4dde7bce941461481ea8b0
Adapt to new SELinux behavior: "?" vs. new "unlabeled"

* src/ls.c (gobble_file): Interpret the new "unlabeled" indicator
from getfilecon/lgetfilecon the same way we interpret a negative
return value: no security context.  So we don't print the "+".
* tests/selinux: Recognize that "unlabeled" means insufficient
support for SELinux, just like "?".
ChangeLog
src/ls.c
tests/selinux