summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2015-03-20 15:26:58 +0100
committerKarel Zak2015-03-20 15:39:38 +0100
commit355ee3b8981ed4990fd069b097dd8ae0f7373920 (patch)
tree0d23c097d571108c356670d041654f0c936ae8dd /sys-utils/Makemodule.am
parentmount: don't remount read-only on --bind (diff)
downloadkernel-qcow2-util-linux-355ee3b8981ed4990fd069b097dd8ae0f7373920.tar.gz
kernel-qcow2-util-linux-355ee3b8981ed4990fd069b097dd8ae0f7373920.tar.xz
kernel-qcow2-util-linux-355ee3b8981ed4990fd069b097dd8ae0f7373920.zip
nsenter: add -Z to set selinux context
The new context is copied from --target <PID>. This solution allows to keep SELinux happy when you enter container by nsenter(1). Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1116100 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index c1d587af1..d538cdad7 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -358,7 +358,7 @@ if BUILD_NSENTER
usrbin_exec_PROGRAMS += nsenter
dist_man_MANS += sys-utils/nsenter.1
nsenter_SOURCES = sys-utils/nsenter.c
-nsenter_LDADD = $(LDADD) libcommon.la
+nsenter_LDADD = $(LDADD) libcommon.la $(SELINUX_LIBS)
if HAVE_STATIC_NSENTER
usrbin_exec_PROGRAMS += nsenter.static