ls: use '.' (not +) as SELinux-only alt. access flag in ls -l output
commitb3677e5e383103bf1764b2c8a9329b1c17934b24
authorJim Meyering <meyering@redhat.com>
Wed, 2 Apr 2008 20:26:45 +0000 (2 22:26 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 23 Oct 2008 12:18:25 +0000 (23 14:18 +0200)
treed7bfd554197ec58f5d8ae00abcd5eef07bbc443c
parentcc0f637b6d2d62a2f811323e677112cfb34cd07e
ls: use '.' (not +) as SELinux-only alt. access flag in ls -l output

* src/ls.c (gobble_file) [long_format]: Map SELinux-only to '.',
any other nonempty combination of MAC and ACL to '+', and all else
to the usual ' '.  Suggested by Michael Stone.
* tests/misc/selinux: Adapt: expect '.', not '+'.
* doc/coreutils.texi (What information is listed): Document this.
* NEWS (Changes in behavior): Mention it.
NEWS
doc/coreutils.texi
src/ls.c
tests/misc/selinux