libs/fdcheck: add dependency LIBC_OPEN_MAX <= 256

The maximum of file desciptor is 255 for current fdcheck design

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1 2025-04-17 21:00:01 +08:00 committed by Xiang Xiao
parent a9b64df4b4
commit c0819324df

View file

@ -77,6 +77,7 @@ config FDSAN
config FDCHECK
bool "Enable fdcheck"
default n
depends on LIBC_OPEN_MAX <= 256
---help---
Enable the fdcheck support