feat(syscall): 实现syscall restart (#1075)

能够在系统调用返回ERESTARTSYS时,信号处理结束后,自动重启系统调用.

TODO: 实现wait等需要restart_block的系统调用的重启

Signed-off-by: longjin <longjin@DragonOS.org>
This commit is contained in:
LoGin
2024-12-13 00:56:20 +08:00
committed by GitHub
parent 72423f90bb
commit 2b72148cae
27 changed files with 657 additions and 180 deletions

View File

@ -7,4 +7,4 @@ edition = "2021"
[dependencies]
num-traits = { git = "https://git.mirrors.dragonos.org.cn/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
num-derive = "0.3"
num-derive = "0.3"