mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
signal: remove debug print
This commit is contained in:
@@ -77,15 +77,11 @@ void signal_action(struct proc_t *proc, int signal, sigaction_t *new, sigaction_
|
||||
void signal_altstack(struct thread_t *thread, stack_t *new, stack_t *old) {
|
||||
THREAD_ENTER(thread);
|
||||
|
||||
if (old) {
|
||||
if (old)
|
||||
*old = thread->signals.stack;
|
||||
printf("signal altstack: old base %p size %lu flg %x\n", old->base, old->size, old->flags);
|
||||
}
|
||||
|
||||
if (new) {
|
||||
if (new)
|
||||
thread->signals.stack = *new;
|
||||
printf("signal altstack: new base %p size %lu flg %x\n", new->base, new->size, new->flags);
|
||||
}
|
||||
|
||||
THREAD_LEAVE(thread);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user