socket_wrapper: inject O_LARGEFILE to open[64|at]() if needed
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Nov 2022 10:46:45 +0000 (11:46 +0100)
committerAndreas Schneider <asn@samba.org>
Thu, 24 Nov 2022 09:24:11 +0000 (10:24 +0100)
On 32bit systems this is normally done by glibc if _FILE_OFFSET_BITS is 64,
but with socket wrapper we don't want to define _FILE_OFFSET_BITS=64,
as we need to overload open64 explicitly. But we need to inject
O_LARGEFILE for being transparent to the application.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15251

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

No differences found