lkml.org 
[lkml]   [2002]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] TRIVIAL 2.5.12 WP security warning
Date
Pavel Machek <pavel@ucw.cz>: Warn users about machines with non-working WP bit:
Hi!

This might be good idea, as those machines are not safe for multiuser
systems.


--- trivial-2.5.12/arch/i386/mm/init.c.orig Wed May 1 17:15:10 2002
+++ trivial-2.5.12/arch/i386/mm/init.c Wed May 1 17:15:10 2002
@@ -384,7 +384,7 @@
local_flush_tlb();

if (!boot_cpu_data.wp_works_ok) {
- printk("No.\n");
+ printk("No (that's security hole).\n");
#ifdef CONFIG_X86_WP_WORKS_OK
panic("This kernel doesn't support CPU's with broken WP. Recompile it for a 386!");
#endif
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.074 / U:1.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site