fs/fdcheck: Let FDCHECK depend on SCHED_HAVE_PARENT

since the implementation of fdcheck call getppid

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-06-16 05:14:52 +08:00 committed by Petro Karashchenko
parent 275db394bc
commit 14e5bcaf6e

View File

@ -71,6 +71,7 @@ config FDSAN
config FDCHECK
bool "Enable fdcheck"
default n
depends on SCHED_HAVE_PARENT
---help---
Enable the fdcheck support