[grsec] grsecurity 2.1.9 test patch for 2.6.16
Alex Hunsaker
badalex at gmail.com
Wed Mar 29 18:30:04 EST 2006
On 3/29/06, Brad Spengler <spender at grsecurity.net> wrote:
> I've placed a test patch of grsecurity 2.1.9 for Linux 2.6.16 into
> http://grsecurity.net/~spender
> Since there have been many changes between the 2.6.14 and 2.6.16 kernel,
> please let us know of any problems you encounter.
>
> -Brad
>
Small compile time fix.
--- mm/mprotect.c.orig 2006-03-29 16:26:06.000000000 -0700
+++ mm/mprotect.c 2006-03-29 16:25:21.000000000 -0700
@@ -332,7 +332,7 @@
return;
if (dyn.d_tag == DT_TEXTREL || (dyn.d_tag == DT_FLAGS
&& (dyn.d_un.d_val & DF_TEXTREL))) {
vma->vm_flags |= VM_MAYWRITE | VM_MAYNOTWRITE;
- gr_log_textrel();
+ gr_log_textrel(vma);
return;
}
i++;
More information about the grsecurity
mailing list