Add syscall execveat

This commit is contained in:
Jianfeng Jiang
2023-06-13 10:13:00 +08:00
committed by Tate, Hongliang Tian
parent 5815f248fc
commit dcfbeb270d
5 changed files with 117 additions and 35 deletions

View File

@ -41,6 +41,10 @@ impl InodeType {
_ => false,
}
}
pub fn is_reguler_file(&self) -> bool {
*self == InodeType::File
}
}
impl From<DeviceType> for InodeType {