From f8aa8e9495dd89f39b7d0db5aab431cac02ea519 Mon Sep 17 00:00:00 2001 From: Eric W. Biederman Date: Fri, 11 Jan 2013 14:46:38 -0800 Subject: nsenter: new command (light wrapper around setns) Inspired by unshare, nsenter is a simple wrapper around setns that allows running a new process in the context of an existing process. Full paths may be specified to the namespace arguments so that namespace file descriptors may be used wherever they reside in the filesystem. Signed-off-by: "Eric W. Biederman" --- sys-utils/Makemodule.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys-utils/Makemodule.am') diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index 33112fb68..978d97f7d 100644 --- a/sys-utils/Makemodule.am +++ b/sys-utils/Makemodule.am @@ -289,6 +289,13 @@ dist_man_MANS += sys-utils/unshare.1 unshare_SOURCES = sys-utils/unshare.c endif +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 +endif + if BUILD_ARCH bin_PROGRAMS += arch dist_man_MANS += sys-utils/arch.1 -- cgit v1.2.3-55-g7522