TODO uid_wrapper: Wrap some xattr syscalls, which are called from libattr so get caught by the LD_PRELOAD
We need to wrap all these in the end, as otherwise AddressSanitizer aborts.
The abort is due to us reading below the current stack frame, because it passes in 7 arguments, which may not actually have been passed in. The additional issue is that it is assumed that the arguments to us were passed in as integers, or variables placed in the function call ABI in a way compatible with integers. As an extreme example, if a float was passed, my understandin is that this emulation would not be correct.
Andrew Bartlett
Change-Id: Iaacfa9b3fa926956abb54bad0f810bb2a65d231d
Signed-off-by: Andrew Bartlett <abartlet@samba.org>