SOURCES (LINUX_2_6_20): grsecurity-2.1.10-2.6.20.3.patch - more pa...
mguevara
mguevara at pld-linux.org
Mon Apr 16 12:05:13 CEST 2007
Author: mguevara Date: Mon Apr 16 10:05:13 2007 GMT
Module: SOURCES Tag: LINUX_2_6_20
---- Log message:
- more pax changes up to pax-linux-2.6.20.7-test13.patch
---- Files affected:
SOURCES:
grsecurity-2.1.10-2.6.20.3.patch (1.1.2.8 -> 1.1.2.9)
---- Diffs:
================================================================
Index: SOURCES/grsecurity-2.1.10-2.6.20.3.patch
diff -u SOURCES/grsecurity-2.1.10-2.6.20.3.patch:1.1.2.8 SOURCES/grsecurity-2.1.10-2.6.20.3.patch:1.1.2.9
--- SOURCES/grsecurity-2.1.10-2.6.20.3.patch:1.1.2.8 Mon Apr 16 11:34:52 2007
+++ SOURCES/grsecurity-2.1.10-2.6.20.3.patch Mon Apr 16 12:05:07 2007
@@ -23961,7 +23961,7 @@
#define DISABLE_INTERRUPTS(clobbers) \
PARA_PATCH(PARAVIRT_IRQ_DISABLE, clobbers, \
-@@ -490,16 +490,28 @@ static inline unsigned long __raw_local_
+@@ -490,16 +490,26 @@ static inline unsigned long __raw_local_
#define ENABLE_INTERRUPTS(clobbers) \
PARA_PATCH(PARAVIRT_IRQ_ENABLE, clobbers, \
pushl %ecx; pushl %edx; \
@@ -23974,20 +23974,19 @@
- jmp *%cs:paravirt_ops+PARAVIRT_irq_enable_sysexit)
+ jmp *%ss:paravirt_ops+PARAVIRT_irq_enable_sysexit)
- #define GET_CR0_INTO_EAX \
+-#define GET_CR0_INTO_EAX \
++#define GET_CR0_INTO_EAX \
call *paravirt_ops+PARAVIRT_read_cr0
-+#define GET_CR0_INTO_EDX \
-+ pushl %eax; \
-+ call *paravirt_ops+PARAVIRT_read_cr0; \
-+ movl %eax, %edx; \
-+ popl %eax
++#define GET_CR0_INTO_EDX \
++ movl %eax, %edx; \
++ call *%ss:paravirt_ops+PARAVIRT_read_cr0; \
++ xchgl %eax, %edx; \
+
-+#define SET_CR0_FROM_EDX \
-+ pushl %eax; \
-+ movl %edx, %eax; \
-+ call *paravirt_ops+PARAVIRT_write_cr0; \
-+ popl %eax
++#define SET_CR0_FROM_EDX \
++ xchgl %edx, %eax; \
++ call *%ss:paravirt_ops+PARAVIRT_write_cr0; \
++ movl %edx, %eax
+
#endif /* __ASSEMBLY__ */
#endif /* CONFIG_PARAVIRT */
@@ -24116,7 +24115,12 @@
/* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
-@@ -141,17 +147,26 @@ void paging_init(void);
+@@ -137,21 +143,30 @@ void paging_init(void);
+ #define PAGE_NONE \
+ __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
+ #define PAGE_SHARED \
+- __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
++ __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_NX)
#define PAGE_SHARED_EXEC \
__pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/grsecurity-2.1.10-2.6.20.3.patch?r1=1.1.2.8&r2=1.1.2.9&f=u
More information about the pld-cvs-commit
mailing list