This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit c0819324dfd5b0aa64edac58466f0093f9cd367d
Author: dongjiuzhu1 <dongjiuz...@xiaomi.com>
AuthorDate: Thu Apr 17 21:00:01 2025 +0800

    libs/fdcheck: add dependency LIBC_OPEN_MAX <= 256
    
    The maximum of file desciptor is 255 for current fdcheck design
    
    Signed-off-by: dongjiuzhu1 <dongjiuz...@xiaomi.com>
---
 libs/libc/misc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libs/libc/misc/Kconfig b/libs/libc/misc/Kconfig
index 4a998e8cd9..18453bed91 100644
--- a/libs/libc/misc/Kconfig
+++ b/libs/libc/misc/Kconfig
@@ -77,6 +77,7 @@ config FDSAN
 config FDCHECK
        bool "Enable fdcheck"
        default n
+       depends on LIBC_OPEN_MAX <= 256
        ---help---
                Enable the fdcheck support
 

Reply via email to