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:
Nicolas François
2013-08-13 19:28:07 +02:00
parent 5884ba907c
commit e1a4b6e57b
4 changed files with 69 additions and 3 deletions

View File

@@ -31,9 +31,9 @@
#define _IDMAPPING_H_
struct map_range {
unsigned long upper;
unsigned long lower;
unsigned long count;
unsigned long upper; /* first ID inside the namespace */
unsigned long lower; /* first ID outside the namespace */
unsigned long count; /* Length of the inside and outside ranges */
};
extern struct map_range *get_map_ranges(int ranges, int argc, char **argv);