]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/sys-kernel-config.mount
Merge pull request #12738 from yuwata/network-routing-policy-cleanup
[thirdparty/systemd.git] / units / sys-kernel-config.mount
index e7cd4909c161aff38c17fea55f7aa088b670ee44..e6997884dc91b2507ad3edaa74705584ec580877 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -6,10 +8,12 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Configuration File System
+Description=Kernel Configuration File System
 Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt
+Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
 DefaultDependencies=no
 ConditionPathExists=/sys/kernel/config
+ConditionCapability=CAP_SYS_RAWIO
 After=systemd-modules-load.service
 Before=sysinit.target
 
@@ -17,3 +21,4 @@ Before=sysinit.target
 What=configfs
 Where=/sys/kernel/config
 Type=configfs
+Options=nosuid,nodev,noexec