Skip to contentSkip to conversation

Warn users about machines with non-working WP bit

TRIVIAL Rusty Trivial Russell 1 participant 1 message Aug 6, 2002

lore
Share & tools
lore
#0 lore raw

[ Truth in advertising? ]

From: Pavel Machek <[email protected]>

Hi!

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

arch/i386/mm/init.c renamed from arch/i386/mm/init.c.orig +1 -1
@@ -397,7 +397,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
Signature · 1 line
  Don't blame me: the Monkey is driving