[PATCH] resolv_wrapper: prevent RTLD_DEEPBIND if run with libasan
swen at linux.ibm.com
Tue Jul 23 13:51:34 UTC 2019
thanks for your quick response.
I was trying to run some basic (samba) tests with the 2 sanitizers
enabled but was stopped right away with the DEEPBIND error.
After applying your updates and my 2 small additions that worked.
But now this even runs without the resolv_wrapper patch :-)
Not sure what went wrong on my system, but anyway.
So my intention was not to run resolv-wrapper code with the sanitizers
but more the main samba code.
Anyway, sorry for the noise !
On Tue, 2019-07-23 at 15:11 +0200, Andreas Schneider wrote:
> On Monday, July 22, 2019 3:09:38 PM CEST swen wrote:
> > The only one missing afer Andreas' update.
> > Please review and push if happy.
> Hi Swen,
> this should normally be tested, so implementing this involves a bit
> more than
> just that single patch :-)
> See for example how I did it with uid_wrapper:
> This runs the tests with Address Sanitizer, so it also makes sure
> that this
> works correctly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: This is a digitally signed message part
More information about the samba-technical