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]
Message-ID: <20070321182231.GA28645@us.ibm.com>
Date:	Wed, 21 Mar 2007 11:22:31 -0700
From:	sukadev@...ibm.com
To:	Andrew Morton <akpm@...l.org>
Cc:	linux-kernel@...r.kernel.org, ebiederm@...ssion.com,
	Oleg Nesterov <oleg@...sign.ru>, serue@...ibm.com,
	haveblue@...ibm.com, clg@...ibm.com
Subject: [PATCH] Don't init pgrp and __session in INIT_SIGNALS


From: Sukadev Bhattiprolu <sukadev@...ibm.com>
Subject: [PATCH] Don't init pgrp and __session in INIT_SIGNALS

Remove initialization of pgrp and __session in INIT_SIGNALS,
as these are later set by the call to __set_special_pids()
in init/main.c by the patch:

	explicitly-set-pgid-and-sid-of-init-process.patch

Signed-off-by: Sukadev Bhattiprolu <sukadev@...ibm.com>
Cc: Cedric Le Goater <clg@...ibm.com>
Cc: Dave Hansen <haveblue@...ibm.com>
Cc: Serge Hallyn <serue@...ibm.com>
Cc: Eric Biederman <ebiederm@...ssion.com>
Cc: Oleg Nesterov <oleg@...sign.ru>

---
 include/linux/init_task.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: lx26-21-rc3-mm2/include/linux/init_task.h
===================================================================
--- lx26-21-rc3-mm2.orig/include/linux/init_task.h	2007-03-20 17:54:18.000000000 -0700
+++ lx26-21-rc3-mm2/include/linux/init_task.h	2007-03-20 18:32:03.000000000 -0700
@@ -65,9 +65,9 @@
 	.posix_timers	 = LIST_HEAD_INIT(sig.posix_timers),		\
 	.cpu_timers	= INIT_CPU_TIMERS(sig.cpu_timers),		\
 	.rlim		= INIT_RLIMITS,					\
-	.pgrp		= 1,						\
+	.pgrp		= 0,						\
 	.tty_old_pgrp   = NULL,						\
-	{ .__session      = 1},						\
+	{ .__session      = 0},						\
 }
 
 extern struct nsproxy init_nsproxy;
-
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