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:	Mon, 3 Aug 2009 23:33:32 -0400
From:	Kyle McMartin <kyle@...artin.ca>
To:	Arnaldo Carvalho de Melo <acme@...hat.com>
Cc:	Kyle McMartin <kyle@...artin.ca>, Ingo Molnar <mingo@...e.hu>,
	Jens Axboe <jens.axboe@...cle.com>,
	Anton Blanchard <anton@...ba.org>, davem@...emloft.net,
	linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
	fweisbec@...il.com, benh@...nel.crashing.org,
	penberg@...helsinki.fi, vegard.nossum@...il.com, paulus@...ba.org,
	williams@...hat.com
Subject: Re: [PATCH] basic perf support for sparc

On Sun, Aug 02, 2009 at 10:54:30PM -0300, Arnaldo Carvalho de Melo wrote:
> The problem is that at least on f11, libbfd.so is a... linker script,
> not an ELF shared library as the name seemed to imply.
> 

Ugh, that's weird. My fedora boxes are the same, but it's correctly a
symlink on my Debian box.
lrwxrwxrwx 1 root root     26 Aug  3 23:30 /usr/lib/libbfd.so ->
libbfd-2.19.51.20090723.so

Kind of strange it's a reference to bfd.a too. :/

> But if I cheat and do a dlopen on the full name, that includes the
> version, it works. Argh, I don't know why this has to be so contorted,
> does anybody here understands this?
> 
> Anyway, the reworked patch below works and additionally doesn't dlopens
> at each DSO, but just once and only if it finds a symbol starting with
> an underscore, an heuristic to avoid loading bfd if we don't need it.
> 

Looks better than mine. :)

cheers, Kyle
--
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