Introduce a syscall restart mechanism

This commit is contained in:
Zejun Zhao
2024-12-16 08:34:32 +08:00
committed by Tate, Hongliang Tian
parent b70c4784ed
commit ced0023d6b
9 changed files with 45 additions and 15 deletions

View File

@ -150,6 +150,8 @@ pub enum Errno {
ERFKILL = 132, /* Operation not possible due to RF-kill */
EHWPOISON = 133, /* Memory page has hardware error */
ERESTARTSYS = 512, /* Restart of an interrupted system call. For kernel internal use only. */
}
/// error used in this crate