id: with -Z, show SMACK security context 19/8319/1
authorJarkko Sakkinen <jarkko.sakkinen@iki.fi>
Sat, 4 May 2013 17:44:53 +0000 (20:44 +0300)
committerMichael Demeter <michael.demeter@intel.com>
Mon, 12 Aug 2013 22:49:39 +0000 (15:49 -0700)
commit9ec2f172808b6fe936a4e99675ebdaeb1a372a67
treef413b1e3eb928590ff9ed4483253ced8d46d8a85
parentd1774d2a7087770fac4cf93dd4e0ed396e3424d1
id: with -Z, show SMACK security context

Adds an optional dependency on libsmack.

* m4/jm-macros.m4: Look for the smack library/header.
* src/id.c (main): Output the smack context if available.
* src/local.mk: Link with libsmack if available.
* NEWS: Mention the new feature.

Signed-off-by: Michael Demeter <michael.demeter@intel.com>
Conflicts:
NEWS

Change-Id: I1f6bb85309245b8172e2106f3102e040562109a9
NEWS
m4/jm-macros.m4
src/id.c
src/local.mk