]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Typos found by codespell
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Wed, 20 Oct 2021 07:38:57 +0000 (09:38 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 20 Oct 2021 13:20:18 +0000 (22:20 +0900)
26 files changed:
docs/ENVIRONMENT.md
docs/PORTABLE_SERVICES.md
hwdb.d/60-keyboard.hwdb
man/kernel-command-line.xml
man/networkctl.xml
man/systemd-sysusers.xml
man/systemd-tmpfiles.xml
src/basic/dirent-util.c
src/basic/fileio.c
src/basic/hmac.h
src/basic/recurse-dir.c
src/boot/efi/cpio.c
src/boot/efi/initrd.c
src/boot/efi/linux.c
src/core/bpf-lsm.c
src/home/homed-home.c
src/home/homework-luks.c
src/network/networkctl.c
src/network/networkd-util.h
src/nspawn/nspawn-oci.c
src/shared/import-util.c
src/sysext/sysext.c
src/test/test-kbd-util.c
test/TEST-64-UDEV-STORAGE/test.sh
test/units/testsuite-64.sh
test/units/testsuite-65.sh

index 9a824820dabf711b4a674db907a90d71fc3e0e9d..502266a49b56da4777b08cdbae7dee8cf00f98a3 100644 (file)
@@ -366,7 +366,7 @@ disk images with `--image=` or similar:
   to validate the signature of the Verity root hash if available. If enabled
   (which is the default), the signature of suitable disk images is validated
   against any of the certificates in `/etc/verity.d/*.crt` (and similar
-  directores in `/usr/lib/`, `/run`, …) or passed to the kernel for validation
+  directories in `/usr/lib/`, `/run`, …) or passed to the kernel for validation
   against its built-in certificates.
 
 * `$SYSTEMD_LOOP_DIRECT_IO` – takes a boolean, which controls whether to enable
index 6091174ea021feef403edd47133ff68ff18e4010..df6eb9958e00825693c4f004a788376df56b4fbd 100644 (file)
@@ -21,7 +21,7 @@ and they are managed by the `systemd-portabled` service.
 
 Portable services don't bring anything inherently new to the table. All they do
 is put together known concepts to cover a specific set of use-cases in a
-sligtly nicer way.
+slightly nicer way.
 
 ## So, what *is* a "Portable Service"?
 
index 53342250e11eca9fce64a910fa792b10bbdcdb65..317c9854aa5d727b1f3f09d65bb976b8bb18d198 100644 (file)
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*:*
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:*
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:*
- KEYBOARD_KEY_86=wlan                                   # Fn+F3 or Fn+Q for comunication key
+ KEYBOARD_KEY_86=wlan                                   # Fn+F3 or Fn+Q for communication key
  KEYBOARD_KEY_a5=help                                   # Fn+F1
  KEYBOARD_KEY_a6=setup                                  # Fn+F2 Acer eSettings
  KEYBOARD_KEY_a7=battery                                # Fn+F3 Power Management
@@ -195,7 +195,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAOA*:*
 # Packard Bell and Gateway models
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pn*:*
 evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPackard*Bell*:pn*:*
- KEYBOARD_KEY_86=wlan                                   # Fn+F3 or Fn+Q for comunication key
+ KEYBOARD_KEY_86=wlan                                   # Fn+F3 or Fn+Q for communication key
 
 ###########################################################
 # Alienware
@@ -1496,7 +1496,7 @@ evdev:input:b0003v047FpC006*
 
 # If you're using an us layout keyboard in one of the below models of
 # Purism Librem 13 consider copying this file to /etc/systemd/hwdb.d/
-# to enable the following rule acording to your model.
+# to enable the following rule according to your model.
 #
 # There's a bug in the keyboards firmware and the additional rule
 # will make your keyboard behave as expected.
index 2093edd05c74beec862f47cde9b6a693ba6726b3..5f2643a290db42183f20c7a911bf05fed9c728c8 100644 (file)
         <term><varname>systemd.default_timeout_start_sec=</varname></term>
 
         <listitem>
-          <para>Overrrides the default start job timeout <varname>DefaultTimeoutStartSec=</varname> at
+          <para>Overrides the default start job timeout <varname>DefaultTimeoutStartSec=</varname> at
           boot. For details, see
           <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
         </listitem>
         <term><varname>systemd.watchdog_device=</varname></term>
 
         <listitem>
