id: don't print context=... when POSIXLY_CORRECT is set
authorJim Meyering <meyering@redhat.com>
Fri, 11 Sep 2009 14:30:27 +0000 (16:30 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Sep 2009 17:58:18 +0000 (19:58 +0200)
commitebbf0a1f0f75490dd7e8b7d717adc46888075e1e
tree3b185b3c1770a50ba7de5b169ed3bed7abe3fa0b
parent398749b0cc49773320e6bc56eafabe7e85437412
id: don't print context=... when POSIXLY_CORRECT is set

* src/id.c (print_full_info) [POSIXLY_CORRECT]: Don't print context.
Reported by Ulrich Drepper.
* NEWS (Changes in behavior): Mention it.
* doc/coreutils.texi (id invocation): Document that id also prints the
security context, when possible, and when POSIXLY_CORRECT is not set.
* tests/id/no-context: New file.  Test for this.
* tests/Makefile.am (TESTS): Add it.
NEWS
doc/coreutils.texi
src/id.c
tests/Makefile.am
tests/id/no-context [new file with mode: 0755]