Skip to contentSkip to conversation

kcore: add Kconfig help text

PATCH Superseded Randy Dunlap 2 participants 3 messages Nov 7, 2013 Proc filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kcore: add Kconfig help text

From: Randy Dunlap <[email protected]>

Under Pseudo filesystems, /proc/kcore support has no help, so add some.

Fixes a portion of kernel bugzilla #52671:
https://bugzilla.kernel.org/show_bug.cgi?id=52671

---
Would anyone like to expand on this help text?
Thanks.

 fs/proc/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
fs/proc/Kconfig +2 -0
@@ -31,6 +31,8 @@ config PROC_FS
 config PROC_KCORE
 	bool "/proc/kcore support" if !ARM
 	depends on PROC_FS && MMU
+	help
+	  Exports kernel core in ELF format.
 
 config PROC_VMCORE
 	bool "/proc/vmcore support"
#1 lore raw

fs/proc/Kconfig config PROC_FS · line 35

Quoted 1 line · Randy Dunlap
fs/proc/Kconfig +1 -0
+	  Exports kernel core in ELF format.

"Provides a virtual ELF core file of the live kernel. This can be read with gdb and other ELF tools. No modifications can be made using this mechanism."

maybe?

#2 lore raw

PATCH v2 1/1 kcore: add Kconfig help text

From: Randy Dunlap <[email protected]>

Under Pseudo filesystems, /proc/kcore support has no help.

Fixes a portion of kernel bugzilla #52671:
https://bugzilla.kernel.org/show_bug.cgi?id=52671

Thanks for David Howells for the help text.

---
 fs/proc/Kconfig |    4 ++++
 1 file changed, 4 insertions(+)
fs/proc/Kconfig +4 -0
@@ -31,6 +31,10 @@ config PROC_FS
 config PROC_KCORE
 	bool "/proc/kcore support" if !ARM
 	depends on PROC_FS && MMU
+	help
+	  Provides a virtual ELF core file of the live kernel.  This can
+	  be read with gdb and other ELF tools.  No modifications can be
+	  made using this mechanism.
 
 config PROC_VMCORE
 	bool "/proc/vmcore support"