/[linux-patches]/hardened/2.6/trunk/2.6.22/4452_grsec-2.1.10-pax_curr_ip-fixes.patch
Gentoo

Diff of /hardened/2.6/trunk/2.6.22/4452_grsec-2.1.10-pax_curr_ip-fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1086 Revision 1087
19 printk(KERN_ERR "PAX: %s:%d, uid/euid: %u/%u, attempted to modify kernel code", 19 printk(KERN_ERR "PAX: %s:%d, uid/euid: %u/%u, attempted to modify kernel code",
20 tsk->comm, tsk->pid, tsk->uid, tsk->euid); 20 tsk->comm, tsk->pid, tsk->uid, tsk->euid);
21 #endif 21 #endif
22--- a/fs/exec.c 22--- a/fs/exec.c
23+++ b/fs/exec.c 23+++ b/fs/exec.c
24@@ -1608,9 +1608,11 @@ void pax_report_fault(struct pt_regs *re 24@@ -1626,9 +1626,11 @@ void pax_report_fault(struct pt_regs *re
25 } 25 }
26 up_read(&mm->mmap_sem); 26 up_read(&mm->mmap_sem);
27 } 27 }
28+#ifdef CONFIG_GRKERNSEC_PROC_IPADDR 28+#ifdef CONFIG_GRKERNSEC_PROC_IPADDR
29 if (tsk->signal->curr_ip) 29 if (tsk->signal->curr_ip)

Legend:
Removed from v.1086  
changed lines
  Added in v.1087

  ViewVC Help
Powered by ViewVC 1.1.20