]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: 'allows to' -> 'allows one to'
authorLuca Boccassi <bluca@debian.org>
Tue, 14 May 2024 13:38:37 +0000 (14:38 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 14 May 2024 16:33:27 +0000 (18:33 +0200)
As flagged by Lintian

docs/ELF_PACKAGE_METADATA.md
docs/MEMORY_PRESSURE.md
man/systemd-cryptenroll.xml
src/analyze/analyze-security.c
src/boot/efi/secure-boot.c
src/core/manager.c
src/core/transaction.c
src/core/unit.c
src/vconsole/vconsole-setup.c

index 176f574e91069c0acc5ce0ec0bade6d7d776e546..2b58cf1380aff32b645c2cc1c9e96140c494b12c 100644 (file)
@@ -14,7 +14,7 @@ or parse ELF core files.*
 
 ELF binaries get stamped with a unique, build-time generated hex string identifier called `build-id`,
 [which gets embedded as an ELF note called `.note.gnu.build-id`](https://fedoraproject.org/wiki/Releases/FeatureBuildId).
-In most cases, this allows to associate a stripped binary with its debugging information.
+In most cases, this allows a stripped binary to be associated with its debugging information.
 It is used, for example, to dynamically fetch DWARF symbols from a debuginfo server, or
 to query the local package manager and find out the package metadata or, again, the DWARF
 symbols or program sources.
index 69c23eccb2bde9faac4e3e775e1faccc8e9620bd..da1c9b2e4af7762547e64fab056239649d4a01c5 100644 (file)
@@ -169,7 +169,7 @@ pressure handling:
   setting controls whether to enable the memory pressure protocol for the
   service in question.
 
-* The `MemoryPressureThresholdSec=` setting allows to configure the threshold
+* The `MemoryPressureThresholdSec=` setting allows configuring the threshold
   when to signal memory pressure to the services. It takes a time value
   (usually in the millisecond range) that defines a threshold per 1s time
   window: if memory allocation latencies grow beyond this threshold
index 8baab80dc76a73c8b3e7b0b05e9cfd986cb0131d..a47866ba61a8f19fc5fb6ec971dbea4da6f8caa7 100644 (file)
         <term><option>--pkcs11-token-uri=<replaceable>URI</replaceable></option></term>
 
         <listitem><para>Enroll a PKCS#11 security token or smartcard (e.g. a YubiKey). Expects a PKCS#11 URI
-        that allows to find an X.509 certificate or a public key on the token. The URI must also be suitable
+        that allows finding an X.509 certificate or a public key on the token. The URI must also be suitable
         to find a related private key after changing the type of object in it. Alternatively the special
         value <literal>auto</literal> may be specified, in order to automatically determine the suitable URI
         if a single security token containing a single key pair is plugged in. The special value
index 668475d1f573836ec529eb2f66917acd635fb5c0..75508f4d395f2673b0ac34ca594fe715a6d4c269 100644 (file)
@@ -2729,7 +2729,7 @@ static int offline_security_checks(
 
                 /* When a portable image is analyzed, the profile is what provides a good chunk of
                  * the security-related settings, but they are obviously not shipped with the image.
-                 * This allows to take them in consideration. */
+                 * This allows them to be taken into consideration. */
                 if (profile) {
                         _cleanup_free_ char *unit_name = NULL, *dropin = NULL, *profile_path = NULL;
 
index 1a7ae637741daa2b5c34fc6ad7441c1412bd629c..2400324fc56b100d8b1d68f20c800c56de80750c 100644 (file)
@@ -33,7 +33,7 @@ SecureBootMode secure_boot_mode(void) {
 }
 
 /*
- * Custom mode allows to change secure boot certificate databases db, dbx, KEK and PK without the variable
+ * Custom mode allows the secure boot certificate databases db, dbx, KEK, and PK to be changed without the variable
  * updates being signed. When enrolling certificates to an unconfigured system (no PK present yet) writing
  * db, dbx and KEK updates without signature works fine even in standard mode. Writing PK updates without
  * signature requires custom mode in any case.
index 4c9ef44a4afbcfed7e4cfc2adde040507b3d4727..43fbd0e1e4e1503211ea242b179227463a83b5db 100644 (file)
@@ -2375,7 +2375,7 @@ int manager_load_unit_prepare(
 
         Unit *unit = manager_get_unit(m, name);
         if (unit) {
-                /* The time-based cache allows to start new units without daemon-reload,
+                /* The time-based cache allows new units to be started without daemon-reload,
                  * but if they are already referenced (because of dependencies or ordering)
                  * then we have to force a load of the fragment. As an optimization, check
                  * first if anything in the usual paths was modified since the last time
index d70a44b23c853a02132f87507a8d58b80b181a9a..ab6e699d33e9861f41dcf6583470a8e70af11adf 100644 (file)
@@ -964,7 +964,7 @@ int transaction_add_job_and_dependencies(
 
         if (type != JOB_STOP) {
                 r = bus_unit_validate_load_state(unit, e);
-                /* The time-based cache allows to start new units without daemon-reload, but if they are
+                /* The time-based cache allows new units to be started without daemon-reload, but if they are
                  * already referenced (because of dependencies or ordering) then we have to force a load of
                  * the fragment. As an optimization, check first if anything in the usual paths was modified
                  * since the last time the cache was loaded. Also check if the last time an attempt to load
index 0b2460cada0a5fa52987a1571bd7d634595f3ff0..324f82c3a42baab9c1a7572e23e239106226d8cb 100644 (file)
@@ -3186,8 +3186,8 @@ int unit_add_dependency(
         if (u->manager && FLAGS_SET(u->manager->test_run_flags, MANAGER_TEST_RUN_IGNORE_DEPENDENCIES))
                 return 0;
 
-        /* Note that ordering a device unit after a unit is permitted since it allows to start its job
-         * running timeout at a specific time. */
+        /* Note that ordering a device unit after a unit is permitted since it allows its job running
+         * timeout to be started at a specific time. */
         if (FLAGS_SET(a, UNIT_ATOM_BEFORE) && other->type == UNIT_DEVICE) {
                 log_unit_warning(u, "Dependency Before=%s ignored (.device units cannot be delayed)", other->id);
                 return 0;
index 2a73d01d7e76298e49521ee29e1c11dc6e998c10..e0b1621461fae173fcd7747672e71575201ea8f9 100644 (file)
@@ -390,13 +390,11 @@ static int font_load_and_wait(const char *vc, Context *c) {
 }
 
 /*
- * A newly allocated VT uses the font from the source VT. Here
- * we update all possibly already allocated VTs with the configured
- * font. It also allows to restart systemd-vconsole-setup.service,
- * to apply a new font to all VTs.
+ * A newly allocated VT uses the font from the source VT. Here we update all possibly already allocated VTs
+ * with the configured font. It also allows systemd-vconsole-setup.service to be restarted to apply a new
+ * font to all VTs.
  *
- * We also setup per-console utf8 related stuff: kbdmode, term
- * processing, stty iutf8.
+ * We also setup per-console utf8 related stuff: kbdmode, term processing, stty iutf8.
  */
 static void setup_remaining_vcs(int src_fd, unsigned src_idx, bool utf8) {
         struct console_font_op cfo = {