mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Rename get_user_space
to user_space
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
e6c613f538
commit
96de617ad9
@ -19,7 +19,7 @@ pub fn sys_getsockopt(
|
||||
if optval == 0 || optlen_addr == 0 {
|
||||
return_errno_with_message!(Errno::EINVAL, "optval or optlen_addr is null pointer");
|
||||
}
|
||||
let user_space = ctx.get_user_space();
|
||||
let user_space = ctx.user_space();
|
||||
|
||||
let optlen: u32 = user_space.read_val(optlen_addr)?;
|
||||
debug!("level = {level:?}, sockfd = {sockfd}, optname = {optname:?}, optlen = {optlen}");
|
||||
|
Reference in New Issue
Block a user