mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 17:33:23 +00:00
Rename get_user_space
to user_space
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e6c613f538
commit
96de617ad9
@ -33,7 +33,7 @@ pub fn sys_fchmodat(
|
||||
/* flags: u32, */
|
||||
ctx: &Context,
|
||||
) -> Result<SyscallReturn> {
|
||||
let path = ctx.get_user_space().read_cstring(path_ptr, PATH_MAX)?;
|
||||
let path = ctx.user_space().read_cstring(path_ptr, PATH_MAX)?;
|
||||
debug!("dirfd = {}, path = {:?}, mode = 0o{:o}", dirfd, path, mode,);
|
||||
|
||||
let dentry = {
|
||||
|
Reference in New Issue
Block a user