Make procfs obligatory except under CONFIG_EMBEDDED
PATCH 1/1 Make procfs obligatory except under CONFIG_EMBEDDED
From: H. Peter Anvin <[email protected]>
This patch makes procfs non-optional unless EMBEDDED is set, just like sysfs. procfs is already de facto required for a large subset of Linux functionality.
fs/Kconfig +2 -1
@@ -764,7 +764,8 @@ endmenu menu "Pseudo filesystems" config PROC_FS - bool "/proc file system support" + bool "/proc file system support" if EMBEDDED + default y help This is a virtual file system providing information about the status of the system. "Virtual" means that it doesn't take up any space on
Quoted 5 lines · H. Peter Anvin
From: H. Peter Anvin <[email protected]>
This patch makes procfs non-optional unless EMBEDDED is set, just like sysfs. procfs is already de facto required for a large subset of Linux functionality.
I have no objection, but I'm curious why this wasn't done long ago.
Quoted 17 lines
Signed-off-by H. Peter Anvin <[email protected]>fs/Kconfig +2
-1@@ -764,7 +764,8 @@ endmenu menu "Pseudo filesystems" config PROC_FS - bool "/proc file system support" + bool "/proc file system support" if EMBEDDED + default y help This is a virtual file system providing information about the status of the system. "Virtual" means that it doesn't take up any space on
Quoted 9 lines · Bill Davidsen
Quoted 5 lines · H. Peter Anvin
From: H. Peter Anvin <[email protected]>
This patch makes procfs non-optional unless EMBEDDED is set, just like sysfs. procfs is already de facto required for a large subset of Linux functionality.
I have no objection, but I'm curious why this wasn't done long ago.
Probably because procfs predates CONFIG_EMBEDDED by many years, and noone really thought about it. Either that or it was part of the "let's switch all of userspace to sysfs, overnight!" conspiracy.
-hpa