nwrap: Rewrite symbol binding for libc, libnsl and libsocket
authorAndreas Schneider <asn@samba.org>
Wed, 1 Apr 2020 16:32:32 +0000 (18:32 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 2 Apr 2020 09:28:41 +0000 (11:28 +0200)
commitc007cbdf655f2dfd1914849a8882eb0297b2b120
treeb4636e0a0f60c3f02a15d7fceec62cd724232d87
parentb5a67dfa64ebb7733c883b2b0eea18bb557ee1d0
nwrap: Rewrite symbol binding for libc, libnsl and libsocket

This fixes strict aliasing issues which cause segfaults at least on
armhfp.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@suse.de>
src/nss_wrapper.c