1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-11 20:58:27 +03:00

nspawn: re-flow comments that are wrapped weird

This commit is contained in:
Luke T. Shumaker 2024-09-06 01:15:35 -06:00
parent 93c15c6d43
commit 14762b27d3

View 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);