mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 09:53:24 +00:00
Allow passing the process Context
to syscall handlers
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
19ad2a2eb4
commit
66a37da214
@ -9,7 +9,11 @@ use crate::{
|
||||
},
|
||||
};
|
||||
|
||||
pub fn sys_sigaltstack(sig_stack_addr: Vaddr, old_sig_stack_addr: Vaddr) -> Result<SyscallReturn> {
|
||||
pub fn sys_sigaltstack(
|
||||
sig_stack_addr: Vaddr,
|
||||
old_sig_stack_addr: Vaddr,
|
||||
_ctx: &Context,
|
||||
) -> Result<SyscallReturn> {
|
||||
debug!(
|
||||
"sig_stack_addr = 0x{:x}, old_sig_stack_addr: 0x{:x}",
|
||||
sig_stack_addr, old_sig_stack_addr
|
||||
|
Reference in New Issue
Block a user