id: do not print SELinux context when invoked with a USERNAME argument
authorOndřej Vašík <ovasik@redhat.com>
Wed, 23 Apr 2008 10:38:54 +0000 (12:38 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 23 Apr 2008 15:51:44 +0000 (17:51 +0200)
commit1a5b6e3a50b25f3af9d3b83ccdfc1db518ba09ca
treef3dd58aeb9bcdfb57bbd084213b6e006ee25dac4
parent0a4a938b6bf60903475d85cad399f874f8afe51c
id: do not print SELinux context when invoked with a USERNAME argument

* NEWS: Mention new behaviour.
* src/id.c (main): Do not print SELinux context when user is specified.
* tests/Makefile.am: Add the new test.
* tests/misc/id-context: New file.  Test for the fix.
Problem reported by Ronny Buchmann in http://bugzilla.redhat.com/443485.
NEWS
src/id.c
tests/Makefile.am
tests/misc/id-context [new file with mode: 0755]