r2691 - trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches

Jurij Smakov jurij-guest@costa.debian.org
Mon, 14 Mar 2005 00:14:59 +0100


Author: jurij-guest
Date: 2005-03-14 00:14:58 +0100 (Mon, 14 Mar 2005)
New Revision: 2691

Modified:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/setsid-race.dpatch
Log:
Modified setsid-race.dpatch in 2.6.8 to include
linux/tty.h header in kernel/sys.c, otherwise the
tty_sem is undefined.


Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/setsid-race.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/setsid-race.dpatch	2005-03-13 21:57:48 UTC (rev 2690)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/setsid-race.dpatch	2005-03-13 23:14:58 UTC (rev 2691)
@@ -183,9 +183,17 @@
  	/* Block and flush all signals */
  	sigfillset(&blocked);
 diff -Nru a/kernel/sys.c b/kernel/sys.c
---- a/kernel/sys.c	2005-02-18 17:33:57 -08:00
-+++ b/kernel/sys.c	2005-02-18 17:33:57 -08:00
-@@ -1075,6 +1075,7 @@
+--- a/kernel/sys.c	2005-03-13 18:12:32.000000000 -0500
++++ b/kernel/sys.c	2005-03-13 18:15:53.000000000 -0500
+@@ -23,6 +23,7 @@
+ #include <linux/security.h>
+ #include <linux/dcookies.h>
+ #include <linux/suspend.h>
++#include <linux/tty.h>
+ 
+ #include <asm/uaccess.h>
+ #include <asm/io.h>
+@@ -1104,6 +1105,7 @@
  	if (!thread_group_leader(current))
  		return -EINVAL;
  
@@ -193,7 +201,7 @@
  	write_lock_irq(&tasklist_lock);
  
  	pid = find_pid(PIDTYPE_PGID, current->pid);
-@@ -1088,6 +1089,7 @@
+@@ -1117,6 +1119,7 @@
  	err = process_group(current);
  out:
  	write_unlock_irq(&tasklist_lock);