summaryrefslogtreecommitdiff
path: root/src/basic/user-util.h
diff options
context:
space:
mode:
authorQuentin Deslandes <qd@naccy.de>2022-09-05 15:42:48 +0100
committerQuentin Deslandes <qd@naccy.de>2022-09-05 15:49:26 +0100
commit1aa18710aff992832cf901c943a21715ee5e65e6 (patch)
tree39cdc4042eef9a08088eafe6b7719c73343d5f50 /src/basic/user-util.h
parent11749b6108a942f8c301cb7718fa30436a55f923 (diff)
downloadsystemd-1aa18710aff992832cf901c943a21715ee5e65e6.tar.gz
nspawn: rename RemountIdmapFlags enum to RemountIdmapping
This enum should be used to define various idmapping modes for bind mounts which might be incompatible. Changing its name and the values name to reflect that.
Diffstat (limited to 'src/basic/user-util.h')
-rw-r--r--src/basic/user-util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/user-util.h b/src/basic/user-util.h
index 8ae205b65e..a08683bcea 100644
--- a/src/basic/user-util.h
+++ b/src/basic/user-util.h
@@ -67,9 +67,9 @@ int take_etc_passwd_lock(const char *root);
#define UID_NOBODY ((uid_t) 65534U)
#define GID_NOBODY ((gid_t) 65534U)
-/* If REMOUNT_IDMAP_HOST_ROOT is set for remount_idmap() we'll include a mapping here that maps the host root
- * user accessing the idmapped mount to the this user ID on the backing fs. This is the last valid UID in the
- * *signed* 32bit range. You might wonder why precisely use this specific UID for this purpose? Well, we
+/* If REMOUNT_IDMAPPING_HOST_ROOT is set for remount_idmap() we'll include a mapping here that maps the host
+ * root user accessing the idmapped mount to the this user ID on the backing fs. This is the last valid UID in
+ * the *signed* 32bit range. You might wonder why precisely use this specific UID for this purpose? Well, we
* definitely cannot use the first 0…65536 UIDs for that, since in most cases that's precisely the file range
* we intend to map to some high UID range, and since UID mappings have to be bijective we thus cannot use
* them at all. Furthermore the UID range beyond INT32_MAX (i.e. the range above the signed 32bit range) is