rpms/kernel/devel linux-2.6.11-execshield-vdso.patch,1.8,1.9

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Aug 6 16:40:25 UTC 2005


Author: davej

Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21683

Modified Files:
	linux-2.6.11-execshield-vdso.patch 
Log Message:
fix diff


linux-2.6.11-execshield-vdso.patch:
 linux-2.6.11/arch/i386/kernel/sysenter.c   |   71 +++++++++++++++++------------
 linux-2.6.11/fs/binfmt_elf.c               |   17 ++----
 linux-2.6.11/include/asm-i386/elf.h        |    7 ++
 linux-2.6.11/include/asm-i386/page.h       |    5 ++
 linux-2.6.11/include/linux/mm.h            |    5 ++
 linux-2.6.11/mm/mmap.c                     |   39 +++++++++++++++
 linux-2.6.12/arch/i386/kernel/cpu/common.c |    7 ++
 linux/fs/proc/task_mmu.c                   |   15 ++++--
 8 files changed, 123 insertions(+), 43 deletions(-)

Index: linux-2.6.11-execshield-vdso.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6.11-execshield-vdso.patch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- linux-2.6.11-execshield-vdso.patch	6 Aug 2005 07:10:37 -0000	1.8
+++ linux-2.6.11-execshield-vdso.patch	6 Aug 2005 16:40:15 -0000	1.9
@@ -250,18 +250,20 @@
  	create_elf_tables(bprm, &loc->elf_ex, (interpreter_type == INTERPRETER_AOUT),
 --- linux-2.6.12/arch/i386/kernel/cpu/common.c~	2005-06-21 14:36:07.000000000 -0400
 +++ linux-2.6.12/arch/i386/kernel/cpu/common.c	2005-06-21 14:39:50.000000000 -0400
-@@ -398,5 +398,11 @@ void __init identify_cpu(struct cpuinfo_
+@@ -403,6 +403,13 @@ void __devinit identify_cpu(struct cpuin
+ 	if (disable_pse)
  		clear_bit(X86_FEATURE_PSE, c->x86_capability);
  
 +	if (exec_shield != 0) {
-+#ifdef CONFIG_HIGHMEM64G	/* NX implies PAE */
-+		if (!test_bit(X86_FEATURE_NX, c->x86_capability)) 
++#ifdef CONFIG_HIGHMEM64G   /* NX implies PAE */
++		if (!test_bit(X86_FEATURE_NX, c->x86_capability))
 +#endif
-+			clear_bit(X86_FEATURE_SEP, c->x86_capability);
++		clear_bit(X86_FEATURE_SEP, c->x86_capability);
 +	}
- 
++
  	/* If the model name is still unset, do table lookup. */
  	if ( !c->x86_model_id[0] ) {
+ 		char *p;
 
 btw., the patch below (against 1381-FC4) adds a vdso marker to
 /proc/*/maps even if the vDSO is randomized a'ka Roland's patch.




More information about the fedora-cvs-commits mailing list