vm: remove stack handling for signals
. moved to the kernel as the handling was only reading it; the kernel may as well write it too
This commit is contained in:
@@ -38,6 +38,7 @@ int do_sigsend(struct proc * caller, message * m_ptr)
|
||||
return r;
|
||||
|
||||
/* Compute the user stack pointer where sigcontext will be stored. */
|
||||
smsg.sm_stkptr = arch_get_sp(rp);
|
||||
scp = (struct sigcontext *) smsg.sm_stkptr - 1;
|
||||
|
||||
/* Copy the registers to the sigcontext structure. */
|
||||
|
||||
Reference in New Issue
Block a user