This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v5] sysvipc: Set ipc_perm mode as mode_t (BZ#18231)



On 12/11/2019 07:48, Andreas Schwab wrote:
> On Nov 12 2019, Florian Weimer wrote:
> 
>> * Andreas Schwab:
>>
>>> Note that this breaks libsanitizer.
>>
>> In what way and on which targets?
> 
> See <https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00874.html>.
> 
> Andreas.
> 

This is similar to BZ#16919 [1], where the culprit is essentially that
there is no easy way to make libsanitizer to intercept symbol with
multiple versions [2]. For BZ#16919 [3], I ended up reverting the change
(with libsanitizer being one of the reasons).

However I don't really see a good way forward to keep avoid fixing this
kind of conformance issues or, worse, revert this change in case or
possible library breakage. I would rather work towards fixing BZ#14932
instead [4], although I am not sure how libsanitizer would really work
fixing it (it was hinted on [2] that they might use a different strategy
and maybe with llvm-libc they move towards it).

Thoughts?

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=16919
[2] https://github.com/google/sanitizers/issues/628
[3] https://sourceware.org/ml/libc-alpha/2016-06/msg00339.html
[4] https://sourceware.org/bugzilla/show_bug.cgi?id=14932


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]