diff options
author | Luke T. Shumaker <lukeshu@parabola.nu> | 2024-09-06 09:15:35 +0200 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@parabola.nu> | 2024-09-07 02:33:50 +0200 |
commit | 14762b27d3839345d66a9e54957854f13d94e3a9 (patch) | |
tree | ad6ab2dfbe75171bb09a26710d9a9f44d4ec2177 /src/nspawn/nspawn-register.c | |
parent | test: add a testcase for unprivileged nspawn (diff) | |
download | systemd-14762b27d3839345d66a9e54957854f13d94e3a9.tar.xz systemd-14762b27d3839345d66a9e54957854f13d94e3a9.zip |
nspawn: re-flow comments that are wrapped weird
Diffstat (limited to 'src/nspawn/nspawn-register.c')
-rw-r--r-- | src/nspawn/nspawn-register.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/nspawn/nspawn-register.c b/src/nspawn/nspawn-register.c index b63516d13e..9f2c1b8f46 100644 --- a/src/nspawn/nspawn-register.c +++ b/src/nspawn/nspawn-register.c @@ -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); |