diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-04-22 16:35:32 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-04-28 19:40:46 +0200 |
commit | dcff2fa5d16f01edd774cd9dbc21fa4385af65bb (patch) | |
tree | 63a929203b3cc284e037b1cd9a5c24b00e095f01 /src/nspawn/nspawn-mount.h | |
parent | update TODO (diff) | |
download | systemd-dcff2fa5d16f01edd774cd9dbc21fa4385af65bb.tar.xz systemd-dcff2fa5d16f01edd774cd9dbc21fa4385af65bb.zip |
nspawn: be more careful with creating/chowning directories to overmount
We should never re-chown selinuxfs.
Fixes: #15475
Diffstat (limited to '')
-rw-r--r-- | src/nspawn/nspawn-mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-mount.h b/src/nspawn/nspawn-mount.h index 680ff350e5..e8bb903839 100644 --- a/src/nspawn/nspawn-mount.h +++ b/src/nspawn/nspawn-mount.h @@ -16,6 +16,7 @@ typedef enum MountSettingsMask { MOUNT_APPLY_TMPFS_TMP = 1 << 5, /* if set, /tmp will be mounted as tmpfs */ MOUNT_ROOT_ONLY = 1 << 6, /* if set, only root mounts are mounted */ MOUNT_NON_ROOT_ONLY = 1 << 7, /* if set, only non-root mounts are mounted */ + MOUNT_MKDIR = 1 << 8, /* if set, make directory to mount over first */ } MountSettingsMask; typedef enum CustomMountType { |