summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-02 12:48:31 +0100
committerLennart Poettering <lennart@poettering.net>2017-12-06 12:55:37 +0100
commit87d5e4f2866889eaeacc47daec75aab41eeed54d (patch)
treee1b7d67d6c538b9e7bb4b61baf9d3d45ef4acb56 /src/nspawn/nspawn-def.h
parent6a483c5b2f03ee8d28a8795ce1483393c78b1428 (diff)
downloadsystemd-87d5e4f2866889eaeacc47daec75aab41eeed54d.tar.gz
build-sys: make the dynamic UID range, and the container UID range configurable
Also, export these ranges in our pkg-config files.
Diffstat (limited to 'src/nspawn/nspawn-def.h')
-rw-r--r--src/nspawn/nspawn-def.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nspawn/nspawn-def.h b/src/nspawn/nspawn-def.h
index fc3c94064c..43a19d84f5 100644
--- a/src/nspawn/nspawn-def.h
+++ b/src/nspawn/nspawn-def.h
@@ -21,12 +21,6 @@
#include <sys/types.h>
-/* Note that devpts's gid= parameter parses GIDs as signed values, hence we stay away from the upper half of the 32bit
- * UID range here. We leave a bit of room at the lower end and a lot of room at the upper end, so that other subsystems
- * may have their own allocation ranges too. */
-#define UID_SHIFT_PICK_MIN ((uid_t) UINT32_C(0x00080000))
-#define UID_SHIFT_PICK_MAX ((uid_t) UINT32_C(0x6FFF0000))
-
/* While we are chmod()ing a directory tree, we set the top-level UID base to this "busy" base, so that we can always
* recognize trees we are were chmod()ing recursively and got interrupted in */
#define UID_BUSY_BASE ((uid_t) UINT32_C(0xFFFE0000))