[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1237 - trunk/kfreebsd-6/debian/patches



Author: rmh
Date: 2006-02-17 22:55:26 +0000 (Fri, 17 Feb 2006)
New Revision: 1237

Added:
   trunk/kfreebsd-6/debian/patches/007_clone_signals.diff
Removed:
   trunk/kfreebsd-6/debian/patches/911_clone_signals.diff
Log:
mv 911_clone_signals.diff 007_clone_signals.diff

Copied: trunk/kfreebsd-6/debian/patches/007_clone_signals.diff (from rev 1236, trunk/kfreebsd-6/debian/patches/911_clone_signals.diff)

Deleted: trunk/kfreebsd-6/debian/patches/911_clone_signals.diff
===================================================================
--- trunk/kfreebsd-6/debian/patches/911_clone_signals.diff	2006-02-17 22:37:10 UTC (rev 1236)
+++ trunk/kfreebsd-6/debian/patches/911_clone_signals.diff	2006-02-17 22:55:26 UTC (rev 1237)
@@ -1,28 +0,0 @@
---- sys/kern/kern_fork.c	2005-04-27 13:32:23.000000000 +0200
-+++ sys/kern/kern_fork.c	2005-11-08 17:17:43.000000000 +0100
-@@ -502,7 +502,11 @@
- 		p2->p_sigacts = newsigacts;
- 	}
- 	if (flags & RFLINUXTHPN) 
--	        p2->p_sigparent = SIGUSR1;
-+	{
-+		int sig;
-+		sig = RFTHPNSIGNUM(flags);
-+	        p2->p_sigparent = sig ? sig : SIGUSR1;
-+	}
- 	else
- 	        p2->p_sigparent = SIGCHLD;
- 
---- sys/sys/unistd.h	2005-02-01 00:26:57.000000000 +0100
-+++ sys/sys/unistd.h	2005-11-08 17:14:12.000000000 +0100
-@@ -173,6 +173,10 @@
- #define	RFHIGHPID	(1<<18)	/* use a pid higher then 10 (idleproc) */
- #define	RFPPWAIT	(1<<31)	/* parent sleeps until child exits (vfork) */
- #define	RFKERNELONLY	(RFSTOPPED | RFHIGHPID | RFPPWAIT)
-+#define RFTHPNSHIFT	24	/* reserve bits 24-30 */
-+#define RFTHPNMASK	0x7F    /* for compatibility with linuxthreads/clone()   */
-+				/* allow to specify  "clone exit parent notification" signal */
-+#define RFTHPNSIGNUM(flags)	(((flags) >> RFTHPNSHIFT) & RFTHPNMASK)
- 
- #endif /* __BSD_VISIBLE */
- 



Reply to: