]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
treewide: fix typos in the entire codebase
authorDiego Viola <diego.viola@gmail.com>
Tue, 5 May 2026 11:22:55 +0000 (08:22 -0300)
committerLennart Poettering <lennart@poettering.net>
Tue, 5 May 2026 15:22:26 +0000 (17:22 +0200)
Signed-off-by: Diego Viola <diego.viola@gmail.com>
41 files changed:
NEWS
TODO.md
catalog/systemd.catalog.in
man/sd_id128_to_string.xml
po/es.po
rules.d/82-net-auto-link-local.rules
shell-completion/zsh/_resolvectl
src/core/dbus.c
src/core/ipe-setup.c
src/home/homework-luks.c
src/libsystemd/sd-varlink/sd-varlink-idl.c
src/locale/localed-util.c
src/network/netdev/bareudp.c
src/network/networkd-wwan-bus.c
src/network/wait-online/wait-online-manager.c
src/nspawn/nspawn-network.c
src/nsresourced/nsresourcework.c
src/pcrlock/pcrlock.c
src/portable/portable.c
src/resolve/resolved-dns-cache.c
src/resolve/test-dns-packet-extract.c
src/run/run.c
src/shared/bus-polkit.c
src/shared/bus-unit-util.c
src/shared/calendarspec.c
src/shared/copy.c
src/shared/dissect-image.c
src/shared/firewall-util.c
src/shared/ipvlan-util.c
src/shared/ipvlan-util.h
src/shared/libfido2-util.c
src/shared/specifier.c
src/shared/tests.c
src/shared/tpm2-util.c
src/shared/user-record.c
src/shared/varlink-io.systemd.Import.c
src/systemctl/systemctl-util.c
test/test-network/systemd-networkd-tests.py
test/units/TEST-36-NUMAPOLICY.sh
test/units/TEST-53-TIMER.RandomizedDelaySec-persistent.sh
test/units/TEST-87-AUX-UTILS-VM.pstore.sh

diff --git a/NEWS b/NEWS
index 49061c5e11a2268108ece8b4e89f073b7f215a5f..bc7ee1e2bf702373b251ea4ebc305755bf12777c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3433,7 +3433,7 @@ CHANGES WITH 257:
 
         systemd-importd:
 
-        * A new generator sytemd-import-generator has been added to synthesize
+        * A new generator systemd-import-generator has been added to synthesize
           image download jobs. This provides functionality similar to
           importctl, but is configured via the kernel command line and system
           credentials. It may be used to automatically download sysext,
@@ -4610,7 +4610,7 @@ CHANGES WITH 256:
           OpenSSH 9.4 or newer.
 
         * systemd-sysext gained support for enabling system extensions in
-          mutable fashion, where a writeable upperdir is stored under
+          mutable fashion, where a writable upperdir is stored under
           /var/lib/extensions.mutable/, and a new --mutable= option to
           configure this behaviour. An "ephemeral" mode is not also supported
           where the mutable layer is configured to be a tmpfs that is
@@ -15312,7 +15312,7 @@ CHANGES WITH 231:
 
         * The InaccessableDirectories=, ReadOnlyDirectories= and
           ReadWriteDirectories= unit file settings have been renamed to
-          InaccessablePaths=, ReadOnlyPaths= and ReadWritePaths= and may now be
+          InaccessiblePaths=, ReadOnlyPaths= and ReadWritePaths= and may now be
           applied to all kinds of file nodes, and not just directories, with
           the exception of symlinks. Specifically these settings may now be
           used on block and character device nodes, UNIX sockets and FIFOS as
@@ -20923,7 +20923,7 @@ CHANGES WITH 189:
           udev_device_new_from_device_id() call.
 
         * The logic for file system namespace (ReadOnlyDirectory=,
-          ReadWriteDirectoy=, PrivateTmp=) has been reworked not to
+          ReadWriteDirectories=, PrivateTmp=) has been reworked not to
           require pivot_root() anymore. This means fewer temporary
           directories are created below /tmp for this feature.
 
diff --git a/TODO.md b/TODO.md
index bcfe489151b5a16fc6d662e541e587aa2bb818f4..b785ac6178cdbd82c47a01f75d83d27abae60703 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -222,8 +222,8 @@ SPDX-License-Identifier: LGPL-2.1-or-later
   - download list + report updates in motd – but do not auto update
   - download list + download new version – but do not apply it
   - download list + download new version + apply it – but do not reboot
