public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [TRIVIAL] Warn users about machines with non-working WP bit
@ 2002-08-06  9:17 Manfred Spraul
  2002-08-06  9:28 ` David S. Miller
  0 siblings, 1 reply; 16+ messages in thread
From: Manfred Spraul @ 2002-08-06  9:17 UTC (permalink / raw)
  To: Rusty Trivial Russell, linux-kernel

> -		printk("No.\n");
> +		printk("No (that's security hole).\n");
>  #ifdef CONFIG_X86_WP_WORKS_OK

Could you explain the hole?
WP works for user space apps, only ring0 (or ring 0-2?) code ignores the WP bit on i386.

--
	Manfred



^ permalink raw reply	[flat|nested] 16+ messages in thread
* [TRIVIAL] Warn users about machines with non-working WP bit
@ 2002-08-06  3:49 Rusty Trivial Russell
  0 siblings, 0 replies; 16+ messages in thread
From: Rusty Trivial Russell @ 2002-08-06  3:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

[ Truth in advertising? ]

From:  Pavel Machek <pavel@ucw.cz>

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

--- trivial-2.5.30/arch/i386/mm/init.c.orig	2002-08-06 13:18:12.000000000 +1000
+++ trivial-2.5.30/arch/i386/mm/init.c	2002-08-06 13:18:12.000000000 +1000
@@ -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
-- 
  Don't blame me: the Monkey is driving

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-08-19 22:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-06  9:17 [TRIVIAL] Warn users about machines with non-working WP bit Manfred Spraul
2002-08-06  9:28 ` David S. Miller
2002-08-06  9:42   ` Manfred Spraul
2001-08-20 20:03     ` Pavel Machek
2002-08-06 14:03   ` Kasper Dupont
2002-08-06 13:56     ` David S. Miller
2002-08-06 14:16       ` Kasper Dupont
2002-08-06 14:05         ` David S. Miller
2002-08-06 14:27           ` Kasper Dupont
2002-08-06 14:36             ` Manfred Spraul
2001-08-20 20:06               ` Pavel Machek
2002-08-19 22:04                 ` Alan Cox
2002-08-06 15:11               ` Kasper Dupont
2002-08-06 16:38               ` Willy Tarreau
2002-08-06 16:45               ` Zwane Mwaikambo
  -- strict thread matches above, loose matches on Subject: below --
2002-08-06  3:49 Rusty Trivial Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox