feat(process): 实现prctl系统调用支持PR_SET_PDEATHSIG和PR_SET_NAME选项#1386
Merged
fslongjin merged 1 commit intoDragonOS-Community:masterfrom Nov 19, 2025
Merged
feat(process): 实现prctl系统调用支持PR_SET_PDEATHSIG和PR_SET_NAME选项#1386fslongjin merged 1 commit intoDragonOS-Community:masterfrom
fslongjin merged 1 commit intoDragonOS-Community:masterfrom
Conversation
Member
fslongjin
commented
Nov 19, 2025
- 新增pdeath_signal字段到ProcessControlBlock,支持父进程退出信号设置
- 实现prctl系统调用,支持设置/获取进程名和父进程退出信号
- 在进程退出时向设置了pdeath_signal的子进程发送相应信号
- 添加prctl测试用例到gvisor测试白名单
c040c93 to
e8ee913
Compare
- 新增pdeath_signal字段到ProcessControlBlock,支持父进程退出信号设置 - 实现prctl系统调用,支持设置/获取进程名和父进程退出信号 - 在进程退出时向设置了pdeath_signal的子进程发送相应信号 - 添加prctl测试用例到gvisor测试白名单 Signed-off-by: longjin <longjin@DragonOS.org>
e8ee913 to
c121d76
Compare
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.