codespell: fix spelling errors
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
51aba17b88
commit
5238e95759
@@ -161,7 +161,7 @@ int create_subcgroup(pid_t pid, bool keep_unit, CGroupUnified unified_requested)
|
||||
* attributes. Hence, let's insert an intermediary cgroup to cover that case too.
|
||||
*
|
||||
* Note that we only bother with the main hierarchy here, not with any secondary ones. On the unified setup
|
||||
* that's fine because there's only one hiearchy anyway and controllers are enabled directly on it. On the
|
||||
* that's fine because there's only one hierarchy anyway and controllers are enabled directly on it. On the
|
||||
* legacy setup, this is fine too, since delegation of controllers is generally not safe there, hence we won't
|
||||
* do it. */
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
* /bin/mount regarding NFS and FUSE required?
|
||||
* what does terminal=false mean?
|
||||
* sysctl inside or outside? whitelisting?
|
||||
* swapiness typo -> swappiness
|
||||
*
|
||||
* Unsupported:
|
||||
*
|
||||
|
||||
@@ -103,7 +103,7 @@ static int shift_acl(acl_t acl, uid_t shift, acl_t *ret) {
|
||||
|
||||
if (IN_SET(tag, ACL_USER, ACL_GROUP)) {
|
||||
|
||||
/* We don't distuingish here between uid_t and gid_t, let's make sure the compiler checks that
|
||||
/* We don't distinguish here between uid_t and gid_t, let's make sure the compiler checks that
|
||||
* this is actually OK */
|
||||
assert_cc(sizeof(uid_t) == sizeof(gid_t));
|
||||
|
||||
|
||||
+3
-3
@@ -1495,7 +1495,7 @@ static int verify_arguments(void) {
|
||||
|
||||
/* We don't support --private-users-chown together with any of the volatile modes since we couldn't
|
||||
* change the read-only part of the tree (i.e. /usr) anyway, or because it would trigger a massive
|
||||
* copy-up (in case of overlay) making the entire excercise pointless. */
|
||||
* copy-up (in case of overlay) making the entire exercise pointless. */
|
||||
if (arg_userns_chown && arg_volatile_mode != VOLATILE_NO)
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "--volatile= and --private-users-chown may not be combined.");
|
||||
|
||||
@@ -3293,7 +3293,7 @@ static int outer_child(
|
||||
|
||||
/* Mark everything as shared so our mounts get propagated down. This is
|
||||
* required to make new bind mounts available in systemd services
|
||||
* inside the containter that create a new mount namespace.
|
||||
* inside the container that create a new mount namespace.
|
||||
* See https://github.com/systemd/systemd/issues/3860
|
||||
* Further submounts (such as /dev) done after this will inherit the
|
||||
* shared propagation mode. */
|
||||
@@ -3715,7 +3715,7 @@ static int merge_settings(Settings *settings, const char *path) {
|
||||
/* Copy the full capabilities over too */
|
||||
if (capability_quintet_is_set(&settings->full_capabilities)) {
|
||||
if (!arg_settings_trusted)
|
||||
log_warning("Ignoring capabilitiy settings, file %s is not trusted.", path);
|
||||
log_warning("Ignoring capability settings, file %s is not trusted.", path);
|
||||
else
|
||||
arg_full_capabilities = settings->full_capabilities;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user