[Pkg-shadow-devel] [PATCH 00/11] pkg-shadow support subordinate ids with user namespaces

Serge E. Hallyn serge at hallyn.com
Thu Aug 22 18:42:50 UTC 2013


> >>  9] Add manpage NOTE that newuidmap / newgidmap can be used only once on a
> >>     given process?

Hi, do you have any objection to the below trivial patch?

Subject: [PATCH 1/1] newuidmap.1 and newgidmap.1: note limitation

Note that they may be used only once for a given process.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
 man/newgidmap.1.xml | 3 +++
 man/newuidmap.1.xml | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/man/newgidmap.1.xml b/man/newgidmap.1.xml
index 1e1d4ba..ad7a186 100644
--- a/man/newgidmap.1.xml
+++ b/man/newgidmap.1.xml
@@ -125,6 +125,9 @@
       <filename>/etc/subgid</filename> before setting
       <filename>/proc/[pid]/gid_map</filename>.
     </para>
+    <para>
+      Note that newgidmap may be used only once for a given process.
+    </para>
 
   </refsect1>
 
diff --git a/man/newuidmap.1.xml b/man/newuidmap.1.xml
index 893cd1a..04bb14f 100644
--- a/man/newuidmap.1.xml
+++ b/man/newuidmap.1.xml
@@ -122,6 +122,9 @@
       <filename>/etc/subuid</filename> before setting
       <filename>/proc/[pid]/uid_map</filename>.
     </para>
+    <para>
+      Note that newuidmap may be used only once for a given process.
+    </para>
   </refsect1>
 
   <refsect1 id='options'>
-- 
1.8.3.2




More information about the Pkg-shadow-devel mailing list