packages (Titanium): kernel-bare-grsecurity/kernel-bare-grsecurity.spec, ke...

hawk hawk at pld-linux.org
Sun Jul 12 16:20:31 CEST 2009


Author: hawk                         Date: Sun Jul 12 14:20:31 2009 GMT
Module: packages                      Tag: Titanium
---- Log message:
- fix for drivers/md/dm.c patch in 2.6.27.26

---- Files affected:
packages/kernel-bare-grsecurity:
   kernel-bare-grsecurity.spec (1.1.2.84 -> 1.1.2.85) , kernel-md_driver_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kernel-bare-grsecurity/kernel-bare-grsecurity.spec
diff -u packages/kernel-bare-grsecurity/kernel-bare-grsecurity.spec:1.1.2.84 packages/kernel-bare-grsecurity/kernel-bare-grsecurity.spec:1.1.2.85
--- packages/kernel-bare-grsecurity/kernel-bare-grsecurity.spec:1.1.2.84	Fri Jul 10 16:20:56 2009
+++ packages/kernel-bare-grsecurity/kernel-bare-grsecurity.spec	Sun Jul 12 16:20:26 2009
@@ -16,7 +16,7 @@
 
 %define		_basever		2.6.27
 %define		_postver		.26
-%define		_rel			1
+%define		_rel			2
 
 %define		_enable_debug_packages			0
 
@@ -54,6 +54,8 @@
 Source11:	kernel-bare-grsecurity-x86_64.config
 Source12:	kernel-bare-grsecurity-pax.config
 
+Patch10:	kernel-md_driver_fix.patch
+
 # from http://www.grsecurity.net/~spender/
 Patch100:	linux-2.6-grsecurity.patch
 # from squashfs: http://dl.sourceforge.net/squashfs/squashfs3.4.tar.gz
@@ -381,6 +383,8 @@
 %{__bzip2} -dc %{SOURCE1} | patch -p1 -s
 %endif
 
+%patch10 -p1
+
 %patch100 -p1
 %patch101 -p1
 
@@ -932,6 +936,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.1.2.85  2009/07/12 14:20:26  hawk
+- fix for drivers/md/dm.c patch in 2.6.27.26
+
 Revision 1.1.2.84  2009/07/10 14:20:56  hawk
 - updated to 2.6.27.26
 

================================================================
Index: packages/kernel-bare-grsecurity/kernel-md_driver_fix.patch
diff -u /dev/null packages/kernel-bare-grsecurity/kernel-md_driver_fix.patch:1.1
--- /dev/null	Sun Jul 12 16:20:31 2009
+++ packages/kernel-bare-grsecurity/kernel-md_driver_fix.patch	Sun Jul 12 16:20:26 2009
@@ -0,0 +1,13 @@
+--- linux-2.6.27/drivers/md/dm.c.orig	2009-07-11 23:27:16.000000000 +0200
++++ linux-2.6.27/drivers/md/dm.c	2009-07-11 23:31:44.581632901 +0200
+@@ -265,10 +265,6 @@
+ 		goto out;
+ 	}
+ 
+-	if (test_bit(DMF_FREEING, &md->flags) ||
+-	    test_bit(DMF_DELETING, &md->flags))
+-		return NULL;
+-
+ 	dm_get(md);
+ 	atomic_inc(&md->open_count);
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel-bare-grsecurity/kernel-bare-grsecurity.spec?r1=1.1.2.84&r2=1.1.2.85&f=u



More information about the pld-cvs-commit mailing list