This PR contains two commits that enhance library support and fix header dependencies.#18330
Closed
txy-21 wants to merge 2 commits intoapache:masterfrom
Closed
This PR contains two commits that enhance library support and fix header dependencies.#18330txy-21 wants to merge 2 commits intoapache:masterfrom
txy-21 wants to merge 2 commits intoapache:masterfrom
Conversation
This patch adds library support for the rexec() function by: 1. Conditionally including headers based on build configuration - Use kmalloc.h for kernel builds, stdlib.h otherwise - Include fs/fs.h only when CONFIG_FILE_STREAM is enabled 2. Adding stream support for rexec functionality 3. Enhancing netdb functions (getaddrinfo, gethostentbynamer) to support remote execution scenarios Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
Include nuttx/kmalloc.h in arm64_arch_timer.c to fix missing header dependency. This ensures proper memory allocation functions are available for the architecture timer implementation. Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
jerpelea
requested changes
Feb 3, 2026
Contributor
Author
@jerpelea
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces two enhancements to improve library compatibility and fix header dependencies in NuttX.
Why:
What changed:
libc: Add library support for rexec
arm64: Add kmalloc header for arch timer
Impact
Scope:
Affected components:
include/nuttx/lib/lib.hinclude/nuttx/streams.hlibs/libc/netdb/lib_getaddrinfo.clibs/libc/netdb/lib_gethostentbynamer.clibs/libc/netdb/lib_netdb.harch/arm64/src/common/arm64_arch_timer.cBreaking changes: None
Backward compatibility: Fully maintained
Testing
Build testing:
Functional testing:
Compilation: