mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Make stub for sysinfo syscall
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
53b873f647
commit
b4ebd6e87f
11
kernel/src/syscall/sysinfo.rs
Normal file
11
kernel/src/syscall/sysinfo.rs
Normal file
@ -0,0 +1,11 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
use super::SyscallReturn;
|
||||
|
||||
pub fn sys_sysinfo(
|
||||
sysinfo_addr: Vaddr,
|
||||
ctx: &Context,
|
||||
) -> Result<SyscallReturn> {
|
||||
unimplemented!("sysinfo implementation in process");
|
||||
Ok(SyscallReturn::Return(-1))
|
||||
}
|
Reference in New Issue
Block a user