lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202301291110098787982@zte.com.cn>
Date:   Sun, 29 Jan 2023 11:10:09 +0800 (CST)
From:   <ye.xingchen@....com.cn>
To:     <akpm@...ux-foundation.org>
Cc:     <keescook@...omium.org>, <nathan@...nel.org>,
        <ndesaulniers@...gle.com>, <peterz@...radead.org>,
        <jpoimboe@...nel.org>, <rdunlap@...radead.org>,
        <geert+renesas@...der.be>, <ojeda@...nel.org>,
        <zhaoyang.huang@...soc.com>, <vbabka@...e.cz>,
        <dan.j.williams@...el.com>, <linux@...musvillemoes.dk>,
        <linux-kernel@...r.kernel.org>
Subject: [PATCH] Kconfig.debug: fix the depends about config SCHED_DEBUG

From: ye xingchen <ye.xingchen@....com.cn>

Now, the right File Path about SCHED_DEBUG is /sys/kernel/debug/sched.
So, SCHED_DEBUG should depend on DEBUG_FS, not PROC_FS.

Signed-off-by: ye xingchen <ye.xingchen@....com.cn>
---
 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 520884f8f8e1..223b4459e710 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1143,7 +1143,7 @@ menu "Scheduler Debugging"

 config SCHED_DEBUG
 	bool "Collect scheduler debugging info"
-	depends on DEBUG_KERNEL && PROC_FS
+	depends on DEBUG_KERNEL && DEBUG_FS
 	default y
 	help
 	  If you say Y here, the /proc/sched_debug file will be provided
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