添加access、faccessat、faccessat2 (#439)

This commit is contained in:
LoGin
2023-11-12 21:23:48 +08:00
committed by GitHub
parent 0d9b7d9240
commit 9b0abe6da7
7 changed files with 164 additions and 79 deletions

View File

@ -13,7 +13,10 @@ use alloc::string::String;
use super::{interrupt::TrapFrame, mm::barrier::mfence};
pub const SYS_ACCESS: usize = 21;
pub const SYS_PRLIMIT64: usize = 302;
pub const SYS_FACCESSAT: usize = 269;
pub const SYS_FACCESSAT2: usize = 439;
/// ### 存储PCB系统调用栈以及在syscall过程中暂存用户态rsp的结构体
///