-  - download list + donwload new version + apply it + reboot
-  Other things the policy shoudl contain is when to place the reboot.
+  - download list + download new version + apply it + reboot
+  Other things the policy should contain is when to place the reboot.
   This would all decouple the updating of the package list from the application
   of it. Which is great for "countme" style stuff.
 
@@ -359,7 +359,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 
 - add bus API to retrieve current unit file contents (i.e. implement "systemctl cat" on the bus only)
 
-- Add ConditionDirectoryNotEmpty= handle non-absoute paths as a search path or add
+- Add ConditionDirectoryNotEmpty= handle non-absolute paths as a search path or add
   ConditionConfigSearchPathNotEmpty= or different syntax? See the discussion starting at
   https://github.com/systemd/systemd/pull/15109#issuecomment-607740136.
 
@@ -1546,7 +1546,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
   and stick around for the whole system runtime (i.e. root fs storage daemons,
   the bpf loader daemon discussed above, and such) are placed. maybe
   protected.slice or so? Then write docs that suggest that services like this
-  set Slice=protected.sice, RefuseManualStart=yes, RefuseManualStop=yes and a
+  set Slice=protected.slice, RefuseManualStart=yes, RefuseManualStop=yes and a
   couple of other things.
 
 - maybe add call sd_journal_set_block_timeout() or so to set SO_SNDTIMEO for
@@ -1840,7 +1840,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 
 - oci: add support for "importctl import-oci" which implements the "OCI layout"
   spec (i.e. acquiring via local fs access), as opposed to the current
-  "importctl pull-oci" which focusses on the "OCI image spec", i.e. downloads
+  "importctl pull-oci" which focuses on the "OCI image spec", i.e. downloads
   from the web (i.e. acquiring via URLs).
 
 - oci: add support for blake hashes for layers
index 68ef28d1974c0ac6953631051aadbbc0ce48e533..30da7bd5aa98b57974f5cd43f28a676f81a25d2a 100644 (file)
@@ -455,7 +455,7 @@ Support: %SUPPORT_URL%
 
 The directory @WHERE@ is specified as the mount point (second field in
 /etc/fstab or Where= field in systemd unit file) and is not empty.
-This does not interfere with mounting, but the pre-exisiting files in
+This does not interfere with mounting, but the pre-existing files in
 this directory become inaccessible. To see those over-mounted files,
 please manually mount the underlying file system to a secondary
 location.
index 1d6301ec61581b96df8829d220738b4fb1afb276..f5b6c9490ff2b9abe96892a7b28f66bc34c664c1 100644 (file)
@@ -72,7 +72,7 @@
 
     <para><function>sd_id128_to_uuid_string()</function> and <function>SD_ID128_TO_UUID_STRING()</function>
     are similar to these two functions/macros, but format the 128-bit values as RFC4122 UUIDs, i.e. a series
