]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/nspawn/nspawn-def.h
license: LGPL-2.1+ -> LGPL-2.1-or-later
[thirdparty/systemd.git] / src / nspawn / nspawn-def.h
CommitLineData
db9ecf05 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
3603efde
LP
2#pragma once
3
3603efde
LP
4#include <sys/types.h>
5
3603efde
LP
6/* While we are chmod()ing a directory tree, we set the top-level UID base to this "busy" base, so that we can always
7 * recognize trees we are were chmod()ing recursively and got interrupted in */
8#define UID_BUSY_BASE ((uid_t) UINT32_C(0xFFFE0000))
9#define UID_BUSY_MASK ((uid_t) UINT32_C(0xFFFF0000))