From c0ce4807c1eed2066d91760733155e4e2aa1a04e Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 2 Jan 2013 08:10:09 +0100 Subject: [PATCH] setns.2: Minor fix: rename example program binary Signed-off-by: Michael Kerrisk --- man2/setns.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man2/setns.2 b/man2/setns.2 index 3bb58f511..f6ef20faa 100644 --- a/man2/setns.2 +++ b/man2/setns.2 @@ -119,7 +119,7 @@ and executes the specified command inside that namespace. The following shell session demonstrates the use of this program (compiled as a binary named -.IR t_setns ) +.IR nsexec ) in conjunction with the .BR CLONE_NEWUTS example program in the @@ -156,12 +156,12 @@ set by the child created by the first program: .nf .in +4n -# \fB./t_setns /proc/3550/ns/uts /bin/bash\fP -# \fBuname -n\fP # Executed in shell started by t_setns +# \fB./nsexec /proc/3550/ns/uts /bin/bash\fP +# \fBuname -n\fP # Executed in shell started by nsexec bizarro .in .fi - +nsexec .SS Program source .nf #define _GNU_SOURCE