-          <para>Overrrides the watchdog device path <varname>WatchdogDevice=</varname>. For details, see
+          <para>Overrides the watchdog device path <varname>WatchdogDevice=</varname>. For details, see
           <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
         </listitem>
       </varlistentry>
         <term><varname>systemd.watchdog_sec=</varname></term>
 
         <listitem>
-          <para>Overrrides the watchdog timeout settings otherwise configured with
+          <para>Overrides the watchdog timeout settings otherwise configured with
           <varname>RuntimeWatchdog=</varname>, <varname>RebootWatchdog=</varname> and
           <varname>KExecWatchdogSec=</varname>. Takes a time value (if no unit is specified, seconds is the
           implicitly assumed time unit) or the special strings <literal>off</literal> or
index 2f7e9d7f4686ee093f9c2391f5b6f6260dc0b86f..23cd048de53f7d24761ecafdc532663389312b28 100644 (file)
@@ -54,7 +54,7 @@
         </term>
 
         <listitem>
-          <para>Show a list of existing links and their status. If one ore more
+          <para>Show a list of existing links and their status. If one or more
           <replaceable>PATTERN</replaceable>s are specified, only links matching one of them are shown.
           If no further arguments are specified shows all links,
           otherwise just the specified links. Produces output similar to:
 
         <listitem>
           <para>Show information about the specified links: type, state, kernel module driver, hardware and
-          IP address, configured DNS servers, etc. If one ore more <replaceable>PATTERN</replaceable>s are
+          IP address, configured DNS servers, etc. If one or more <replaceable>PATTERN</replaceable>s are
           specified, only links matching one of them are shown.</para>
 
           <para>When no links are specified, an overall network status is shown. Also see the option
index e0a89b071221d8af36b630172378fbe97a0960a1..cee8e6ef54ea0543611abe02b0712cdc5efd1ed2 100644 (file)
@@ -83,7 +83,7 @@
 
       <varlistentry>
         <term><option>--replace=<replaceable>PATH</replaceable></option></term>
-        <listitem><para>When this option is given, one ore more positional arguments
+        <listitem><para>When this option is given, one or more positional arguments
         must be specified. All configuration files found in the directories listed in
         <citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>
         will be read, and the configuration given on the command line will be
index 15bc1ea889b830d5c029513611e82dd79899f5fa..425ed23dd35e91793d89769c7011d9b6bcdb225c 100644 (file)
 
       <varlistentry>
         <term><option>--replace=<replaceable>PATH</replaceable></option></term>
-        <listitem><para>When this option is given, one ore more positional arguments
+        <listitem><para>When this option is given, one or more positional arguments
         must be specified. All configuration files found in the directories listed in
         <citerefentry><refentrytitle>tmpfiles.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>
         will be read, and the configuration given on the command line will be
index d578e6836d60c3d1c0a897c9dce14ef4f012f6dd..2eea228c20a01e3c5790b69e29d1f6b74ef7bbdb 100644 (file)
@@ -88,7 +88,7 @@ struct dirent *readdir_ensure_type(DIR *d) {
                         return NULL;
                 }
 
-                /* Vanished by now? Then skip immedately to next */
+                /* Vanished by now? Then skip immediately to next */
         }
 }
 
