[PATCH] resolv_wrapper: prevent RTLD_DEEPBIND if run with libasan
swen
swen at linux.ibm.com
Tue Jul 23 13:51:34 UTC 2019
Hi Andreas
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 !
Cheers Swen
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:
> https://gitlab.com/cwrap/uid_wrapper/merge_requests/1/commits
>
>
> This runs the tests with Address Sanitizer, so it also makes sure
> that this
> works correctly.
>
>
> Cheers,
>
>
> Andreas
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190723/a95745d6/signature.sig>
More information about the samba-technical
mailing list