doc: explicitly document that /dev/mem and /dev/port are blocked by PrivateDevices...
authorDjalal Harouni <tixxdz@opendz.org>
Mon, 19 Sep 2016 19:46:17 +0000 (21:46 +0200)
committerDjalal Harouni <tixxdz@opendz.org>
Sun, 25 Sep 2016 09:25:44 +0000 (11:25 +0200)
man/systemd.exec.xml

index 79ceee3..a3a431c 100644 (file)
         <listitem><para>Takes a boolean argument. If true, sets up a new /dev namespace for the executed processes and
         only adds API pseudo devices such as <filename>/dev/null</filename>, <filename>/dev/zero</filename> or
         <filename>/dev/random</filename> (as well as the pseudo TTY subsystem) to it, but no physical devices such as
-        <filename>/dev/sda</filename>. This is useful to securely turn off physical device access by the executed
-        process. Defaults to false. Enabling this option will also remove <constant>CAP_MKNOD</constant> from the
-        capability bounding set for the unit (see above), and set <varname>DevicePolicy=closed</varname> (see
+        <filename>/dev/sda</filename>, system memory <filename>/dev/mem</filename>, system ports
+        <filename>/dev/port</filename> and others. This is useful to securely turn off physical device access by the
+        executed process. Defaults to false. Enabling this option will also remove <constant>CAP_MKNOD</constant> from
+        the capability bounding set for the unit (see above), and set <varname>DevicePolicy=closed</varname> (see
         <citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>
         for details). Note that using this setting will disconnect propagation of mounts from the service to the host
         (propagation in the opposite direction continues to work).  This means that this setting may not be used for