diff options
author | Ron Yorston <rmy@pobox.com> | 2021-01-14 13:28:49 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-01-14 13:28:49 +0000 |
commit | 89963b524d211e1aec12b72b3725be05ee95c8cf (patch) | |
tree | 48590aef62b7ee7686b7898256f29def8d9c50b9 /util-linux/nsenter.c | |
parent | 9aa5a829070392c2ac6494d0c4e674c0c2bc7dab (diff) | |
parent | 2b7c1aa92c68524559a2067609d09309d5c09adc (diff) | |
download | busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.tar.gz busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.tar.bz2 busybox-w32-89963b524d211e1aec12b72b3725be05ee95c8cf.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'util-linux/nsenter.c')
-rw-r--r-- | util-linux/nsenter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c index c48dcf885..e6339da2f 100644 --- a/util-linux/nsenter.c +++ b/util-linux/nsenter.c | |||
@@ -17,7 +17,7 @@ | |||
17 | //kbuild:lib-$(CONFIG_NSENTER) += nsenter.o | 17 | //kbuild:lib-$(CONFIG_NSENTER) += nsenter.o |
18 | 18 | ||
19 | //usage:#define nsenter_trivial_usage | 19 | //usage:#define nsenter_trivial_usage |
20 | //usage: "[OPTIONS] [PROG [ARGS]]" | 20 | //usage: "[OPTIONS] [PROG ARGS]" |
21 | //usage:#define nsenter_full_usage "\n" | 21 | //usage:#define nsenter_full_usage "\n" |
22 | //usage: "\n -t PID Target process to get namespaces from" | 22 | //usage: "\n -t PID Target process to get namespaces from" |
23 | //usage: "\n -m[FILE] Enter mount namespace" | 23 | //usage: "\n -m[FILE] Enter mount namespace" |
@@ -103,8 +103,9 @@ static const struct namespace_descr ns_list[] = { | |||
103 | }; | 103 | }; |
104 | /* | 104 | /* |
105 | * Upstream nsenter doesn't support the short option for --preserve-credentials | 105 | * Upstream nsenter doesn't support the short option for --preserve-credentials |
106 | * "+": stop on first non-option | ||
106 | */ | 107 | */ |
107 | static const char opt_str[] ALIGN1 = "U::i::u::n::p::m::""t:+S:+G:+r::w::F"; | 108 | static const char opt_str[] ALIGN1 = "+""U::i::u::n::p::m::""t:+S:+G:+r::w::F"; |
108 | 109 | ||
109 | #if ENABLE_LONG_OPTS | 110 | #if ENABLE_LONG_OPTS |
110 | static const char nsenter_longopts[] ALIGN1 = | 111 | static const char nsenter_longopts[] ALIGN1 = |