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:	Mon, 05 Mar 2007 18:03:59 -0600
From:	Robert Peterson <rpeterso@...hat.com>
To:	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH 2.6.21-rc1] Extend print_symbol capability TRY #2

This is try #2 for this patch, with corrections based on feedback. 
It is the same as the previous patch except:
(1) The function has been renamed from lookup_symbol to sprint_symbol
    as requested by Paulo Marques.
(2) I fixed the "return NULL;" to "return;" as pointed out by Paulo Marques
    for the case where the kallsyms function is not selected in .config
(3) I changed EXPORT_SYMBOL to EXPORT_SYMBOL_GPL as
    requested by Roman Zippel. (Andrew, I thought you said you changed this,
    but I didn't see it in mm1).

I hope this patch attaches with proper spacing and without word wrap.
If it doesn't, my apologies (I'm using Thunderbird, but suggestions 
welcome).

Original comment:

Today's print_symbol function dumps a kernel symbol with printk.
This patch extends the functionality of kallsyms.c so that the symbol
lookup function may be used without the printk.  This is
useful for modules that want to dump symbols elsewhere, for
example, to debugfs.  I intend to use the new function call in the
GFS2 file system (which will be a separate patch).

Signed-off-by: Robert Peterson <rpeterso@...hat.com>
---


View attachment "kallsyms.patch.try2" of type "text/plain" (2799 bytes)

Powered by blists - more mailing lists