[grsec] how to patch grsec for 2.4.29-pre2?

Carlos Carvalho carlos at fisica.ufpr.br
Wed Dec 22 15:09:50 EST 2004


pageexec at freemail.hu (pageexec at freemail.hu) wrote on 21 December 2004 23:26:
 >> ***************
 >> *** 86,91 ****
 >>    if (end <= start)
 >>     return;
 >>    do_brk(start, end - start);
 >>   }
 >> 
 >> 
 >> --- 89,100 ----
 >
 >look at 2.6.9, i think it's the exact same code there and is properly resolved.

There's a difference in the moment current->mm->* is updated. In 2.6
it's updated upon entry of set_brk, in 2.4.29-pre2 it's updated just
before exiting. Is it correct to use the same code as in 2.6?

I'm going to apply this to a mission critical server...


More information about the grsecurity mailing list