[PATCH v3][BZ #832][BZ #3266] Make ldd try_trace more robust and portable
Mike Frysinger
vapier@gentoo.org
Mon Oct 14 06:00:00 GMT 2013
On Wednesday 11 September 2013 23:13:36 Patrick 'P. J.' McDermott wrote:
> It was noted in 2005 (BZ #832), 2006 (BZ #3266), and 2007 [1] that ldd
> fails on shells other than Bash >= 3.0 because of the pipefail option
> around try_trace (added on 2004-12-08). EGLIBC was patched in 2008 [2]
> (r6912) to make the pipefail check run only on shells that support it,
> but RTLD output would still be lost on other shells with certain SELinux
> policies.
>
> This patch rewrites try_trace to work on any POSIX-conformant shell in
> such a way as to also work with such SELinux policies. It also obviates
> one difference between glibc and EGLIBC.
i've pushed this now. thanks!
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20131014/1307a919/attachment.sig>
More information about the Libc-alpha
mailing list