diff options
author | Jarkko Sakkinen <jarkko.sakkinen@iki.fi> | 2013-06-24 14:24:55 +0300 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-06-24 21:00:14 +0100 |
commit | cd510a676d15d67268e83eb9bd7c8971d7a4a7d6 (patch) | |
tree | 2fc11a1e5b38bc8a1c9702ceaf97b28d5fd8f279 /src/local.mk | |
parent | bc70095df2ea1bc4338ea7331d44b916e0c82258 (diff) | |
download | coreutils-cd510a676d15d67268e83eb9bd7c8971d7a4a7d6.tar.xz |
ls: with -Z, show SMACK security context
Enable showing of file SMACK security with '-Z' command-line switch
if SMACK is enabled. Showing SMACK context of a file does not strictly
require SMACK to be enabled but this required to make choice whether to
show SELinux or SMACK security context.
* src/ls.c (getfilecon_cache): Retrieve SMACK context if available.
(gobble_file): Handle SMACK context similarly to SELinux context.
* src/local.mk: Link lsl with libsmack.
* NEWS: Mention the new feature.
* .mailmap: Merge the Author's 2 email addresses.
Diffstat (limited to 'src/local.mk')
-rw-r--r-- | src/local.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local.mk b/src/local.mk index efb003880..626d580de 100644 --- a/src/local.mk +++ b/src/local.mk @@ -230,6 +230,7 @@ src_ginstall_LDADD += $(LIB_SELINUX) src_id_LDADD += $(LIB_SELINUX) src_id_LDADD += $(LIB_SMACK) src_ls_LDADD += $(LIB_SELINUX) +src_ls_LDADD += $(LIB_SMACK) src_mkdir_LDADD += $(LIB_SELINUX) src_mkfifo_LDADD += $(LIB_SELINUX) src_mknod_LDADD += $(LIB_SELINUX) |