rpms/kernel/devel linux-2.6.11-execshield.patch,1.1,1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Mar 21 00:27:12 UTC 2005


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

Modified Files:
	linux-2.6.11-execshield.patch 
Log Message:
compile fixes


linux-2.6.11-execshield.patch:
 linux-2.6.11/arch/x86_64/kernel/process.c   |    7 -
 linux-2.6.11/include/asm-x86_64/processor.h |    5 -
 linux/arch/i386/kernel/asm-offsets.c        |    1 
 linux/arch/i386/kernel/entry.S              |    8 +
 linux/arch/i386/kernel/process.c            |   59 +++++++++++++
 linux/arch/i386/kernel/signal.c             |    4 
 linux/arch/i386/kernel/smp.c                |    3 
 linux/arch/i386/kernel/sysenter.c           |   55 ++++++++++++
 linux/arch/i386/kernel/traps.c              |   48 ++++++++++-
 linux/arch/i386/kernel/vsyscall-sysenter.S  |    6 -
 linux/arch/i386/kernel/vsyscall.lds.S       |    4 
 linux/arch/i386/mm/init.c                   |    6 +
 linux/arch/i386/mm/mmap.c                   |    6 -
 linux/arch/ia64/ia32/binfmt_elf32.c         |    2 
 linux/arch/x86_64/ia32/ia32_binfmt.c        |    2 
 linux/arch/x86_64/mm/Makefile               |    2 
 linux/arch/x86_64/mm/mmap.c                 |   95 ++++++++++++++++++++++
 linux/drivers/char/random.c                 |    7 +
 linux/fs/binfmt_elf.c                       |  120 +++++++++++++++++++++++-----
 linux/fs/proc/array.c                       |    8 +
 linux/fs/proc/base.c                        |    4 
 linux/fs/proc/task_mmu.c                    |   25 ++++-
 linux/include/asm-i386/desc.h               |   14 +++
 linux/include/asm-i386/elf.h                |   42 ++++++---
 linux/include/asm-i386/mmu.h                |    6 +
 linux/include/asm-i386/pgalloc.h            |    1 
 linux/include/asm-i386/processor.h          |    8 +
 linux/include/asm-i386/thread_info.h        |    1 
 linux/include/asm-ia64/pgalloc.h            |    4 
 linux/include/asm-ppc/pgalloc.h             |    5 +
 linux/include/asm-ppc64/pgalloc.h           |    5 +
 linux/include/asm-s390/pgalloc.h            |    4 
 linux/include/asm-sparc/pgalloc.h           |    4 
 linux/include/asm-sparc64/pgalloc.h         |    4 
 linux/include/asm-x86_64/pgalloc.h          |    7 +
 linux/include/asm-x86_64/processor.h        |    9 ++
 linux/include/linux/mm.h                    |    9 +-
 linux/include/linux/resource.h              |    5 -
 linux/include/linux/sched.h                 |    9 ++
 linux/include/linux/sysctl.h                |    3 
 linux/kernel/signal.c                       |   38 ++++++++
 linux/kernel/sysctl.c                       |   39 +++++++++
 linux/mm/fremap.c                           |   10 +-
 linux/mm/mmap.c                             |  107 +++++++++++++++++++++++-
 linux/mm/mprotect.c                         |    5 -
 linux/mm/mremap.c                           |    4 
 46 files changed, 729 insertions(+), 91 deletions(-)

Index: linux-2.6.11-execshield.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6.11-execshield.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6.11-execshield.patch	18 Mar 2005 21:55:21 -0000	1.1
+++ linux-2.6.11-execshield.patch	21 Mar 2005 00:27:08 -0000	1.2
@@ -1602,3 +1602,32 @@
  #define pmd_populate_kernel(mm, pmd, pte) \
  		set_pmd(pmd, __pmd(_PAGE_TABLE | __pa(pte)))
  #define pud_populate(mm, pud, pmd) \
+--- linux-2.6.11/include/asm-x86_64/processor.h.~1~	2005-03-20 02:30:47.000000000 -0800
++++ linux-2.6.11/include/asm-x86_64/processor.h	2005-03-20 16:03:58.630866387 -0800
+@@ -161,10 +161,7 @@ static inline void clear_in_cr4 (unsigne
+ /*
+  * User space process size. 47bits.
+  */
+-#define TASK_SIZE	(0x800000000000UL)
+-
+-#define TASK_SIZE_64	(0x800000000000)
+-
++#define TASK_SIZE_64	(0x800000000000UL)
+ #define TASK_SIZE (test_thread_flag(TIF_IA32) ? IA32_PAGE_OFFSET : TASK_SIZE_64)
+ 
+ #define __HAVE_ARCH_ALIGN_STACK
+
+--- linux-2.6.11/arch/x86_64/kernel/process.c.~1~	2005-03-20 02:30:52.000000000 -0800
++++ linux-2.6.11/arch/x86_64/kernel/process.c	2005-03-20 16:13:31.209561108 -0800
+@@ -746,10 +746,3 @@ int dump_task_regs(struct task_struct *t
+  
+ 	return 1;
+ }
+-
+-unsigned long arch_align_stack(unsigned long sp)
+-{
+-	if (randomize_va_space)
+-		sp -= get_random_int() % 8192;
+-	return sp & ~0xf;
+-}
+




More information about the fedora-cvs-commits mailing list