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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Apr 2008 01:40:58 +1000
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	Peter Oberparleiter <peter.oberparleiter@...ibm.com>
Cc:	linux-kernel@...r.kernel.org, ltp-list@...ts.sourceforge.net,
	ltp-coverage@...ts.sourceforge.net,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [RFC PATCH 5/8] module: add function to map address to containing module

On Monday 21 April 2008 22:34:39 Peter Oberparleiter wrote:
> From: Peter Oberparleiter <peter.oberparleiter@...ibm.com>
>
> module_address() maps an address to the module containing it in either
> text or data section. Required by the gcov profiling infrastructure to
> associate profiling data structures with modules.

Locking problem; this isn't safe.  Note that we block preemption to traverse 
the module list.  You could grab a reference, and fix up all the callers to 
put it once they're done?

Thanks,
Rusty.
--
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