diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-02 12:48:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-12-06 12:55:37 +0100 |
commit | 87d5e4f2866889eaeacc47daec75aab41eeed54d (patch) | |
tree | e1b7d67d6c538b9e7bb4b61baf9d3d45ef4acb56 /src/nspawn/nspawn-def.h | |
parent | Merge pull request #7497 from yuwata/fix-cpu-set (diff) | |
download | systemd-87d5e4f2866889eaeacc47daec75aab41eeed54d.tar.xz systemd-87d5e4f2866889eaeacc47daec75aab41eeed54d.zip |
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.h | 6 |
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)) |