summaryrefslogtreecommitdiff
path: root/tests/misc/selinux
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-12-11 21:16:24 +0100
committerJim Meyering <meyering@redhat.com>2007-12-11 21:16:24 +0100
commit4245876e23866a198b92ed5c371658d8428d89ac (patch)
treeca6e8943577ba81af2b2bab031def90533a044f3 /tests/misc/selinux
parent291eb90a0a5515680a78a64fe8ddef4f417bd0f7 (diff)
downloadcoreutils-4245876e23866a198b92ed5c371658d8428d89ac.tar.xz
"ls -l" wouldn't output "+" on SELinux hosts unless -Z was also given.
* src/ls.c (gobble_file): Also get the file context if -l is specified. Treat getfilecon failures like file_has_acl failures. (UNKNOWN_SECURITY_CONTEXT): New constant. (clear_files): Don't free it. (gobble_file): Set unknown security contexts to it; that way, we don't have to have special cases for unknown contexts. (print_long_format, print_file_name_and_frills): Don't worry about scontext being null, since it's always some string now.
Diffstat (limited to 'tests/misc/selinux')
0 files changed, 0 insertions, 0 deletions