Synchronize code from the master branch to the release branch.#128
Closed
dengbo11 wants to merge 26 commits into
Closed
Synchronize code from the master branch to the release branch.#128dengbo11 wants to merge 26 commits into
dengbo11 wants to merge 26 commits into
Conversation
Replace std::runtime_error with std::system_error for better debugging. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
- Add comprehensive test for ns_last_pid extension - Improve test script JSON merging capabilities - Update existing tests and CMake configuration Signed-off-by: ComixHe <ComixHe1895@outlook.com>
1. Update linyaps-box package status docs: 更新 linyaps-box文档 1. 更新 linyaps-box 软件包状态
If the log level is higher than debug level the dump_mount_flags function will not be called. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
According the documentation of CLI11, this library will throw a exception while encounter -h,--help or a parse error. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
When a destination file doesn't exist, the previous implementation couldn't distinguish between creation failure due to existing files vs other reasons. If both opening and creating fail, the destination is definitely a broken symlink. - Add recursive symlink resolution with depth limit (32) in create_destination_file() - Use O_NOFOLLOW to detect symlink during file creation - When creation fails with ELOOP, read symlink target and recursively create it - Replace filesystem functions with internal utils for consistent error handling - Add proper broken symlink detection and resolution logic This ensures mount destinations work correctly even when they point to broken symlinks, by creating the missing target files in the symlink chain. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
- Add --preserve-fds command line option for runtime - Refactor container creation with unified options structure - Improve file_descriptor class API Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Fixes #115 Signed-off-by: ComixHe <ComixHe1895@outlook.com>
See CLIUtils/CLI11@7ff65c1 Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
make O_PATH as the default flag. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
This commit fixes the style issues introduced in 881bcc9 according to the output from ClangFormat and Prettier. Details: None
if /proc/sys/kernel/ns_last_pid doesn't exist, skip this extension. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Change preserve_fds from uint to int type Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
__S_ISTYPE is glibc internal macro. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
- fix inconsistencies between function parameter implementations and declared types. - change the default permission of touched file. Signed-off-by: ComixHe <ComixHe1895@outlook.com>
SIGCLD is a legacy signal in System V UNIX. Mapping it with #ifdef SIGCLD in str_to_signal function to improve cross-platform compatibility and avoid compilation errors on platforms where SIGCLD is not defined (e.g. musl). Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
Signed-off-by: ComixHe <ComixHe1895@outlook.com>
|
Here's the code health analysis summary for commits Analysis Summary
|
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.
No description provided.