Fix typos reported by Fossies (#43084)

This commit is contained in:
Luca Boccassi
2026-07-20 12:38:47 +01:00
committed by GitHub
7 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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))
+1 -1
View File
@@ -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; /* <untagged> is always set togather with <begin>.
bool pvid_is_untagged, untagged = false; /* <untagged> is always set together with <begin>.
* Initialize to appease gcc. */
int r;
+1 -1
View File
@@ -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;
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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"),
+1 -1
View File
@@ -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) {