This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v5] sysvipc: Set ipc_perm mode as mode_t (BZ#18231)
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Andreas Schwab <schwab at suse dot de>, Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 12 Nov 2019 08:44:39 -0300
- Subject: Re: [PATCH v5] sysvipc: Set ipc_perm mode as mode_t (BZ#18231)
- References: <20190829163631.13647-1-adhemerval.zanella@linaro.org> <mvm5zjpbe9i.fsf@suse.de> <87imnpqth2.fsf@oldenburg2.str.redhat.com> <mvmv9rp4bfs.fsf@suse.de>
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