Document the semantic of ranges.
* libmisc/idmapping.h: Document what the upper and lower fields are in struct map_range. * man/newgidmap.1.xml: Document when the gid, gidlower and count argument are. * man/newuidmap.1.xml: Likewise for uid, uidlower and count.
This commit is contained in:
@@ -87,6 +87,35 @@
|
||||
command line arguments and the gids allowed in <filename>/etc/subgid</filename>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
After the pid argument, <command>newgidmap</command> expects sets of 3 integers:
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>gid</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Begining of the range of GIDs inside the user namespace.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>lowergid</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Begining of the range of GIDs outside the user namespace.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>count</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Length of the ranges (both inside and outside the user namespace).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='options'>
|
||||
|
@@ -84,6 +84,35 @@
|
||||
command line arguments and the uids allowed in <filename>/etc/subuid</filename>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
After the pid argument, <command>newuidmap</command> expects sets of 3 integers:
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>uid</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Begining of the range of UIDs inside the user namespace.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>loweruid</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Begining of the range of UIDs outside the user namespace.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>count</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Length of the ranges (both inside and outside the user namespace).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='options'>
|
||||
|
Reference in New Issue
Block a user