chiark / gitweb /
core: introduce ConditionSecurity=audit
[elogind.git] / units / sys-kernel-debug.mount
index 85d53072f1d7fc54064a5aa00d89b549af768d7e..1e94387bacb988b35c76c5781090a10676ff9259 100644 (file)
@@ -7,8 +7,11 @@
 
 [Unit]
 Description=Debug File System
+Documentation=https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt
+Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
 DefaultDependencies=no
 ConditionPathExists=/sys/kernel/debug
+ConditionCapability=CAP_SYS_RAWIO
 Before=sysinit.target
 
 [Mount]