setns.2: Minor fix: rename example program binary

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-01-02 08:10:09 +01:00
parent ffec080046
commit c0ce4807c1
1 changed files with 4 additions and 4 deletions

View File

@ -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