logging _rtld errors

Kostik Belousov kostikbel at gmail.com
Mon Dec 19 20:25:13 UTC 2011


On Mon, Dec 19, 2011 at 11:54:46AM -0800, Xin LI wrote:
> Hi,
> 
> On Mon, Dec 19, 2011 at 11:41 AM, Mike Tancsa <mike at sentex.net> wrote:
> > Are there any security reasons as to why
> >
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=142258  ([patch] rtld(1): add
> > ability to log or print rtld errors)
> >
> > would not have been committed to the tree ?
> 
> I've added kib@ to Cc list.
> 
> It doesn't seem to me that this proposed change would do something
> with security?  Personally I think the change is reasonable (but we
> may want printf be replaced with _rtld_error in rtld.c and use
> LD_UTRACE there?)

I also think that UTRACE part is not bad, but will object against the
LD_PRINT_ERROR part. FWIW, it should use rtld_printf() instead of printf(),
but this is moot point.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20111219/6669154f/attachment.pgp


More information about the freebsd-security mailing list