src/uid_wrapper.c: fix mutex fork handling
authorStefan Metzmacher <metze@samba.org>
Tue, 8 Nov 2022 19:31:35 +0000 (20:31 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 17 Jan 2023 13:30:49 +0000 (14:30 +0100)
commit759f4317756b4c70cbf1943ff66a4c714a7e5030
tree6350ca9dd2772071f1670121fd8da814de5bef5f
parent681eb371ee03f2f85f50900842b04911fc75e103
src/uid_wrapper.c: fix mutex fork handling

We need to use pthread_mutex_init in the child handler...
See https://sourceware.org/bugzilla/show_bug.cgi?id=2745

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/uid_wrapper.c