rpms/kernel/FC-4 linux-2.6-execshield.patch,1.4,1.5
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Mar 28 17:08:23 UTC 2006
Author: davej
Update of /cvs/dist/rpms/kernel/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv31843
Modified Files:
linux-2.6-execshield.patch
Log Message:
ppc build fix
linux-2.6-execshield.patch:
linux-2.6.16.noarch/include/asm-powerpc/elf.h | 3
linux/arch/i386/kernel/asm-offsets.c | 1
linux/arch/i386/kernel/cpu/common.c | 7
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 | 81 +++++++++++
linux/arch/i386/kernel/traps.c | 93 ++++++++++++-
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/powerpc/kernel/vdso.c | 3
linux/arch/x86_64/ia32/ia32_binfmt.c | 6
linux/arch/x86_64/ia32/syscall32.c | 4
linux/arch/x86_64/kernel/process.c | 6
linux/arch/x86_64/kernel/setup64.c | 23 ---
linux/arch/x86_64/mm/fault.c | 2
linux/arch/x86_64/mm/mmap.c | 99 +++++++++++---
linux/drivers/char/random.c | 7
linux/fs/binfmt_elf.c | 151 ++++++++++++++++-----
linux/fs/proc/array.c | 8 -
linux/fs/proc/base.c | 8 -
linux/fs/proc/task_mmu.c | 34 +++-
linux/include/asm-i386/a.out.h | 2
linux/include/asm-i386/desc.h | 14 +
linux/include/asm-i386/elf.h | 50 +++++--
linux/include/asm-i386/mmu.h | 6
linux/include/asm-i386/page.h | 5
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-powerpc/pgalloc.h | 5
linux/include/asm-ppc/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/pgtable.h | 2
linux/include/linux/mm.h | 16 +-
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 | 57 ++++++++
linux/mm/fremap.c | 16 +-
linux/mm/mmap.c | 183 ++++++++++++++++++++++++--
linux/mm/mprotect.c | 5
linux/mm/mremap.c | 4
52 files changed, 931 insertions(+), 161 deletions(-)
Index: linux-2.6-execshield.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-4/linux-2.6-execshield.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- linux-2.6-execshield.patch 28 Mar 2006 16:14:09 -0000 1.4
+++ linux-2.6-execshield.patch 28 Mar 2006 17:08:10 -0000 1.5
@@ -215,7 +215,7 @@
+ unsigned flags = MAP_PRIVATE;
+ int err;
+
-+ current->mm->context.vdso = NULL;
++ current->mm->context.vdso = NULL;
+ if (unlikely(!vdso_enabled) || unlikely(!sysenter_pages[0]))
+ return 0;
+
@@ -244,7 +244,7 @@
+ if (unlikely(addr & ~PAGE_MASK)) {
+ up_write(¤t->mm->mmap_sem);
+ return addr;
-+ }
++ }
+ err = install_special_mapping(current->mm, addr, len,
+ VM_DONTEXPAND | VM_READ | VM_EXEC |
+ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC,
@@ -2168,3 +2168,15 @@
ret = new_addr;
if (new_addr & ~PAGE_MASK)
goto out;
+--- linux-2.6.16.noarch/include/asm-powerpc/elf.h~ 2006-03-20 21:52:50.000000000 -0500
++++ linux-2.6.16.noarch/include/asm-powerpc/elf.h 2006-03-20 21:53:20.000000000 -0500
+@@ -273,7 +273,8 @@ extern int ucache_bsize;
+ #define ARCH_HAS_SETUP_ADDITIONAL_PAGES
+ struct linux_binprm;
+ extern int arch_setup_additional_pages(struct linux_binprm *bprm,
+- int executable_stack);
++ int executable_stack, unsigned long start_code,
++ unsigned long interp_map_address);
+ #define VDSO_AUX_ENT(a,b) NEW_AUX_ENT(a,b);
+
+ /*
More information about the fedora-cvs-commits
mailing list