* [PATCH] Needed to get 2.5.7 to compile and link on Alpha [7/10]
@ 2002-03-21 17:17 Chris Meadors
0 siblings, 0 replies; only message in thread
From: Chris Meadors @ 2002-03-21 17:17 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-alpha
Three one liners. Search and des^H^H^Hreplace.
-Chris
--- linux-2.5.7/arch/alpha/kernel/signal.c~ Mon Mar 18 15:37:14 2002
+++ linux-2.5.7/arch/alpha/kernel/signal.c Wed Mar 20 09:27:47 2002
@@ -661,8 +661,8 @@
info.si_signo = signr;
info.si_errno = 0;
info.si_code = SI_USER;
- info.si_pid = current->p_pptr->pid;
- info.si_uid = current->p_pptr->uid;
+ info.si_pid = current->parent->pid;
+ info.si_uid = current->parent->uid;
}
/* If the (new) signal is now blocked, requeue it. */
@@ -701,7 +701,7 @@
case SIGSTOP:
current->state = TASK_STOPPED;
current->exit_code = signr;
- if (!(current->p_pptr->sig->action[SIGCHLD-1]
+ if (!(current->parent->sig->action[SIGCHLD-1]
.sa.sa_flags & SA_NOCLDSTOP))
notify_parent(current, SIGCHLD);
schedule();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-21 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-21 17:17 [PATCH] Needed to get 2.5.7 to compile and link on Alpha [7/10] Chris Meadors
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®