tree-wide: fix typos found by codespell
Reported by Fossies.org
This commit is contained in:
parent
415f8a5bfe
commit
69e3234db7
6
NEWS
6
NEWS
|
@ -90,7 +90,7 @@ CHANGES WITH 247 in spe:
|
||||||
latter it takes precedence over the former, similar to how most of
|
latter it takes precedence over the former, similar to how most of
|
||||||
systemd's own configuration is handled. Given that PAM stack
|
systemd's own configuration is handled. Given that PAM stack
|
||||||
definitions are primarily put together by OS vendors/distributions
|
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.
|
own PAM stack configuration for the "systemd-user" PAM service (i.e.
|
||||||
for the PAM session invoked by the per-user user@.service instance)
|
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
|
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
|
/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
|
desired the location to which systemd installs its PAM stack
|
||||||
configuration file may be changed via the "pamconfdir" meson variable
|
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.
|
introduced with systemd 247.
|
||||||
|
|
||||||
CHANGES WITH 246:
|
CHANGES WITH 246:
|
||||||
|
@ -260,7 +260,7 @@ CHANGES WITH 246:
|
||||||
generation for collection with systemd-pstore.
|
generation for collection with systemd-pstore.
|
||||||
|
|
||||||
* We provide a set of udev rules to enable auto-suspend on PCI and USB
|
* 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
|
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
|
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).
|
if the device modalias matches one of the new hwdb entries).
|
||||||
|
|
|
@ -301,7 +301,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR)
|
||||||
</term>
|
</term>
|
||||||
<listitem><para>Reconfigure network interfaces. Takes interface name or index number. Note that
|
<listitem><para>Reconfigure network interfaces. Takes interface name or index number. Note that
|
||||||
this does not reload <filename>.netdev</filename> or <filename>.network</filename>
|
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>
|
call <command>networkctl reload</command> first to apply new settings.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,7 @@
|
||||||
specifies the initial size of the loopback file to create.</para>
|
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
|
<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
|
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
|
pre-existing partitions (or before the first partition) that cannot be fully filled by partitions to
|
||||||
grow or create.</para>
|
grow or create.</para>
|
||||||
|
|
|
@ -200,13 +200,13 @@
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>If the address string is a string in the format
|
<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>
|
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
|
<para>If the address string is a string in the format
|
||||||
<literal>[<replaceable>x</replaceable>]:<replaceable>y</replaceable></literal>, it is interpreted as
|
<literal>[<replaceable>x</replaceable>]:<replaceable>y</replaceable></literal>, it is interpreted as
|
||||||
IPv6 address <replaceable>x</replaceable> and port <replaceable>y</replaceable>. An optional
|
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>.
|
<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
|
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
|
cases. Note that if an address is specified as IPv6, it might still make the service available via
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<varlistentry id='tclass-classid'>
|
<varlistentry id='tclass-classid'>
|
||||||
<term><varname>ClassId=</varname></term>
|
<term><varname>ClassId=</varname></term>
|
||||||
<listitem>
|
<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>).
|
hexadecimal in the range 0x1–Oxffff separated with a colon (<literal>major:minor</literal>).
|
||||||
Defaults to unset.</para>
|
Defaults to unset.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
|
@ -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,
|
* 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.
|
* 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
|
* <= 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
|
* 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
|
* common case where hardlinks are not used at all or only for few files the fact that we store the
|
||||||
|
|
|
@ -2484,7 +2484,7 @@ static int acquire_credentials(
|
||||||
if (dfd < 0)
|
if (dfd < 0)
|
||||||
return -errno;
|
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 */
|
* and thus act as a "default" if the same credential is specified multiple times */
|
||||||
HASHMAP_FOREACH(sc, context->set_credentials) {
|
HASHMAP_FOREACH(sc, context->set_credentials) {
|
||||||
size_t add;
|
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
|
* 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
|
* 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
|
* 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 */
|
if (mount(NULL, "/dev", NULL, MS_SLAVE|MS_REC, NULL) < 0) /* Turn off propagation from our namespace to host */
|
||||||
goto child_fail;
|
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
|
* we'll try not to call PR_SET_SECUREBITS unless necessary. Setting securebits requires
|
||||||
* CAP_SETPCAP. */
|
* CAP_SETPCAP. */
|
||||||
if (prctl(PR_GET_SECUREBITS) != secure_bits) {
|
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.
|
* effective set here.
|
||||||
* The effective set is overwritten during execve with the following values:
|
* The effective set is overwritten during execve with the following values:
|
||||||
* - ambient set (for non-root processes)
|
* - ambient set (for non-root processes)
|
||||||
|
|
|
@ -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
|
/* 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
|
* 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
|
* 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. */
|
* userns outside the container and thus nicely read-only and not remountable. */
|
||||||
if (access("/run/host/inaccessible/", F_OK) < 0) {
|
if (access("/run/host/inaccessible/", F_OK) < 0) {
|
||||||
|
|
|
@ -2183,7 +2183,7 @@ int home_create_luks(
|
||||||
if (disk_uuid_path)
|
if (disk_uuid_path)
|
||||||
(void) ioctl(image_fd, BLKRRPART, 0);
|
(void) ioctl(image_fd, BLKRRPART, 0);
|
||||||
else {
|
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);
|
r = fsync_directory_of_file(image_fd);
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_error_errno(r, "Failed to synchronize directory of image file to disk: %m");
|
log_error_errno(r, "Failed to synchronize directory of image file to disk: %m");
|
||||||
|
|
|
@ -704,7 +704,7 @@ static int dhcp4_address_ready_callback(Address *address) {
|
||||||
|
|
||||||
r = dhcp4_start_acd(link);
|
r = dhcp4_start_acd(link);
|
||||||
if (r < 0)
|
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);
|
dhcp4_check_ready(link);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
/* Hard lower limit for new partition sizes */
|
/* Hard lower limit for new partition sizes */
|
||||||
#define HARD_MIN_SIZE 4096
|
#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)
|
#define GPT_METADATA_SIZE (1044*1024)
|
||||||
|
|
||||||
/* LUKS2 takes off 16M of the partition size with its metadata by default */
|
/* LUKS2 takes off 16M of the partition size with its metadata by default */
|
||||||
|
|
|
@ -648,7 +648,7 @@ static int manager_dns_stub_fd_extra(Manager *m, DnsStubListenerExtra *l, int ty
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
goto fail;
|
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. */
|
* people may want ttl > 1. */
|
||||||
|
|
||||||
r = socket_set_freebind(fd, l->family, true);
|
r = socket_set_freebind(fd, l->family, true);
|
||||||
|
|
|
@ -36,7 +36,7 @@ static int populate_uid_cache(const char *root, Hashmap **ret) {
|
||||||
if (!cache)
|
if (!cache)
|
||||||
return -ENOMEM;
|
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. */
|
* could be made configurable, but I don't see the point right now. */
|
||||||
|
|
||||||
const char *fname;
|
const char *fname;
|
||||||
|
|
|
@ -210,7 +210,7 @@ typedef struct RecoveryKey {
|
||||||
/* The type of recovery key, must be "modhex64" right now */
|
/* The type of recovery key, must be "modhex64" right now */
|
||||||
char *type;
|
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;
|
char *hashed_password;
|
||||||
} RecoveryKey;
|
} RecoveryKey;
|
||||||
|
|
||||||
|
|
|
@ -528,7 +528,7 @@ static int dir_cleanup(
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* If statx() is supported, use it. It's preferable over fstatat() since it tells us
|
/* 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(),
|
* 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
|
* 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,
|
* we have modern statx() we use it instead of fstat() and do proper mount point checks,
|
||||||
|
|
Loading…
Reference in New Issue