From 759d521b1fd7bb6c82fc5f7759a1fefc397a7969 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 2 Mar 2016 12:48:38 +0100 Subject: [PATCH] lxc-attach: small improvements to manpage Explain that the pipe symbol needs to be escaped for -e and -s. Signed-off-by: Christian Brauner --- doc/lxc-attach.sgml.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/lxc-attach.sgml.in b/doc/lxc-attach.sgml.in index d80d1d974..fdb170c01 100644 --- a/doc/lxc-attach.sgml.in +++ b/doc/lxc-attach.sgml.in @@ -140,7 +140,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA CGROUP|LSM. Allowed values are CGROUP, CAP and LSM representing cgroup, capabilities and - restriction privileges respectively. + restriction privileges respectively. (The pipe symbol needs to be escaped, + e.g. CGROUP\|LSM or quoted, e.g. + "CGROUP|LSM".) Warning: This may leak privileges into the @@ -168,7 +170,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA NETWORK. This allows one to change the context of the process to e.g. the network namespace of the container while retaining the other namespaces as those of the - host. + host. (The pipe symbol needs to be escaped, e.g. + MOUNT\|PID or quoted, e.g. + "MOUNT|PID".) Important: This option implies