lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Jun 2008 17:50:21 +0100
From:	Ben Dooks <ben-linux@...ff.org>
To:	linux-arm-kernel@...ts.arm.linux.org.uk
Cc:	linux-kernel@...r.kernel.org
Subject: linux-next: fix vector initialisation when !CONFIG_KGDB

It seems in the changes for adding CONFIG_KGDB that the ARM
trap initialisation has been turned off if the configuration
is not enabled. If CONFIG_KGDB is not set, the system locks
up as soon as the kernel turns the IRQs on for the first
time in init/main.c.

The fix is to remove the dependency on calling early_trap_init()
on CONFIG_KGDB, so that the vectors are initialised before
the init sequence enables the IRQs.

Signed-off-by: Ben Dooks <ben-linux@...ff.org>

--- linux-2.6.26-rc6-q1.orig/arch/arm/kernel/setup.c	2008-06-18 15:17:31.000000000 +0100
+++ linux-2.6.26-rc6-q1/arch/arm/kernel/setup.c	2008-06-18 15:17:45.000000000 +0100
@@ -855,9 +855,7 @@ void __init setup_arch(char **cmdline_p)
 #endif
 #endif
 
-#if defined(CONFIG_KGDB)
 	early_trap_init();
-#endif
 }


Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