diff --git a/TODO.md b/TODO.md index 2acd84d1d1..3ad7ec7bda 100644 --- a/TODO.md +++ b/TODO.md @@ -183,7 +183,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later - ed25519 authentication for sd-boot upgrades for the dm-verity key logic -- in sysupdate resolve %C or so as specifier in transfer fiels to the value of +- in sysupdate resolve %C or so as specifier in transfer fields to the value of a specific machine tag channel= or so. - make vmspawn parse UKIs for direct kernel boot @@ -201,7 +201,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later environments systemd runs in. - nspawn/vmspawn: add a concept how we can hand into the payload some proof - that it is runnin on a certain host, which it can then include in the report, + that it is running on a certain host, which it can then include in the report, and which allows us to put together a map about which node runs as payload of which other note. in particular useful for transient nodes, as it gives them a better location diff --git a/src/basic/string-util.c b/src/basic/string-util.c index b2278c288e..9de61aafe8 100644 --- a/src/basic/string-util.c +++ b/src/basic/string-util.c @@ -1520,7 +1520,7 @@ char* find_line_after_internal(const char *haystack, const char *needle) { bool version_is_valid(const char *s, VersionFlags flags) { - /* Validates a version string superficially. This does not proces the version string in any + /* Validates a version string superficially. This does not process the version string in any * semantical way, it mostly just validates that its charset is reasonable. */ if (FLAGS_SET(flags, VERSION_ALLOW_EMPTY) ? !s : isempty(s)) diff --git a/src/network/networkd-bridge-vlan.c b/src/network/networkd-bridge-vlan.c index ed1aa5e1df..1302c0dbfa 100644 --- a/src/network/networkd-bridge-vlan.c +++ b/src/network/networkd-bridge-vlan.c @@ -108,7 +108,7 @@ static uint16_t link_get_pvid(Link *link, bool *ret_untagged) { static int bridge_vlan_append_set_info(Link *link, sd_netlink_message *m) { _cleanup_free_ char *str = NULL; uint16_t pvid, begin = UINT16_MAX; - bool pvid_is_untagged, untagged = false; /* is always set togather with . + bool pvid_is_untagged, untagged = false; /* is always set together with . * Initialize to appease gcc. */ int r; diff --git a/src/report/report-sign.c b/src/report/report-sign.c index 150547dcf4..aabf2a5583 100644 --- a/src/report/report-sign.c +++ b/src/report/report-sign.c @@ -171,7 +171,7 @@ int context_sign_report( if (fputs(text, output) == EOF) return log_error_errno(errno, "Failed to write report: %m"); - /* For the signatures we can use the requested formattting */ + /* For the signatures we can use the requested formatting */ format_flags |= SD_JSON_FORMAT_SEQ; format_flags &= ~SD_JSON_FORMAT_OFF; diff --git a/src/shared/tpm2-util.c b/src/shared/tpm2-util.c index c43616df51..d0758efdc9 100644 --- a/src/shared/tpm2-util.c +++ b/src/shared/tpm2-util.c @@ -2057,7 +2057,7 @@ static int tpm2_get_custom_ek_template( /* This is the default SHA-256 authorization policy for high-range endorsement keys. High-range EKs * define a policy that permits the privacy administrator to delegate admin usage of the endorsement key via * TPM2_PolicyAuthorizeNV. There is one NV index defined per name algorithm. These and their public - * attributes are specified in secion A.1 of the "TCG EK Credential Profile for TPM Family 2.0" spec. + * attributes are specified in section A.1 of the "TCG EK Credential Profile for TPM Family 2.0" spec. * * This policy is: * @@ -2075,7 +2075,7 @@ static int tpm2_get_custom_ek_template( /* This is the default SHA-384 authorization policy for high-range endorsement keys. High-range EKs * define a policy that permits the privacy administrator to delegate admin usage of the endorsement key via * TPM2_PolicyAuthorizeNV. There is one NV index defined per name algorithm. These and their public - * attributes are specified in secion A.1 of the "TCG EK Credential Profile for TPM Family 2.0" spec. + * attributes are specified in section A.1 of the "TCG EK Credential Profile for TPM Family 2.0" spec. * * This policy is: * @@ -5031,7 +5031,7 @@ static void tpm2_make_policy_ref(const char *policy_ref, TPM2B_NONCE *ret_policy * As we don't know what the maximum digest size supported by the TPM is when publishing a * signed policy, we pick SHA256 which is universally supported on PC-Client devices. Ideally the * algorithm ID would be prepended to the digest, but we don't know if the TPM2B_NONCE type can - * accomodate this. For this reason, the digest algorithm here should match the one used to create + * accommodate this. For this reason, the digest algorithm here should match the one used to create * the approved digest for the corresponding policy, which is always SHA256 at the moment. * * Note that we return a policy ref size of 0 if no string is supplied in order to maintain diff --git a/src/shared/varlink-io.systemd.SysInstall.c b/src/shared/varlink-io.systemd.SysInstall.c index c93a0276fa..1af27ab292 100644 --- a/src/shared/varlink-io.systemd.SysInstall.c +++ b/src/shared/varlink-io.systemd.SysInstall.c @@ -41,7 +41,7 @@ static SD_VARLINK_DEFINE_METHOD_FULL( SD_VARLINK_DEFINE_INPUT(erase, SD_VARLINK_BOOL, 0), SD_VARLINK_FIELD_COMMENT("If true, EFI variables are modified to register the installed boot loader in the firmware's boot options database."), SD_VARLINK_DEFINE_INPUT(variables, SD_VARLINK_BOOL, SD_VARLINK_NULLABLE), - SD_VARLINK_FIELD_COMMENT("The path to a kernel image, if missing the current kernel is dedected and used."), + SD_VARLINK_FIELD_COMMENT("The path to a kernel image, if missing the current kernel is detected and used."), SD_VARLINK_DEFINE_INPUT(kernelImagePath, SD_VARLINK_STRING, SD_VARLINK_NULLABLE), SD_VARLINK_FIELD_COMMENT("If true, the current locale is copied to target system"), diff --git a/src/sysupdate/sysupdate-cleanup.c b/src/sysupdate/sysupdate-cleanup.c index f45ac37e2c..fc18c594ac 100644 --- a/src/sysupdate/sysupdate-cleanup.c +++ b/src/sysupdate/sysupdate-cleanup.c @@ -161,7 +161,7 @@ static int context_is_path_currently_owned( assert(path); assert(relpath); - /* Checks if the there's a transfer file for the directoy 'path', and then if any of its patterns + /* Checks if there's a transfer file for the directory 'path', and then if any of its patterns * match 'relpath' */ FOREACH_ARRAY(_t, c->transfers, c->n_transfers) {