rpms/kernel/devel linux-2.6-execshield.patch,1.77,1.78

Dave Jones (davej) fedora-extras-commits at redhat.com
Wed Oct 31 14:14:09 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9146

Modified Files:
	linux-2.6-execshield.patch 
Log Message:
Use CONFIG rather than __i386__


linux-2.6-execshield.patch:

Index: linux-2.6-execshield.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-execshield.patch,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- linux-2.6-execshield.patch	30 Oct 2007 01:57:49 -0000	1.77
+++ linux-2.6-execshield.patch	31 Oct 2007 14:14:01 -0000	1.78
@@ -868,7 +868,7 @@
  	if (retval)
  		goto out_free_dentry;
  
-+#ifdef __i386__
++#ifdef CONFIG_X86_32
 +	/*
 +	 * Turn off the CS limit completely if exec-shield disabled or
 +	 * NX active:
@@ -1021,7 +1021,7 @@
  {
  	struct proc_maps_private *priv = m->private;
  	struct task_struct *task = priv->task;
-+#ifdef __i386__
++#ifdef CONFIG_X86_32
 +	struct mm_struct *tmm = get_task_mm(task);
 +#endif
  	struct vm_area_struct *vma = v;




More information about the fedora-extras-commits mailing list