[patch] for wolk4.5, grsec/pax - rmap
| Newsgroups | gmane.linux.wolk.devel |
|---|---|
| Message-ID | <3F2FDB2C.22378.1C5F994@localhost> |
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 '[email protected]'
and ask, if they'll do RMAP support please.\n");
BUG();
+#endif
#ifdef CONFIG_MXT
remove_hidden_pages(page, order);
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
WOLK - Working Overloaded Linux Kernel
[email protected]
https://lists.sourceforge.net/lists/listinfo/wolk-devel