lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 20 Oct 2006 16:05:03 -0400
From:	Jeff Dike <jdike@...toit.com>
To:	akpm@...l.org, Cedric Le Goater <clg@...ibm.com>
cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] add-process_session-...-fix-warnings.patch fix

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@...toit.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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