[Pkg-sssd-devel] Bug#1069450: Bug#1069450: socket_wrapper and the time_t 64-bit is hard
Simon Josefsson
simon at josefsson.org
Tue Jul 16 18:28:43 BST 2024
Luca Boccassi <bluca at debian.org> writes:
> On Mon, 29 Apr 2024 13:03:22 +1200 Andrew Bartlett <abartlet at samba.org>
> wrote:
>> Just a warning that trying to brute force a fix for this is likely to
>> end badly. A lot of developer time was spent to get to this current
>> delicate situation, which relied on the narrow behaviour that is now
>> eliminated by the Debian time_t 64 transition rules.
>>
>> Socket-wrapper starts with:
>>
>> /*
>> * Make sure we do not redirect (f)open(at)() or fcntl() to their
> 64bit
>> * variants
>> */
>> #undef _FILE_OFFSET_BITS
>>
>> This was added in
>>
> https://gitlab.com/cwrap/socket_wrapper/-/commit/bbe14cc3200ca553b13ed49357e2e88ba487eeaa
>>
>> Setting -D_FILE_OFFSET_BITS=64 will break the fcntl64 wrapper and so
>> break Samba's tests.
>>
>> I don't know if there is a good fix for this actually.
>>
>> Andrew Bartlett
>
> How about simply dropping armv7 support from socket-wrapper and uid-
> wrapper? Having architectures that are actually used being blocked by
> these issues is suboptimal at best
Yes, I'm a bit uncertain how to fix these bugs, and lack time to debug
it. If someone wants to help, please do!
/Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-sssd-devel/attachments/20240716/635e0430/attachment-0001.sig>
More information about the Pkg-sssd-devel
mailing list