SOURCES (LINUX_2_6): linux-2.6-grsec-common.patch - updated for 2....

zbyniu zbyniu at pld-linux.org
Mon Feb 25 23:52:29 CET 2008


Author: zbyniu                       Date: Mon Feb 25 22:52:29 2008 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- updated for 2.6.24.2

---- Files affected:
SOURCES:
   linux-2.6-grsec-common.patch (1.1.2.2.2.4 -> 1.1.2.2.2.5) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-grsec-common.patch
diff -u SOURCES/linux-2.6-grsec-common.patch:1.1.2.2.2.4 SOURCES/linux-2.6-grsec-common.patch:1.1.2.2.2.5
--- SOURCES/linux-2.6-grsec-common.patch:1.1.2.2.2.4	Wed Dec 12 13:23:56 2007
+++ SOURCES/linux-2.6-grsec-common.patch	Mon Feb 25 23:52:23 2008
@@ -39,22 +39,8 @@
 ===
 === let vserver block signals before grsec
 ===
---- a/kernel/signal.c	2007-10-02 00:08:49.954483500 +0200
-+++ b/kernel/signal.c	2007-10-02 00:24:31.969355750 +0200
-@@ -539,11 +539,11 @@ static int check_kill_permission(int sig
- 		return error;
- 
- 	error = -EPERM;
--	if ((((sig != SIGCONT) ||
-+	if (((sig != SIGCONT) ||
- 		(process_session(current) != process_session(t)))
- 	    && (current->euid ^ t->suid) && (current->euid ^ t->uid)
- 	    && (current->uid ^ t->suid) && (current->uid ^ t->uid)
--	    && !capable(CAP_KILL)) || gr_handle_signal(t, sig))
-+	    && !capable(CAP_KILL))
- 		return error;
- 
- 	error = -ESRCH;
+--- a/kernel/signal.c  2007-10-02 00:08:49.954483500 +0200
++++ b/kernel/signal.c  2007-10-02 00:24:31.969355750 +0200
 @@ -553,6 +553,11 @@ static int check_kill_permission(int sig
  			sig, info, t, vx_task_xid(t), t->pid, current->xid);
  		return error;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/linux-2.6-grsec-common.patch?r1=1.1.2.2.2.4&r2=1.1.2.2.2.5&f=u



More information about the pld-cvs-commit mailing list