index 09c72830c26aca518bafa46aff6a31660a0958c8..8d92da327ee98c9b1aca735da087635143d2f143 100644 (file)
@@ -166,7 +166,7 @@ int write_string_stream_ts(
                  * it won't be equal to the new value. */
                 if (read_virtual_file_fd(fd, strlen(line)+1, &t, NULL) > 0 &&
                     streq_skip_trailing_chars(line, t, NEWLINE)) {
-                        log_debug("No change in value '%s', supressing write", line);
+                        log_debug("No change in value '%s', suppressing write", line);
                         return 0;
                 }
 
index 12b594c09b2b5d063eec40f507f8fd7eb522812d..a5682c439fe0ff3be1c324e99d6a3871fff6ec36 100644 (file)
@@ -8,5 +8,5 @@
 
 /* Unoptimized implementation based on FIPS 198. 'res' has to be allocated by
  * the caller. Prefer external OpenSSL functions, and use this only when
- * linking to OpenSSL is not desireable (eg: libsystemd.so). */
+ * linking to OpenSSL is not desirable (eg: libsystemd.so). */
 void hmac_sha256(const void *key, size_t key_size, const void *input, size_t input_size, uint8_t res[static SHA256_DIGEST_SIZE]);
index 309e92118541f44f452e22ffbc09d2d1b99b5a41..86018c8d29cfa3946c5cdf8329d68d68847dad7c 100644 (file)
@@ -42,7 +42,7 @@ int readdir_all(int dir_fd,
          * array with readdir_all_freep(). */
 
         /* Only if 64bit off_t is enabled struct dirent + struct dirent64 are actually the same. We require
-         * this, and we want them to be interchangable, hence verify that. */
+         * this, and we want them to be interchangeable, hence verify that. */
         assert_cc(_FILE_OFFSET_BITS == 64);
         assert_cc(sizeof(struct dirent) == sizeof(struct dirent64));
         assert_cc(offsetof(struct dirent, d_ino) == offsetof(struct dirent64, d_ino));
@@ -273,7 +273,7 @@ int recurse_dir(
                                 if (S_ISDIR(sx.stx_mode)) {
                                         /* What? It's a directory now? Then someone must have quickly
                                          * replaced it. Let's handle that gracefully: convert it to a
-                                         * directory fd — which sould be riskless now that we pinned the
+                                         * directory fd — which should be riskless now that we pinned the
                                          * inode. */
 
                                         subdir_fd = openat(AT_FDCWD, FORMAT_PROC_FD_PATH(inode_fd), O_DIRECTORY|O_CLOEXEC);
index bffe4f638c656389edc8f121c5d267cd430be6b7..bb7c988031eeab9e100ef7a436344aac7389d098 100644 (file)
@@ -43,7 +43,7 @@ static CHAR8* pad4(CHAR8 *p, const CHAR8* start) {
         assert(start);
         assert(p >= start);
 
-        /* Appends NUL bytes to 'p', until the address is divisable by 4, when taken relative to 'start' */
+        /* Appends NUL bytes to 'p', until the address is divisible by 4, when taken relative to 'start' */
 
         while ((p - start) % 4 != 0)
                 *(p++) = 0;
index b302743adf96afaaf068f07a3b8891fae2ee7f3c..4475a3d5eee87611e443198138ec8e6a35f626c7 100644 (file)
@@ -80,9 +80,9 @@ EFI_STATUS initrd_register(
         if (!initrd_address || initrd_length == 0)
                 return EFI_SUCCESS;
 
-        /* check if a LINUX_INITRD_MEDIA_GUID DevicePath is already registed.
+        /* check if a LINUX_INITRD_MEDIA_GUID DevicePath is already registered.
            LocateDevicePath checks for the "closest DevicePath" and returns its handle,
-           where as InstallMultipleProtocolInterfaces only maches identical DevicePaths.
+           where as InstallMultipleProtocolInterfaces only matches identical DevicePaths.
          */
         err = BS->LocateDevicePath(&EfiLoadFile2Protocol, &dp, &handle);
         if (err != EFI_NOT_FOUND) /* InitrdMedia is already registered */
index f86fcc11432f8ab160a12a41bf1e19430ae59f04..c20ddbdfc6e31f7dae7054f979d43509f365577b 100644 (file)
@@ -145,7 +145,7 @@ EFI_STATUS linux_exec(
 
         /* Linux kernel complains if it's not loaded at a properly aligned memory address. The correct alignment
            is provided by Linux as the SegmentAlignment in the PeOptionalHeader. Additionally the kernel needs to
-           be in a memory segment thats SizeOfImage (again from PeOptionalHeader) large, so that the Kernel has
+           be in a memory segment that's SizeOfImage (again from PeOptionalHeader) large, so that the Kernel has
            space for its BSS section. SizeOfImage is always larger than linux_length, which is only the size of
            Code, (static) Data and Headers.
 
index 46c244684946f3b8ebb64a20f57eff2ca4b49273..ed35cad91dd60628113657010651f49117a2d1d8 100644 (file)
@@ -368,7 +368,7 @@ int lsm_bpf_parse_filesystem(
                                 case -ENOMEM:
                                         return flags & FILESYSTEM_PARSE_LOG ? log_oom() : -ENOMEM;
                                 case -EEXIST:
-                                        /* Alredy in set, ignore */
+                                        /* Already in set, ignore */
                                         break;
                                 default:
                                         return r;
index d8f192650efac3ecf28801f16638d97933f779e5..ccd99e3c9d4b5c2baabb4f7529536ff247389cb9 100644 (file)
@@ -440,7 +440,7 @@ static void home_start_retry_deactivate(Home *h) {
         assert(h);
         assert(h->manager);
 
-        /* Alrady allocated? */
+        /* Already allocated? */
         if (h->retry_deactivate_event_source)
                 return;
 
index 05e2950b4b445741c217cd62d4b00e49d4176146..e0b7279c7129eea84104a1c8926dc15b096d6f32 100644 (file)
@@ -1073,7 +1073,7 @@ static int lock_image_fd(int image_fd, const char *ip) {
                 if (fstat(image_fd, &st) < 0)
                         return log_error_errno(errno, "Failed to stat image file: %m");
                 if (S_ISBLK(st.st_mode)) {
-                        /* Locking block devices doesn't really make sense, as this might interfear with
+                        /* Locking block devices doesn't really make sense, as this might interfere with
                          * udev's workings, and these locks aren't network propagated anyway, hence not what
                          * we are after here. */
                         log_debug("Not locking image file '%s', since it's a block device.", ip);
index 32332ac0ba725f8ed7fcddc343ccb8b3e7d8130f..0ec01dc11e5f0d48695c195e67d0a60ceae18357 100644 (file)
@@ -2872,7 +2872,7 @@ static int help(void) {
                "     --no-pager          Do not pipe output into a pager\n"
                "     --no-legend         Do not show the headers and footers\n"
                "  -a --all               Show status for all links\n"
-               "  -s --stats             Show detailed link statics\n"
+               "  -s --stats             Show detailed link statistics\n"
                "  -l --full              Do not ellipsize output\n"
                "  -n --lines=INTEGER     Number of journal entries to show\n"
                "     --json=pretty|short|off\n"
index 21e8a93629768c4359317fcbf7965b212b6a5029..6318b91118ad9d93bca612bc9baf52fc7a19da8e 100644 (file)
@@ -34,12 +34,12 @@ typedef enum NetworkConfigSource {
 typedef enum NetworkConfigState {
         NETWORK_CONFIG_STATE_PROBING     = 1 << 0, /* address is probing by IPv4ACD */
         NETWORK_CONFIG_STATE_REQUESTING  = 1 << 1, /* request is queued */
-        NETWORK_CONFIG_STATE_CONFIGURING = 1 << 2, /* e.g. address_configure() is called, but no responce is received yet */
+        NETWORK_CONFIG_STATE_CONFIGURING = 1 << 2, /* e.g. address_configure() is called, but no response is received yet */
         NETWORK_CONFIG_STATE_CONFIGURED  = 1 << 3, /* e.g. address_configure() is called and received a response from kernel.
                                                     * Note that address may not be ready yet, so please use address_is_ready()
                                                     * to check whether the address can be usable or not. */
         NETWORK_CONFIG_STATE_MARKED      = 1 << 4, /* used GC'ing the old config */
-        NETWORK_CONFIG_STATE_REMOVING    = 1 << 5, /* e.g. address_remove() is called, but no responce is received yet */
+        NETWORK_CONFIG_STATE_REMOVING    = 1 << 5, /* e.g. address_remove() is called, but no response is received yet */
 } NetworkConfigState;
 
 CONFIG_PARSER_PROTOTYPE(config_parse_link_local_address_family);
index 1db69b45128414ebf1dfdd52ba4973cdc06bc232..9912c5acbb77605b4efbb6e992ab4c25989977eb 100644 (file)
@@ -48,7 +48,7 @@
  * should escaping be applied when joining mount options with ","?
  * devices cgroup support is bogus, "allow" and "deny" on the kernel level is about adding/removing entries, not about access
  * spec needs to say that "rwm" devices cgroup combination can't be the empty string
- * cgrouspv1 crap: kernel, kernelTCP, swapiness, disableOOMKiller, swap, devices, leafWeight
+ * cgrouspv1 crap: kernel, kernelTCP, swappiness, disableOOMKiller, swap, devices, leafWeight
  * general: it shouldn't leak lower level abstractions this obviously
  * unmanagable cgroups stuff: realtimeRuntime/realtimePeriod
  * needs to say what happense when some option is not specified, i.e. which defaults apply
index bb1e5136a736289d34ea3cc06d2b9a3504e763ed..97d39ee04777bc6dcf1760895ecfeba039e2b573 100644 (file)
@@ -90,7 +90,7 @@ int import_url_change_suffix(
         /* This drops the specified number of path components of the specified URI, i.e. the specified number
          * of non-empty substring between two "/" characters from the end of the string, and then append the
          * specified suffix instead. Before doing all this it chops off the "Query" and "Fragment" suffixes
-         * (they are *not* readded to the final URL). Note that n_drop_components may be 0 (in which case the
+         * (they are *not* re-added to the final URL). Note that n_drop_components may be 0 (in which case the
          * component are simply added to the end). The suffix may be specified as NULL or empty string in
          * which case nothing is appended, only the specified number of components chopped off. Note that the
          * function may be called with n_drop_components == 0 and suffix == NULL, in which case the "Query"
index 509cb9bf319c687e76755c6db1a580e6cc2c5454..b1f10e1eae6d0af2d50f8ee44baeacd471457d3e 100644 (file)
@@ -591,7 +591,7 @@ static int merge_subprocess(Hashmap *images, const char *workspace) {
                         continue;
                 }
 
-                /* Noice! This one is an extension we want. */
+                /* Nice! This one is an extension we want. */
                 r = strv_extend(&extensions, img->name);
                 if (r < 0)
                         return log_oom();
index c7b4b842c0227f86d806193c5eb46152224b1a7a..f15cff4794021d288655f097a2dc6f9ded5f8899 100644 (file)
@@ -15,7 +15,7 @@ int main(int argc, char *argv[]) {
 
         r = get_keymaps(&maps);
         if (r < 0) {
-                log_error_errno(r, "Failed to aquire keymaps: %m");
+                log_error_errno(r, "Failed to acquire keymaps: %m");
                 return 0;
         }
 
index 227258f3e459869ae49934201ead6858ab4906b0..d9abfc5d95c250f243610337c774359f3f8ac728 100755 (executable)
@@ -121,7 +121,7 @@ test_run() {
     for testcase in "${TESTCASES[@]}"; do
         _image_cleanup
         echo "------ $testcase: BEGIN ------"
-        # Note for my future frustrated self: `fun && xxx` (as wel as ||, if, while,
+        # Note for my future frustrated self: `fun && xxx` (as well as ||, if, while,
         # until, etc.) _DISABLES_ the `set -e` behavior in _ALL_ nested function
         # calls made from `fun()`, i.e. the function _CONTINUES_ even when a called
         # command returned non-zero EC. That may unexpectedly hide failing commands
index 10cd59f47226afd7dad3c91236ab6203a02199ef..22e11fe05cf815b7e67d8ef865e77660172964c1 100755 (executable)
@@ -226,7 +226,7 @@ EOF
     # Initial partition table
     sfdisk -q -X gpt "$blockdev" <"$partscript"
 
-    # Delete the partitions, immediatelly recreate them, wait for udev to settle
+    # Delete the partitions, immediately recreate them, wait for udev to settle
     # down, and then check if we have any dangling symlinks in /dev/disk/. Rinse
     # and repeat.
     #
index 3c3d795d63dce786ab5b368d566daae822705240..c2cbf33cf52b045dc0f2eb0a78077f35c29edfca 100755 (executable)
@@ -56,7 +56,7 @@ EOF
 systemd-analyze verify --recursive-errors=no /tmp/testfile2.service
 
 set +e
-# Non-zero exit status since all associated dependencies are recusively loaded when the unit file is loaded
+# Non-zero exit status since all associated dependencies are recursively loaded when the unit file is loaded
 systemd-analyze verify --recursive-errors=yes /tmp/testfile2.service \
     && { echo 'unexpected success'; exit 1; }
 set -e