]> git.baikalelectronics.ru Git - kernel.git/commit
proc: make config PROC_CHILDREN depend on PROC_FS
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Fri, 9 Sep 2022 12:25:29 +0000 (14:25 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:21:43 +0000 (14:21 -0700)
commit92936c6c31947e6bc468dcaf16e55a182b2b9f9a
tree7e8b73314fbe259bdea623c1915dc19062eb5123
parent1a3454ea761e6bcd0a4de79ad7e870158ee3d6d0
proc: make config PROC_CHILDREN depend on PROC_FS

Commit b7b9612f9376 ("fs, proc: introduce CONFIG_PROC_CHILDREN")
introduces the config PROC_CHILDREN to configure kernels to provide the
/proc/<pid>/task/<tid>/children file.

When one deselects PROC_FS for kernel builds without /proc/, the config
PROC_CHILDREN has no effect anymore, but is still visible in menuconfig.

Add the dependency on PROC_FS to make the PROC_CHILDREN option disappear
for kernel builds without /proc/.

Link: https://lkml.kernel.org/r/20220909122529.1941-1-lukas.bulwahn@gmail.com
Fixes: b7b9612f9376 ("fs, proc: introduce CONFIG_PROC_CHILDREN")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: Iago López Galeiras <iago@endocode.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/Kconfig