]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/nspawn/nspawn-def.h
68b6206e0ae117361271e8b983a65dabee8b2e44
[thirdparty/systemd.git] / src / nspawn / nspawn-def.h
1 #pragma once
2
3 /***
4 Copyright 2017 Lennart Poettering
5 ***/
6
7 #include <sys/types.h>
8
9 /* While we are chmod()ing a directory tree, we set the top-level UID base to this "busy" base, so that we can always
10 * recognize trees we are were chmod()ing recursively and got interrupted in */
11 #define UID_BUSY_BASE ((uid_t) UINT32_C(0xFFFE0000))
12 #define UID_BUSY_MASK ((uid_t) UINT32_C(0xFFFF0000))