TRIVIAL 2.5.12 WP security warning
PATCH 1/1 TRIVIAL 2.5.12 WP security warning
Pavel Machek <[email protected]>: Warn users about machines with non-working WP bit:
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
@@ -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.
arch/i386/mm/init.c line 388
Quoted 9 lines · Rusty Russell
Pavel Machek <[email protected]>: Warn users about machines with non-working WP bit:
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-printk ("No.\n" ); +printk ("No (that's security hole).\n" );#ifdef CONFIG_X86_WP_WORKS_OK
Maybe be a little more explicit in the wording ?
"No. This system is insecure in a multiuser environment.\n" perhaps ?
Signature · 2 lines
| Dave Jones. http://www.codemonkey.org.uk | SuSE Labs
Hi!
Quoted 6 lines
Quoted 6 lines
Pavel Machek <[email protected]>: Warn users about machines with non-working WP bit:
Hi!This might be good idea, as those machines are not safe for multiuser systems.
Quoted 7 lines
arch/i386/mm/init.c line 388
Quoted 3 lines
arch/i386/mm/init.c renamed from arch/i386/mm/init.c.orig +1
-1-printk ("No.\n" ); +printk ("No (that's security hole).\n" );#ifdef CONFIG_X86_WP_WORKS_OK Maybe be a little more explicit in the wording ?
"No. This system is insecure in a multiuser environment.\n" perhaps ?
Looks good.
Pavel
Signature · 2 lines
Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic.
Quoted 3 lines · In article <[email protected]> you wrote:
Quoted 1 line
"No. This system is insecure in a multiuser environment.\n" perhaps ?
Looks good.
bonus points if you make it default to runlevel 1 ;)