mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] add-process_session-...-fix-warnings.patch fix
@ 2006-10-20 20:05 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2006-10-20 20:05 UTC (permalink / raw)
  To: akpm, Cedric Le Goater; +Cc: linux-kernel

add-process_session-helper-routine-deprecate-old-field-fix-warnings.patch
in -mm causes UML to hang at shutdown - init is sitting in a select on the 
initctl socket.

This patch fixes it for me.

Signed-off-by: Jeff Dike <jdike@addtoit.com>

Index: linux-2.6.17/fs/proc/array.c
===================================================================
--- linux-2.6.17.orig/fs/proc/array.c	2006-10-20 16:01:05.000000000 -0400
+++ linux-2.6.17/fs/proc/array.c	2006-10-20 16:02:13.000000000 -0400
@@ -388,7 +388,7 @@ static int do_task_stat(struct task_stru
 			stime = cputime_add(stime, sig->stime);
 		}
 
-		signal_session(sig);
+		sid = signal_session(sig);
 		pgid = process_group(task);
 		ppid = rcu_dereference(task->real_parent)->tgid;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-20 20:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-20 20:05 [PATCH] add-process_session-...-fix-warnings.patch fix Jeff Dike

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®