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>] [day] [month] [year] [list]
Date:	Thu, 14 Aug 2008 00:14:36 -0600
From:	jmerkey@...fmountaingroup.com
To:	linux-kernel@...r.kernel.org
Subject: [PATCH 2.6.27-rc3 1/29] mdb: add machine restart/genapic export

add machine restart and genapic exports for the module based 
build of the debugger.  genapic is exported here rather than 
arch/x86/mach-generic/probes.c because EXPORT_SYMBOL does not
work correctly when used inside of files in this directory in
the 2.6.27 tree.


Signed-off-by: Jeffrey Vernon Merkey (jmerkey@...fmountaingroup.com)

--- a/arch/x86/kernel/reboot.c	2008-08-13 14:22:14.000000000 -0600
+++ b/arch/x86/kernel/reboot.c	2008-08-13 11:56:03.000000000 -0600
@@ -502,6 +502,13 @@
 {
 	machine_ops.restart(cmd);
 }
+#if defined(CONFIG_MDB_MODULE)
+EXPORT_SYMBOL_GPL(machine_restart);
+#endif
+/* export the genapic pointer */
+#if defined(CONFIG_SMP) && defined(CONFIG_MDB_MODULE)
+EXPORT_SYMBOL(genapic);
+#endif
 
 void machine_halt(void)
 {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