修改errno,使其与relibc的保持一致 (#234)

修改errno,使其与relibc的保持一致
This commit is contained in:
houmkh
2023-04-11 17:05:33 +08:00
committed by GitHub
parent ac48398d3f
commit 79a452ce8f
20 changed files with 593 additions and 402 deletions

View File

@ -117,7 +117,7 @@ fn signal_kill_something_info(
// 暂时不支持特殊的kill操作
if pid <= 0 {
kwarn!("Kill operation not support: pid={}", pid);
return Err(SystemError::ENOTSUP);
return Err(SystemError::EOPNOTSUPP_OR_ENOTSUP);
}
// kill单个进程