nspawn: be more careful with creating/chowning directories to overmount
We should never re-chown selinuxfs. Fixes: #15475
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
c98fef264b
commit
dcff2fa5d1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user