]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nspawn: re-flow comments that are wrapped weird
authorLuke T. Shumaker <lukeshu@parabola.nu>
Fri, 6 Sep 2024 07:15:35 +0000 (01:15 -0600)
committerLuke T. Shumaker <lukeshu@parabola.nu>
Sat, 7 Sep 2024 00:33:50 +0000 (18:33 -0600)
src/nspawn/nspawn-register.c

index b63516d13efc0d87b34825e1ad518d64080c5623..9f2c1b8f4635722cf14447988b18e5f963f509d5 100644 (file)
@@ -29,21 +29,14 @@ static int append_machine_properties(
         if (r < 0)
                 return bus_log_create_error(r);
 
-        /* If you make changes here, also make sure to update systemd-nspawn@.service, to keep the device policies in
-         * sync regardless if we are run with or without the --keep-unit switch. */
+        /* If you make changes here, also make sure to update systemd-nspawn@.service, to keep the device
+         * policies in sync regardless if we are run with or without the --keep-unit switch. */
         r = sd_bus_message_append(m, "(sv)", "DeviceAllow", "a(ss)", 2,
-                                  /* Allow the container to
-                                   * access and create the API
-                                   * device nodes, so that
-                                   * PrivateDevices= in the
-                                   * container can work
-                                   * fine */
+                                  /* Allow the container to access and create the API device nodes, so that
+                                   * PrivateDevices= in the container can work fine */
                                   "/dev/net/tun", "rwm",
-                                  /* Allow the container
-                                   * access to ptys. However,
-                                   * do not permit the
-                                   * container to ever create
-                                   * these device nodes. */
+                                  /* Allow the container access to ptys. However, do not permit the container
+                                   * to ever create these device nodes. */
                                   "char-pts", "rw");
         if (r < 0)
                 return bus_log_create_error(r);