uwrap: Extend support for syscalls called from threads or main process.
commitc6a1e6058eeb9234f7bd41124cf4532288e8b776
authorRobin Hack <hack.robin@gmail.com>
Fri, 23 Jan 2015 14:24:39 +0000 (23 15:24 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 28 Jan 2015 16:17:07 +0000 (28 17:17 +0100)
treefc9e61fa6ac85d56683e4fb3a540e0a831eeb429
parente1e067f332ff5f4082b5dafdeecd2aa8c6a5b526
uwrap: Extend support for syscalls called from threads or main process.

We need to distinguish if the syscall is called from main process or
from a thread.

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/uid_wrapper/uid_wrapper.c