-    of 36 lowercase hexadeciaml digits and dashes, terminated by a <constant>NUL</constant> byte.</para>
+    of 36 lowercase hexadecimal digits and dashes, terminated by a <constant>NUL</constant> byte.</para>
 
     <para><function>sd_id128_from_string()</function> implements the reverse operation: it takes a 33
     character string with 32 hexadecimal digits (either lowercase or uppercase, terminated by
index 6e6304658278f4f4b7713183a4e426ec5e4afd12..7be1c80413602686a1114b9c2c0c923acee40d82 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -1054,7 +1054,7 @@ msgstr "Necesita autenticarse para restablecer la configuración de DNS."
 
 #: src/network/org.freedesktop.network1.policy:143
 msgid "DHCP server sends force renew message"
-msgstr "El servidor DCHP envía un mensaje de renovación forzada"
+msgstr "El servidor DHCP envía un mensaje de renovación forzada"
 
 #: src/network/org.freedesktop.network1.policy:144
 #, fuzzy
index 88ac7bc1be05ecc598b3c6685a8404e4eb280a95..88e581c16ca8e25e841bc7781d81ffa1fd6a1b39 100644 (file)
@@ -4,7 +4,7 @@ ACTION=="remove", GOTO="net_link_local_end"
 SUBSYSTEM!="net", GOTO="net_link_local_end"
 
 # Network interfaces for which only Link-Local communication (i.e. IPv4LL, …)
-# makes sense, because they almost certainy will point to another host, not an
+# makes sense, because they almost certainly will point to another host, not an
 # internet router.
 
 # (Note: matches against VID/PID go into 82-net-auto-link-local.hwdb instead)
index 3d28f1b410e045e5436c38703addd2b8668647ce..dc9a9f1e06dfa874fa939e3e7a40ef24b37dc864 100644 (file)
@@ -56,7 +56,7 @@
             query:"Resolve domain names, IPv4 and IPv6 addresses"
             reset-server-features:"Flushes all feature level information the resolver has learned about specific servers"
             reset-statistics:"Resets the statistics counter shown in statistics to zero"
-            revert:"Revert the per-interfce DNS configuration"
+            revert:"Revert the per-interface DNS configuration"
             service:"Resolve DNS-SD and SRV services"
             show-cache:"Show the current cache contents"
             show-server-state:"Show servers state"
index dba79b860266f425ae259e3051f71f5c14755b8a..659965e4e6c50e40eacc27f0e3b13e2bd91eb584 100644 (file)
@@ -1060,7 +1060,7 @@ int bus_fdset_add_all(Manager *m, FDSet *fds) {
 
         /* When we are about to reexecute we add all D-Bus fds to the
          * set to pass over to the newly executed systemd. They won't
-         * be used there however, except thatt they are closed at the
+         * be used there however, except that they are closed at the
          * very end of deserialization, those making it possible for
          * clients to synchronously wait for systemd to reexec by
          * simply waiting for disconnection */
index f263117018ef353c06c75cb3983cd9b250ad77ff..7b684e34b72a3819aaf779966951d87b110a7819 100644 (file)
@@ -23,7 +23,7 @@ int ipe_setup(void) {
         _cleanup_strv_free_ char **policies = NULL;
         int r;
 
-        /* Very quick smoke tests first: this is in the citical, sequential boot path, and in most cases it
+        /* Very quick smoke tests first: this is in the critical, sequential boot path, and in most cases it
          * is unlikely this will be configured, so do the fastest existence checks first and immediately
          * return if there's nothing to do. */
 
index e85153d61dbc2f090850233c02fd587ad13a9b66..9cd0f2dc00438413062b95a1392b7b774dd5c08f 100644 (file)
@@ -631,7 +631,7 @@ static int fs_validate(
                 sd_id128_t *ret_found_uuid) {
 
         _cleanup_free_ char *fstype = NULL;
-        sd_id128_t u = SD_ID128_NULL; /* avoid false maybe-unitialized warning */
+        sd_id128_t u = SD_ID128_NULL; /* avoid false maybe-uninitialized warning */
         int r;
 
         assert(dm_node);
index be66fb34afc39ee5df412f6f01924246e09f7474..55f9b8b1d0f4e61c9cb7fddc515f3e72ca452688 100644 (file)
@@ -389,7 +389,7 @@ static int varlink_idl_format_symbol(
                  * https://github.com/varlink/varlink.github.io/issues/26 – but for now export this as a
                  * comment.
                  *
-                 * Until this is resolved upsteam, consider this comment part of the API (i.e. don't change
+                 * Until this is resolved upstream, consider this comment part of the API (i.e. don't change
                  * only extend). It is used by tools like varlink-http-bridge. */
                 if ((symbol->symbol_flags & (SD_VARLINK_REQUIRES_MORE|SD_VARLINK_SUPPORTS_MORE)) != 0) {
                         fputs(colors[COLOR_COMMENT], f);
index 4cddfc32d9103a9d6c106936e79e3237b994c641..25c361d40040919624cbb937a554b4921876e1c3 100644 (file)
@@ -412,7 +412,7 @@ static bool locale_encoding_is_utf8_or_unspecified(const char *locale) {
 }
 
 static int locale_gen_locale_supported(const char *locale_entry) {
-        /* Returns an error valus <= 0 if the locale-gen entry is invalid or unsupported,
+        /* Returns an error value <= 0 if the locale-gen entry is invalid or unsupported,
          * 1 in case the locale entry is valid, and -EOPNOTSUPP specifically in case
          * the distributor has not provided us with a SUPPORTED file to check
          * locale for validity. */
index 9dd70296bc6c61f8c6a53115bb2b19a1c5d7280d..2183e11661c77f9131527ffb4d95c592a49d52cd 100644 (file)
@@ -49,7 +49,7 @@ static int netdev_bare_udp_verify(NetDev *netdev, const char *filename) {
 
         if (u->dest_port == 0)
                 return log_netdev_warning_errno(netdev, SYNTHETIC_ERRNO(EINVAL),
-                                                "%s: BareUDP DesinationPort= is not set. Ignoring.", filename);
+                                                "%s: BareUDP DestinationPort= is not set. Ignoring.", filename);
 
         if (u->iftype == _BARE_UDP_PROTOCOL_INVALID)
                 return log_netdev_warning_errno(netdev, SYNTHETIC_ERRNO(EINVAL),
index 19fcf081ae18878d72898a782c176e001fef1f6c..13a860e2dc012cf213da88dd6cce4e36f9aef65f 100644 (file)
@@ -1182,7 +1182,7 @@ int manager_match_mm_signals(Manager *manager) {
                         /* install_callback= */ NULL,
                         manager);
         if (r < 0)
-                return log_error_errno(r, "Failed to request signal for IntefaceAdded");
+                return log_error_errno(r, "Failed to request signal for InterfaceAdded");
 
         r = sd_bus_match_signal_async(
                         manager->bus,
@@ -1195,7 +1195,7 @@ int manager_match_mm_signals(Manager *manager) {
                         /* install_callback= */ NULL,
                         manager);
         if (r < 0)
-                return log_error_errno(r, "Failed to request signal for IntefaceRemoved");
+                return log_error_errno(r, "Failed to request signal for InterfaceRemoved");
 
         /* N.B. We need "path_namespace" for bearers, not "path", */
         r = sd_bus_add_match_async(
index b5ca38cbe24034724e562e4d6412c6acb950a65e..70e2b45f00d200a3c049550ab2f15bd0dffd5d95 100644 (file)
@@ -68,7 +68,7 @@ static const LinkOperationalStateRange* get_state_range(Manager *m, Link *l, con
                 if (operational_state_range_is_valid(range))
                         return range;
 
-        /* l->requred_operstate should be always valid. */
+        /* l->required_operstate should be always valid. */
         assert_not_reached();
 }
 
index 6949ecac724a9f2cbea9fae7430bf45b7dbbba23..ad506cfaf4b68346f517a709ba92868b837f31e5 100644 (file)
@@ -499,7 +499,7 @@ static int netns_child_begin(int netns_fd, int *ret_original_netns_fd) {
         if (r < 0)
                 return log_error_errno(r, "Failed to mount sysfs on /sys/: %m");
 
-        /* udev_avaliable() might be called previously and the result may be cached.
+        /* udev_available() might be called previously and the result may be cached.
          * Now, we (re-)mount sysfs. Hence, we need to reset the cache. */
         reset_cached_udev_availability();
 
index 3b2450529c3ac6bb492dd48aa630266984e01fd6..91b3645809a9242f3016d9e4eb009c43c836e7d3 100644 (file)
@@ -1925,7 +1925,7 @@ static void hash_ether_addr(UserNamespaceInfo *userns_info, const char *ifname,
         siphash24_compress_byte(0, &state); /* separator */
         siphash24_compress_string(strempty(ifname), &state);
         siphash24_compress_byte(0, &state); /* separator */
-        n = htole64(n); /* add the 'index' to the mix in an endianess-independent fashion */
+        n = htole64(n); /* add the 'index' to the mix in an endianness-independent fashion */
         siphash24_compress_typesafe(n, &state);
 
         h = htole64(siphash24_finalize(&state));
index 09f49b2ed250e4923e44806ee2bbdad57fe5b056..63af144fe03279585099a3f436eab8c54bdb9e43 100644 (file)
@@ -1947,7 +1947,7 @@ static int event_log_match_component_variant(
                 return r;
 
         if (assign) {
-                /* Take ownership (Note we allow multiple components and variants to take owneship of the same record!) */
+                /* Take ownership (Note we allow multiple components and variants to take ownership of the same record!) */
                 if (!GREEDY_REALLOC(el->records[i]->mapped, el->records[i]->n_mapped+1))
                         return log_oom();
 
index 3f3c0cda48891424989ee1e11462930d965f25ff..f9f47f2e0fd89e52c765cee18a00d1b893f147a4 100644 (file)
@@ -2431,7 +2431,7 @@ int portable_detach(
                         portable_changes_add_with_prefix(changes, n_changes, PORTABLE_UNLINK, where, md, NULL);
         }
 
-        /* Now, also drop any image symlink or copy, for images outside of the sarch path */
+        /* Now, also drop any image symlink or copy, for images outside of the search path */
         SET_FOREACH(item, markers) {
                 _cleanup_free_ char *target = NULL;
 
index 5540ce5c0593ddb9aca8ec5b26db0c297915ab66..6a7967842dbe49456bd3ea8350376770806a9ba4 100644 (file)
@@ -68,7 +68,7 @@ struct DnsCacheItem {
 };
 
 /* Returns true if this is a cache item created as result of an explicit lookup, or created as "side-effect"
- * of another request. "Primary" entries will carry the full answer data (with NSEC, …) that can aso prove
+ * of another request. "Primary" entries will carry the full answer data (with NSEC, …) that can also prove
  * wildcard expansion, non-existence and such, while entries that were created as "side-effect" just contain
  * immediate RR data for the specified RR key, but nothing else. */
 #define DNS_CACHE_ITEM_IS_PRIMARY(item) (!!(item)->answer)
index ca90afb7eb1dced91cdd6fb5963fb76655b7f972..28a510dea6467ff7c17b79b0983d8e38620a86f0 100644 (file)
@@ -400,7 +400,7 @@ TEST(packet_validate_query_too_many_questions) {
         ASSERT_ERROR(dns_packet_validate_query(packet), EBADMSG);
 }
 
-TEST(packet_validate_query_with_anwser) {
+TEST(packet_validate_query_with_answer) {
         _cleanup_(dns_packet_unrefp) DnsPacket *packet = NULL;
 
         ASSERT_OK(dns_packet_new(&packet, DNS_PROTOCOL_DNS, 0, DNS_PACKET_SIZE_MAX));
index afae5b2d94af44481842bde20b9d72d676cf5b82..60f3bf7405ebd419a93365e6bc1c0b40a17bea72 100644 (file)
@@ -962,7 +962,7 @@ static int parse_argv_sudo_mode(int argc, char *argv[]) {
                 arg_stdio = isatty_safe(STDIN_FILENO) && isatty_safe(STDOUT_FILENO) && isatty_safe(STDERR_FILENO) ? ARG_STDIO_PTY : ARG_STDIO_DIRECT;
         log_debug("Using %s stdio mode.", arg_stdio == ARG_STDIO_PTY ? "pty" : "direct");
         if (arg_pty_late < 0)
-                arg_pty_late = arg_ask_password; /* for run0 this defaults to on, except if --no-ask-pasword is used */
+                arg_pty_late = arg_ask_password; /* for run0 this defaults to on, except if --no-ask-password is used */
 
         arg_expand_environment = false;
         arg_send_sighup = true;
index 78e9ed377f3845f245b1a03e697bb2614cb00097..1373dba0ed2136d2b26c2ac61d1070aa7d29a382 100644 (file)
@@ -346,7 +346,7 @@ static int async_polkit_process_reply(sd_bus_message *reply, AsyncPolkitQuery *q
         if (r < 0)
                 return r;
 
-        /* Now, let's dispatch the original message a second time be re-enqueing. This will then traverse the
+        /* Now, let's dispatch the original message a second time be re-enqueuing. This will then traverse the
          * whole message processing again, and thus re-validating and re-retrieving the "userdata" field
          * again.
          *
index 440c6ced290eaa3dc51cd8a4a01b04ebee5584fb..7076322d2d315e9ad7f86e197f315f20a44c3d58 100644 (file)
@@ -2144,7 +2144,7 @@ static int bus_append_protect_hostname(sd_bus_message *m, const char *field, con
         int r;
 
         /* The command-line field is called "ProtectHostname". We also accept "ProtectHostnameEx" as the
-         * field name for backward compatibility. We set ProtectHostame or ProtectHostnameEx. */
+         * field name for backward compatibility. We set ProtectHostname or ProtectHostnameEx. */
 
         r = parse_boolean(eq);
         if (r >= 0)
index 771363517b39e6f0739fe7f277b3b75c0662d94e..225d811d19280a47f9ddbdd7f30b6f198892871f 100644 (file)
@@ -1127,7 +1127,7 @@ static int find_matching_component(
 
         assert(val);
 
-        /* Finds the *earliest* matching time specified by one of the CalendarCompoment items in chain c.
+        /* Finds the *earliest* matching time specified by one of the CalendarComponent items in chain c.
          * If no matches can be found, returns -ENOENT.
          * Otherwise, updates *val to the matching time. 1 is returned if *val was changed, 0 otherwise.
          */
index 3ac05c15b7b2a7c5f36beca5838c53fc5c94ef50..a8e2b68db14149e033c47dbccac903019300411f 100644 (file)
@@ -652,7 +652,7 @@ static int hardlink_context_setup(
          * <= 0, because in that case we will not actually allocate the hardlink inode lookup table directory
          * on disk (we do so lazily, when the first candidate with .n_link > 1 is seen). This means, in the
          * common case where hardlinks are not used at all or only for few files the fact that we store the
-         * table on disk shouldn't matter perfomance-wise. */
+         * table on disk shouldn't matter performance-wise. */
 
         if (!FLAGS_SET(copy_flags, COPY_HARDLINKS))
                 return 0;
index e69c644f58eeb1e969de39436d8540f091d86b7e..fcd809b0e61b18883cca54d08b1d4b9264a50ed9 100644 (file)
@@ -2298,7 +2298,7 @@ int partition_pick_mount_options(
         case PARTITION_XBOOTLDR:
                 flags |= MS_NOSUID|MS_NOEXEC|MS_NOSYMFOLLOW;
 
-                /* The ESP might contain a pre-boot random seed. Let's make this unaccessible to regular
+                /* The ESP might contain a pre-boot random seed. Let's make this inaccessible to regular
                  * userspace. ESP/XBOOTLDR is almost certainly VFAT, hence if we don't know assume it is. */
                 if (!fstype || fstype_can_fmask_dmask(fstype))
                         if (!strextend_with_separator(&options, ",", "fmask=0177,dmask=0077"))
index 4693972ff2752ea134a86804a4b7cfc382aba02e..441e137ec03cdb336fdc66402e27d4273f4a763b 100644 (file)
@@ -1026,7 +1026,7 @@ int fw_nftables_add_masquerade(
          * Note that this doesn't protect against external sabotage such as a
          * 'while true; nft flush ruleset; done'. There is nothing that could be done about that short
          * of extending the kernel to allow tables to be owned by stystemd-networkd and making them
-         * non-deleteable except by the 'owning process'. */
+         * non-deletable except by the 'owning process'. */
 
         r = fw_nftables_init_family(nfnl, af);
         if (r < 0)
index 1906c8026f47053cfac0f2a877b51dd22ea9a49d..5c271ba4b688b16481aaae8b7e4bf2282efc944d 100644 (file)
@@ -12,7 +12,7 @@ static const char* const ipvlan_mode_table[_NETDEV_IPVLAN_MODE_MAX] = {
 DEFINE_STRING_TABLE_LOOKUP(ipvlan_mode, IPVlanMode);
 
 static const char* const ipvlan_flags_table[_NETDEV_IPVLAN_FLAGS_MAX] = {
-        [NETDEV_IPVLAN_FLAGS_BRIGDE] = "bridge",
+        [NETDEV_IPVLAN_FLAGS_BRIDGE] = "bridge",
         [NETDEV_IPVLAN_FLAGS_PRIVATE] = "private",
         [NETDEV_IPVLAN_FLAGS_VEPA] = "vepa",
 };
index 4cb74f3dcbb920529f7e096f2996c827dc13fca2..194e5cea04289017d27db79b59673b6ab1fadf24 100644 (file)
@@ -14,7 +14,7 @@ typedef enum IPVlanMode {
 } IPVlanMode;
 
 typedef enum IPVlanFlags {
-        NETDEV_IPVLAN_FLAGS_BRIGDE,
+        NETDEV_IPVLAN_FLAGS_BRIDGE,
         NETDEV_IPVLAN_FLAGS_PRIVATE = IPVLAN_F_PRIVATE,
         NETDEV_IPVLAN_FLAGS_VEPA = IPVLAN_F_VEPA,
         _NETDEV_IPVLAN_FLAGS_MAX,
index cc00006af9d54a655a21f3e5bf0143b01693eebd..c25019e6b01d8f1dddebb52f8b5182e23f5ff24f 100644 (file)
@@ -361,7 +361,7 @@ static int fido2_is_cred_in_specific_token(
         /* According to CTAP 2.1 specification, to do pre-flight we need to set up option to false
          * with optionally pinUvAuthParam in assertion[1]. But for authenticator that doesn't support
          * user presence, once up option is present, the authenticator may return CTAP2_ERR_UNSUPPORTED_OPTION[2].
-         * So we simplely omit the option in that case.
+         * So we simply omit the option in that case.
          * Reference:
          * 1: https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#pre-flight
          * 2: https://fidoalliance.org/specs/fido-v2.0-ps-20190130/fido-client-to-authenticator-protocol-v2.0-ps-20190130.html#authenticatorGetAssertion (in step 5)
index 595160352225b1c23ed75f4be27fa23211547680..9d2066899f2fe0b5852499d13a255f105fce292d 100644 (file)
@@ -347,7 +347,7 @@ int specifier_user_name(char specifier, const void *data, const char *root, cons
          * to be able to run this in PID 1, where our user ID is 0, but where NSS lookups are not allowed.
 
          * We don't use getusername_malloc() here, because we don't want to look at $USER, to remain
-         * consistent with specifer_user_id() below.
+         * consistent with specifier_user_id() below.
          */
 
         t = uid_to_name(uid);
index 8111d481e4d6a413243346a58c7bbbefebc98319..84945343a46505b54383208b44e4c4e02d6cfdbf 100644 (file)
@@ -361,7 +361,7 @@ const char* ci_environment(void) {
         if (getenv("SALSA_CI_IMAGES"))
                 return (ans = "salsa-ci");
 
-        FOREACH_STRING(var, "CI", "CONTINOUS_INTEGRATION") {
+        FOREACH_STRING(var, "CI", "CONTINUOUS_INTEGRATION") {
                 /* Those vars are booleans according to Semaphore and Travis docs:
                  * https://docs.travis-ci.com/user/environment-variables/#default-environment-variables
                  * https://docs.semaphoreci.com/ci-cd-environment/environment-variables/#ci
index 091a4dba89ac3eda57f242c6ef157e611ff99920..4557ad3f41456159b6cb203f8ed1acaf56e3786b 100644 (file)
@@ -819,7 +819,7 @@ static bool tpm2_supports_tpmt_sym_def(Tpm2Context *c, const TPMT_SYM_DEF *param
         assert(c);
         assert(parameters);
 
-        /* Unfortunately, TPMT_SYM_DEF and TPMT_SYM_DEF_OBEJECT are separately defined, even though they are
+        /* Unfortunately, TPMT_SYM_DEF and TPMT_SYM_DEF_OBJECT are separately defined, even though they are
          * functionally identical. */
         TPMT_SYM_DEF_OBJECT object = {
                 .algorithm = parameters->algorithm,
index cf33d92215b8db6505f559022a622370f53f1a13..191870c8ea62de53fa45e5730d26ebda8005368b 100644 (file)
@@ -2489,7 +2489,7 @@ int user_record_self_changes_allowed(UserRecord *current, UserRecord *incoming)
          *    `selfModifiableFields` fields are unset in their record.
          * 2) This user crafts a request to add the following to their record:
          *    { "memberOf": ["wheel"], "selfModifiableFields": ["memberOf", "selfModifiableFields"] }
-         * 3) We remove the `mebmerOf` and `selfModifiabileFields` fields from `incoming`
+         * 3) We remove the `memberOf` and `selfModifiabileFields` fields from `incoming`
          * 4) `current` and `incoming` compare as equal, so we let the change happen
          * 5) the user has granted themselves administrator privileges
          */
index b4e2ab03e2d4eb7563db7cde687e92c9e9c8b371..13d239b9dacb2e984ad2fc93b0a69155ff6f1c37 100644 (file)
@@ -87,7 +87,7 @@ static SD_VARLINK_DEFINE_METHOD_FULL(
                 SD_VARLINK_DEFINE_INPUT_BY_TYPE(verify, ImageVerify, SD_VARLINK_NULLABLE),
                 SD_VARLINK_FIELD_COMMENT("If true, an existing image by the local name is deleted. Defaults to false."),
                 SD_VARLINK_DEFINE_INPUT(force, SD_VARLINK_BOOL, SD_VARLINK_NULLABLE),
-                SD_VARLINK_FIELD_COMMENT("Whether to make the image read-only after downloading. Defaults ot false."),
+                SD_VARLINK_FIELD_COMMENT("Whether to make the image read-only after downloading. Defaults to false."),
                 SD_VARLINK_DEFINE_INPUT(readOnly, SD_VARLINK_BOOL, SD_VARLINK_NULLABLE),
                 SD_VARLINK_FIELD_COMMENT("Whether to keep a pristine copy of the download separate from the locally installed image. Defaults to false."),
                 SD_VARLINK_DEFINE_INPUT(keepDownload, SD_VARLINK_BOOL, SD_VARLINK_NULLABLE),
index b278f784ba3eceb0a7daa3eb7d03002a6f00555d..8e8d7181121e3c788a3f4eeee77ebedaed760487 100644 (file)
@@ -508,7 +508,7 @@ int unit_find_paths(
          * Finds where the unit is defined on disk. Returns 0 if the unit is not found. Returns 1 if it is
          * found, and sets:
          *
-         * - the path to the unit in *ret_frament_path, if it exists on disk,
+         * - the path to the unit in *ret_fragment_path, if it exists on disk,
          *
          * - and a strv of existing drop-ins in *ret_dropin_paths, if the arg is not NULL and any dropins
          *   were found.
index 0db483084853588c46363bcb060cd236d9832305..6917c2f697b727bc76cbebbc7b5da45b4ca6a948 100755 (executable)
@@ -9332,7 +9332,7 @@ class NetworkdDHCPPDTests(unittest.TestCase, Utilities):
 
         # ipv4masklen: 8
         # 6rd-prefix: 2001:db8::/32
-        # br-addresss: 10.0.0.1
+        # br-address: 10.0.0.1
 
         start_dnsmasq('--dhcp-option=212,08:20:20:01:0d:b8:00:00:00:00:00:00:00:00:00:00:00:00:0a:00:00:01',
                       ipv4_range='10.100.100.100,10.100.100.200',
index 71fcdb45248705aa703b31d4ea327b3846c8ccae..1e2d7ac8ac133f47c15996c7a243d764a02f5da7 100755 (executable)
@@ -34,7 +34,7 @@ testUnitNUMAConf="$testUnitFile.d/numa.conf"
 sleepAfterStart=3
 
 # Journal cursor for easier navigation
-journalCursorFile="jounalCursorFile"
+journalCursorFile="journalCursorFile"
 
 startStrace() {
     coproc strace -qq -p 1 -o "$straceLog" -e set_mempolicy -s 1024 ${1:+"$1"}
index af22daecc7668e133ef87af42809cc02e085f9e8..e3005fe0f5df347259ec8188cd027e51a8a856cd 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 # SPDX-License-Identifier: LGPL-2.1-or-later
 #
-# Persistent timers (i.e. timers with Persitent=yes) save their last trigger timestamp to a persistent
+# Persistent timers (i.e. timers with Persistent=yes) save their last trigger timestamp to a persistent
 # storage (a stamp file), which is loaded during subsequent boots. As mentioned in the man page, such timers
 # should be still affected by RandomizedDelaySec= during boot even if they already elapsed and would be then
 # triggered immediately.
index be5297fa52da90e91a992078938f26c0234dea29..d05c99b15076cb6a834b84a51e06e47ab18ac3de 100755 (executable)
@@ -44,7 +44,7 @@ random_efi_timestamp() { printf "%0.10d" "$((1000000000 + RANDOM))"; }
 # The dmesg- filename contains the backend-type and the Common Platform Error Record, CPER,
 # record id, a 64-bit number.
 #
-# Files are processed in reverse lexigraphical order so as to properly reconstruct original dmesg.
+# Files are processed in reverse lexicographical order so as to properly reconstruct original dmesg.
 
 prepare_efi_logs() {
     local file="${1:?}"