[systemd-devel] [PATCH] sys-kernel-debug.mount: mount with mode 755

Ramkumar Ramachandra artagnon at gmail.com
Thu Oct 3 22:30:47 PDT 2013


Kernel hackers need access to the debugfs filesystem. For instance, see
the performance subsystem (tools/perf in the kernel tree); we should let
all users, not just root, run the perf tool to collect performance
information about their programs by default.

Cc: Lennart Poettering <lennart at poettering.net>
Signed-off-by: Ramkumar Ramachandra <artagnon at gmail.com>
---
 units/sys-kernel-debug.mount | 1 +
 1 file changed, 1 insertion(+)

diff --git a/units/sys-kernel-debug.mount b/units/sys-kernel-debug.mount
index 5369728..f90bfc1 100644
--- a/units/sys-kernel-debug.mount
+++ b/units/sys-kernel-debug.mount
@@ -17,3 +17,4 @@ Before=sysinit.target
 What=debugfs
 Where=/sys/kernel/debug
 Type=debugfs
+Options=mode=755
-- 
1.8.4.477.g5d89aa9



More information about the systemd-devel mailing list