treewide: fix a few typos in NEWS, docs, comments, and log messages
This commit is contained in:
committed by
Luca Boccassi
parent
ec361ea9ce
commit
c309b9e9c3
@@ -20,7 +20,7 @@ typedef enum MountSettingsMask {
|
||||
MOUNT_TOUCH = 1 << 9, /* if set, touch file to mount over first */
|
||||
MOUNT_PREFIX_ROOT = 1 << 10,/* if set, prefix the source path with the container's root directory */
|
||||
MOUNT_FOLLOW_SYMLINKS = 1 << 11,/* if set, we'll follow symlinks for the mount target */
|
||||
MOUNT_PRIVILEGED = 1 << 12,/* if set, we'll only mount this in in the outer child if we are running in privileged mode */
|
||||
MOUNT_PRIVILEGED = 1 << 12,/* if set, we'll only mount this in the outer child if we are running in privileged mode */
|
||||
} MountSettingsMask;
|
||||
|
||||
typedef enum CustomMountType {
|
||||
|
||||
+1
-1
@@ -4184,7 +4184,7 @@ static int outer_child(
|
||||
* is then allocated for the container, the root mount and everything else will be out of reach for
|
||||
* it. For unprivileged containers we cannot do that however, since we couldn't mount a sysfs and
|
||||
* procfs then anymore, since that only works if there's an unobstructed instance currently
|
||||
* visible. Hence there we do it the other way round: we first allocate a new set set of namespaces
|
||||
* visible. Hence there we do it the other way round: we first allocate a new set of namespaces
|
||||
* (and fork for it) for which we then mount sysfs/procfs, and only then switch root. */
|
||||
|
||||
if (arg_privileged) {
|
||||
|
||||
Reference in New Issue
Block a user