[WOLK-devel] [patch] for wolk4.5, grsec/pax - rmap
Brought to you by:
hight0wer
|
From: <mic...@gm...> - 2003-08-05 14:22:17
|
hi list,
ive patched the problem myself, because grsec/pax don't have troubles
without CONFIG_GRKERNSEC_PAX_RANDEXEC.
ive never run a wolk without all other grsec/pax options except
CONFIG_GRKERNSEC_PAX_RANDEXEC.
the patch applies cleanly and the box runs rock solied as wolk4.4s
ps.:ive allready sent this to marc.
cya michael
--- O2.4.20-wolk4.5/mm/page_alloc.c Tue Aug 5 00:14:50 2003
+++ linux/mm/page_alloc.c Tue Aug 5 13:29:46 2003
@@ -174,10 +174,13 @@ static void __free_pages_ok (struct page
BUG();
if (PageInactiveClean(page))
BUG();
+
+#if defined (CONFIG_GRKERNSEC_PAX_RANDEXEC)
if (page->pte.direct)
printk(KERN_WARNING "There's a BUG() with PaX's ET_EXEC vs.
RMAP. Someone has to fix this up!\n");
printk(KERN_WARNING "Please write to 'pag...@fr...'
and ask, if they'll do RMAP support please.\n");
BUG();
+#endif
#ifdef CONFIG_MXT
remove_hidden_pages(page, order);
|