mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-18 12:06:43 +00:00
Fortify the metadata memory model and adjust the Page
casting APIs
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
14e1b1a9fc
commit
3579d88aa6
@ -32,7 +32,7 @@ pub fn sys_sched_getaffinity(
|
||||
// Placeholder for future implementation.
|
||||
}
|
||||
_ => {
|
||||
match process_table::get_process(&pid) {
|
||||
match process_table::get_process(pid) {
|
||||
Some(_process) => { /* Placeholder if process-specific logic needed */ }
|
||||
None => return Err(Error::with_message(Errno::ESRCH, "process does not exist")),
|
||||
}
|
||||
|
Reference in New Issue
Block a user