From a14e028e869739021482c86ef3aeb861b0342dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 8 Sep 2021 15:46:17 +0200 Subject: man: cross-reference DeviceAllow= and PrivateDevices= They are somewhat similar, but not easy to discover, esp. considering that they are described in different pages. For PrivateDevices=, split out the first paragraph that gives the high-level overview. (The giant second paragraph could also use some heavy editing to break it up into more digestible chunks, alas.) --- man/systemd.resource-control.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'man/systemd.resource-control.xml') diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index ea728dff33..b21f8575a0 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -928,6 +928,11 @@ RestrictNetworkInterfaces=~eth1 url="https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/devices.html">Device Whitelist Controller. In the unified cgroup hierarchy this functionality is implemented using eBPF filtering. + When access to all physical devices should be disallowed, + PrivateDevices= may be used instead. See + systemd.exec5. + + The device node specifier is either a path to a device node in the file system, starting with /dev/, or a string starting with either char- or block- followed by a device group name, as listed in -- cgit v1.2.1