diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-01-03 03:43:38 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-01-03 03:43:38 +0100 |
commit | a1ce9159e7e1006c02a61fcbbc5d9eaa3bcf8639 (patch) | |
tree | a9d749fc58bfd7731c01448d30157962baebfa1c | |
parent | 07d4e6ea95bb113faf5330a608452fd1e7a705b3 (diff) | |
download | man-pages-a1ce9159e7e1006c02a61fcbbc5d9eaa3bcf8639.tar.gz |
setns.2: Minor changes to example program discussion
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man2/setns.2 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/man2/setns.2 b/man2/setns.2 index f6ef20faaf..26bd9bc157 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 nsexec ) +.IR ns_exec ) in conjunction with the .BR CLONE_NEWUTS example program in the @@ -156,12 +156,11 @@ set by the child created by the first program: .nf .in +4n -# \fB./nsexec /proc/3550/ns/uts /bin/bash\fP -# \fBuname -n\fP # Executed in shell started by nsexec +# \fB./ns_exec /proc/3550/ns/uts /bin/bash\fP +# \fBuname -n\fP # Executed in shell started by ns_exec bizarro .in .fi -nsexec .SS Program source .nf #define _GNU_SOURCE |