X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=units%2Fsys-kernel-debug.mount;h=618270ddae8ab75200d402b4ed9c25f481815517;hb=aa91d5925ac874eab5357b86eb1ca520ba347584;hp=53d107260b2fd027a844ee25ec8b81fd41782e7a;hpb=2edd4434e5bc6e5c7948df742d82f4bcd6c415f3;p=thirdparty%2Fsystemd.git diff --git a/units/sys-kernel-debug.mount b/units/sys-kernel-debug.mount index 53d107260b2..618270ddae8 100644 --- a/units/sys-kernel-debug.mount +++ b/units/sys-kernel-debug.mount @@ -1,15 +1,23 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] -Description=Debug File System +Description=Kernel Debug File System +Documentation=https://www.kernel.org/doc/Documentation/filesystems/debugfs.txt +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems DefaultDependencies=no +ConditionPathExists=/sys/kernel/debug +ConditionCapability=CAP_SYS_RAWIO +Before=sysinit.target [Mount] What=debugfs Where=/sys/kernel/debug Type=debugfs +Options=nosuid,nodev,noexec