rpms/kernel/FC-5 linux-2.6-execshield.patch,1.22,1.23
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sat Oct 21 00:20:17 UTC 2006
- Previous message (by thread): rpms/coolkey/devel coolkey-1.0.1-cac_time.patch, 1.1, 1.2 coolkey.spec, 1.15, 1.16
- Next message (by thread): rpms/metacity/devel .cvsignore, 1.48, 1.49 metacity.spec, 1.101, 1.102 sources, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: davej
Update of /cvs/dist/rpms/kernel/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv23566
Modified Files:
linux-2.6-execshield.patch
Log Message:
buildfix for real
linux-2.6-execshield.patch:
2/arch/i386/kernel/sysenter.c | 2
2/mm/mmap.c | 2
linux-2.6.17-rc3-mm1-davej/arch/i386/mm/pageattr.c | 8
linux-2.6.18.noarch/kernel/sysctl.c | 9 -
linux-810/arch/i386/kernel/cpu/common.c | 7
linux-810/arch/i386/kernel/process.c | 59 ++++++
linux-810/arch/i386/kernel/smp.c | 3
linux-810/arch/i386/kernel/sysenter.c | 3
linux-810/arch/i386/kernel/traps.c | 93 ++++++++++
linux-810/arch/i386/mm/init.c | 6
linux-810/arch/i386/mm/mmap.c | 6
linux-810/arch/ia64/ia32/binfmt_elf32.c | 2
linux-810/arch/powerpc/kernel/vdso.c | 3
linux-810/arch/x86_64/ia32/ia32_binfmt.c | 6
linux-810/arch/x86_64/ia32/syscall32.c | 4
linux-810/arch/x86_64/kernel/process.c | 6
linux-810/arch/x86_64/kernel/setup64.c | 23 --
linux-810/arch/x86_64/mm/fault.c | 2
linux-810/arch/x86_64/mm/mmap.c | 98 ++++++++---
linux-810/drivers/char/random.c | 7
linux-810/fs/binfmt_elf.c | 147 ++++++++++++----
linux-810/fs/proc/array.c | 8
linux-810/fs/proc/base.c | 8
linux-810/fs/proc/task_mmu.c | 29 ++-
linux-810/include/asm-i386/a.out.h | 2
linux-810/include/asm-i386/desc.h | 14 +
linux-810/include/asm-i386/elf.h | 6
linux-810/include/asm-i386/mmu.h | 4
linux-810/include/asm-i386/page.h | 5
linux-810/include/asm-i386/pgalloc.h | 1
linux-810/include/asm-i386/processor.h | 8
linux-810/include/asm-ia64/pgalloc.h | 4
linux-810/include/asm-powerpc/elf.h | 3
linux-810/include/asm-powerpc/pgalloc.h | 5
linux-810/include/asm-ppc/pgalloc.h | 5
linux-810/include/asm-s390/pgalloc.h | 4
linux-810/include/asm-sparc/pgalloc.h | 4
linux-810/include/asm-sparc64/pgalloc.h | 4
linux-810/include/asm-x86_64/pgalloc.h | 7
linux-810/include/asm-x86_64/pgtable.h | 2
linux-810/include/linux/mm.h | 16 +
linux-810/include/linux/resource.h | 5
linux-810/include/linux/sched.h | 9 +
linux-810/include/linux/sysctl.h | 3
linux-810/kernel/signal.c | 33 +++
linux-810/kernel/sysctl.c | 57 ++++++
linux-810/mm/fremap.c | 16 +
linux-810/mm/mmap.c | 183 ++++++++++++++++++++-
linux-810/mm/mprotect.c | 5
linux-810/mm/mremap.c | 4
50 files changed, 809 insertions(+), 141 deletions(-)
Index: linux-2.6-execshield.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-5/linux-2.6-execshield.patch,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- linux-2.6-execshield.patch 20 Oct 2006 23:57:16 -0000 1.22
+++ linux-2.6-execshield.patch 21 Oct 2006 00:20:13 -0000 1.23
@@ -1907,7 +1907,7 @@
--- linux-2.6.17-rc3-mm1-davej/arch/i386/mm/pageattr.c.org 2006-05-04 09:23:56.000000000 +0200
+++ linux-2.6.17-rc3-mm1-davej/arch/i386/mm/pageattr.c 2006-05-04 09:27:21.000000000 +0200
-@@ -9,6 +9,8 @@
+@@ -8,6 +8,8 @@
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/slab.h>
@@ -1916,23 +1916,16 @@
#include <asm/uaccess.h>
#include <asm/processor.h>
#include <asm/tlbflush.h>
-@@ -127,10 +129,18 @@
- pte_t *kpte;
- unsigned long address;
- struct page *kpte_page;
-+ static int once = 0;
-
+@@ -130,6 +132,12 @@
BUG_ON(PageHighMem(page));
address = (unsigned long)page_address(page);
+ if (address >= (unsigned long)__start_rodata && address <= (unsigned long)__end_rodata &&
-+ (unsigned long)prot != (unsigned long)__PAGE_KERNEL_RO && once++ == 0) {
-+ printk(KERN_ERR "Possible trojan or rootkit detected!\n");
++ (pgprot_val(prot) & __PAGE_KERNEL_RO)) {
++ pgprot_val(prot) &= ~(__PAGE_KERNEL_RO);
+ add_taint(TAINT_MACHINE_CHECK);
-+ return -EINVAL;
+ }
+
kpte = lookup_address(address);
if (!kpte)
return -EINVAL;
-
- Previous message (by thread): rpms/coolkey/devel coolkey-1.0.1-cac_time.patch, 1.1, 1.2 coolkey.spec, 1.15, 1.16
- Next message (by thread): rpms/metacity/devel .cvsignore, 1.48, 1.49 metacity.spec, 1.101, 1.102 sources, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list