]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: fix typos found by codespell
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Sep 2020 13:32:37 +0000 (15:32 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Sep 2020 13:32:37 +0000 (15:32 +0200)
Reported by Fossies.org

15 files changed:
NEWS
man/networkctl.xml
man/systemd-repart.xml
man/systemd.socket.xml
man/tc.xml
src/basic/copy.c
src/core/execute.c
src/core/mount-setup.c
src/home/homework-luks.c
src/network/networkd-dhcp4.c
src/partition/repart.c
src/resolve/resolved-dns-stub.c
src/shared/offline-passwd.c
src/shared/user-record.h
src/tmpfiles/tmpfiles.c

diff --git a/NEWS b/NEWS
index e2e6ebe5283d0e48331773088e5d96a06207e77f..99194b02d0b068f3fd522eb9384925f510032881 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -90,7 +90,7 @@ CHANGES WITH 247 in spe:
           latter it takes precedence over the former, similar to how most of
           systemd's own configuration is handled. Given that PAM stack
           definitions are primarily put together by OS vendors/distributions
-          (though possibly overriden by users), this systemd release moves its
+          (though possibly overridden by users), this systemd release moves its
           own PAM stack configuration for the "systemd-user" PAM service (i.e.
           for the PAM session invoked by the per-user user@.service instance)
           from /etc/pam.d/ to /usr/lib/pam.d/. We recommend moving all
@@ -98,7 +98,7 @@ CHANGES WITH 247 in spe:
           /etc/pam.d/ to /usr/lib/pam.d/, but if such OS-wide migration is not
           desired the location to which systemd installs its PAM stack
           configuration file may be changed via the "pamconfdir" meson variable
-          at build time, optionally undoing ths change of default paths
+          at build time, optionally undoing this change of default paths
           introduced with systemd 247.
 
 CHANGES WITH 246:
@@ -260,7 +260,7 @@ CHANGES WITH 246:
           generation for collection with systemd-pstore.
 
         * We provide a set of udev rules to enable auto-suspend on PCI and USB
-          devices that were tested to currectly support it. Previously, this
+          devices that were tested to correctly support it. Previously, this
           was distributed as a set of udev rules, but has now been replaced by
           by a set of hwdb entries (and a much shorter udev rule to take action
           if the device modalias matches one of the new hwdb entries).
index 1a4553afd92797c77087cf32a9825f08537a1ae7..9b50912765b348e0ba1c0136a28c74ce7342f3a9 100644 (file)
@@ -301,7 +301,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
         </term>
         <listitem><para>Reconfigure network interfaces. Takes interface name or index number. Note that
         this does not reload <filename>.netdev</filename> or <filename>.network</filename>
-        corresponding to the the specifed interface. So, if you edit config files, it is necessary to
+        corresponding to the the specified interface. So, if you edit config files, it is necessary to
         call <command>networkctl reload</command> first to apply new settings.</para></listitem>
       </varlistentry>
 
index fb0d4c3496990d4e06f68fb912790aafd61ac70b..b234cfe94969bbf4f42c4e67b36fb624421908db 100644 (file)
         specifies the initial size of the loopback file to create.</para>
 
         <para>The <option>--size=auto</option> option takes the sizes of pre-existing partitions into
-        account. However, it does not accomodate for partition tables that are not tightly packed: the
+        account. However, it does not accommodate for partition tables that are not tightly packed: the
         configured partitions might still not fit into the backing device if empty space exists between
         pre-existing partitions (or before the first partition) that cannot be fully filled by partitions to
         grow or create.</para>
index 3aff45318566821c959cf0719907f29f058fcad9..733977b88d39f8b8383c2b285d130acadb94b16c 100644 (file)
         </para>
 
         <para>If the address string is a string in the format
-        <literal><replaceable>v.w.x.y</replaceable>:<replaceable>z</replaceable></literal>, it is interpeted
+        <literal><replaceable>v.w.x.y</replaceable>:<replaceable>z</replaceable></literal>, it is interpreted
         as IPv4 address <replaceable>v.w.x.y</replaceable> and port <replaceable>z</replaceable>.</para>
 
         <para>If the address string is a string in the format
         <literal>[<replaceable>x</replaceable>]:<replaceable>y</replaceable></literal>, it is interpreted as
         IPv6 address <replaceable>x</replaceable> and port <replaceable>y</replaceable>. An optional
-        interface scope (interface name or number) may be specifed after a <literal>%</literal> symbol:
+        interface scope (interface name or number) may be specified after a <literal>%</literal> symbol:
         <literal>[<replaceable>x</replaceable>]:<replaceable>y</replaceable>%<replaceable>dev</replaceable></literal>.
         Interface scopes are only useful with link-local addresses, because the kernel ignores them in other
         cases. Note that if an address is specified as IPv6, it might still make the service available via
index f312ac269289c55d89b4694c4d94458f14d9e1e2..da24c081ee764b8a575458caee6671ec0ecd9f12 100644 (file)
@@ -39,7 +39,7 @@
     <varlistentry id='tclass-classid'>
       <term><varname>ClassId=</varname></term>
       <listitem>
-        <para>Configues the unique identifier of the class. It is specified as the major and minor numbers in
+        <para>Configures the unique identifier of the class. It is specified as the major and minor numbers in
         hexadecimal in the range 0x1–Oxffff separated with a colon (<literal>major:minor</literal>).
         Defaults to unset.</para>
       </listitem>
index 6c1d045ea903db7244e0a92aa3ef96efbbeee2de..773f7b80677d45894a625d639aad6ab7f3142755 100644 (file)
@@ -432,7 +432,7 @@ static int hardlink_context_setup(
          * bottleneck we can certainly place an in-memory hash table in front of this, but for the beginning,
          * let's keep things simple, and just use the disk as lookup table for inodes.
          *
-         * Note that this should have zero performace impact as long as .n_link of all files copied remains
+         * Note that this should have zero performance impact as long as .n_link of all files copied remains
          * <= 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
index 694033e82c14f3fb818b798ce1a698963cc3f8de..50294a506f0bb69e635113eb0bf2cd8ffeea70cc 100644 (file)
@@ -2484,7 +2484,7 @@ static int acquire_credentials(
         if (dfd < 0)
                 return -errno;
 
-        /* First we use the literally specified credentials. Note that they might be overriden again below,
+        /* First we use the literally specified credentials. Note that they might be overridden again below,
          * and thus act as a "default" if the same credential is specified multiple times */
         HASHMAP_FOREACH(sc, context->set_credentials) {
                 size_t add;
@@ -2804,7 +2804,7 @@ static int setup_credentials(
                  * Yes it's nasty playing games with /dev/ and /dev/shm/ like this, since it does not exist
                  * for this purpose, but there are few other candidates that work equally well for us, and
                  * given that the we do this in a privately namespaced short-lived single-threaded process
-                 * that noone else sees this should be OK to do.*/
+                 * that no one else sees this should be OK to do.*/
 
                 if (mount(NULL, "/dev", NULL, MS_SLAVE|MS_REC, NULL) < 0) /* Turn off propagation from our namespace to host */
                         goto child_fail;
@@ -4340,7 +4340,7 @@ static int exec_child(
                  * we'll try not to call PR_SET_SECUREBITS unless necessary. Setting securebits requires
                  * CAP_SETPCAP. */
                 if (prctl(PR_GET_SECUREBITS) != secure_bits) {
-                        /* CAP_SETPCAP is required to set securebits. This capabilitiy is raised into the
+                        /* CAP_SETPCAP is required to set securebits. This capability is raised into the
                          * effective set here.
                          * The effective set is overwritten during execve  with the following  values:
                          * - ambient set (for non-root processes)
index cc43bcdc7b64da6f3cb0d30c30c76e60f5ccd9b2..7c177839b3b81e6b0e2872b325cb67315d91a5a6 100644 (file)
@@ -542,7 +542,7 @@ int mount_setup(bool loaded_policy, bool leave_propagation) {
 
         /* Also create /run/systemd/inaccessible nodes, so that we always have something to mount
          * inaccessible nodes from. If we run in a container the host might have created these for us already
-         * in /run/host/inaccessible/. Use those if we can, since tht way we likely get access to block/char
+         * in /run/host/inaccessible/. Use those if we can, since that way we likely get access to block/char
          * device nodes that are inaccessible, and if userns is used to nodes that are on mounts owned by a
          * userns outside the container and thus nicely read-only and not remountable. */
         if (access("/run/host/inaccessible/", F_OK) < 0) {
index b263d758270d773ea1eb2c2b7415727b69aaf13e..b9e696f0acae073c5c1b7910f265a742713a2d37 100644 (file)
@@ -2183,7 +2183,7 @@ int home_create_luks(
         if (disk_uuid_path)
                 (void) ioctl(image_fd, BLKRRPART, 0);
         else {
-                /* If we operate on a file, sync the contaning directory too. */
+                /* If we operate on a file, sync the containing directory too. */
                 r = fsync_directory_of_file(image_fd);
                 if (r < 0) {
                         log_error_errno(r, "Failed to synchronize directory of image file to disk: %m");
index 167b86d0ba64eb7b966debaed27d2a31d3a10485..eddeb0d5ef727f2d144f108cc4a867f0ed41a23e 100644 (file)
@@ -704,7 +704,7 @@ static int dhcp4_address_ready_callback(Address *address) {
 
         r = dhcp4_start_acd(link);
         if (r < 0)
-                return log_link_error_errno(link, r, "Failed to start IPv4ACD for DHCP4 adddress: %m");
+                return log_link_error_errno(link, r, "Failed to start IPv4ACD for DHCP4 address: %m");
 
         dhcp4_check_ready(link);
         return 0;
index a7803c878cdaf13181efb298a6ee224b7930b836..28c9de7b2beea00eb314af5a96247d8ca029f790 100644 (file)
@@ -66,7 +66,7 @@
 /* Hard lower limit for new partition sizes */
 #define HARD_MIN_SIZE 4096
 
-/* libfdisk takes off sightly more than 1M of the disk size when creating a GPT disk label */
+/* libfdisk takes off slightly more than 1M of the disk size when creating a GPT disk label */
 #define GPT_METADATA_SIZE (1044*1024)
 
 /* LUKS2 takes off 16M of the partition size with its metadata by default */
index 1d23a199e9e840b5fe7fd1387c22364b1b98dcd1..5c6da94b3362102efc7ff79c2552e8ce6d17277f 100644 (file)
@@ -648,7 +648,7 @@ static int manager_dns_stub_fd_extra(Manager *m, DnsStubListenerExtra *l, int ty
         if (r < 0)
                 goto fail;
 
-        /* Do not set IP_TTL for extra DNS stub listners, as the address may not be local and in that case
+        /* Do not set IP_TTL for extra DNS stub listeners, as the address may not be local and in that case
          * people may want ttl > 1. */
 
         r = socket_set_freebind(fd, l->family, true);
index 26a1b9c537dcee24cdcdd091739626b43fe037c2..2d14a38dfeb38b3e0ef8fd40803d2fb8255e402f 100644 (file)
@@ -36,7 +36,7 @@ static int populate_uid_cache(const char *root, Hashmap **ret) {
         if (!cache)
                 return -ENOMEM;
 
-        /* The directory list is harcoded here: /etc is the standard, and rpm-ostree uses /usr/lib. This
+        /* The directory list is hardcoded here: /etc is the standard, and rpm-ostree uses /usr/lib. This
          * could be made configurable, but I don't see the point right now. */
 
         const char *fname;
index bbcb2201e8a8f7e9a5c55509bdf3c2d0e1cb3cbf..357c246ea5f08622e4f45eb7f848950e0d733e5e 100644 (file)
@@ -210,7 +210,7 @@ typedef struct RecoveryKey {
         /* The type of recovery key, must be "modhex64" right now */
         char *type;
 
-        /* A UNIX pasword hash of the normalized form of modhex64 */
+        /* A UNIX password hash of the normalized form of modhex64 */
         char *hashed_password;
 } RecoveryKey;
 
index 47da74c2993580497a95ab582c67f3b81bd46758..b9b37008b128a5a56b966555c04afe3741a1d388 100644 (file)
@@ -528,7 +528,7 @@ static int dir_cleanup(
                         continue;
 
                 /* If statx() is supported, use it. It's preferable over fstatat() since it tells us
-                 * explicitly where we are looking at a mount point, for free as side information. Determing
+                 * explicitly where we are looking at a mount point, for free as side information. Determining
                  * the same information without statx() is hard, see the complexity of path_is_mount_point(),
                  * and also much slower as it requires a number of syscalls instead of just one. Hence, when
                  * we have modern statx() we use it instead of fstat() and do proper mount point checks,