* [PATCH] libsanitizer: Do not mention MSan and DFSan in an error message
@ 2024-04-04 11:38 Ilya Leoshkevich
2024-04-04 12:19 ` Andreas Krebbel
0 siblings, 1 reply; 4+ messages in thread
From: Ilya Leoshkevich @ 2024-04-04 11:38 UTC (permalink / raw)
To: Andreas Krebbel
Cc: gcc-patches, Stefan Schulze Frielinghaus, Juergen Christ,
Ilya Leoshkevich
Bootstrapped and regtested on s390x-redhat-linux. Ok for master?
libsanitizer/ChangeLog:
* sanitizer_common/sanitizer_linux_s390.cpp (AvoidCVE_2016_2143):
Do not mention MSan and DFSan, which are not supported by GCC.
---
libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
index 74db831b0aa..65ba825fa97 100644
--- a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
+++ b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
@@ -212,7 +212,7 @@ void AvoidCVE_2016_2143() {
return;
Report(
"ERROR: Your kernel seems to be vulnerable to CVE-2016-2143. Using ASan,\n"
- "MSan, TSan, DFSan or LSan with such kernel can and will crash your\n"
+ "TSan or LSan with such kernel can and will crash your\n"
"machine, or worse.\n"
"\n"
"If you are certain your kernel is not vulnerable (you have compiled it\n"
--
2.44.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libsanitizer: Do not mention MSan and DFSan in an error message
2024-04-04 11:38 [PATCH] libsanitizer: Do not mention MSan and DFSan in an error message Ilya Leoshkevich
@ 2024-04-04 12:19 ` Andreas Krebbel
2024-04-04 12:22 ` Jakub Jelinek
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Krebbel @ 2024-04-04 12:19 UTC (permalink / raw)
To: Ilya Leoshkevich, Andreas Krebbel
Cc: gcc-patches, Stefan Schulze Frielinghaus, Juergen Christ
On 4/4/24 13:38, Ilya Leoshkevich wrote:
> Bootstrapped and regtested on s390x-redhat-linux. Ok for master?
>
>
> libsanitizer/ChangeLog:
>
> * sanitizer_common/sanitizer_linux_s390.cpp (AvoidCVE_2016_2143):
> Do not mention MSan and DFSan, which are not supported by GCC.
Ok, Thanks!
Andreas
> ---
> libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
> index 74db831b0aa..65ba825fa97 100644
> --- a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
> +++ b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
> @@ -212,7 +212,7 @@ void AvoidCVE_2016_2143() {
> return;
> Report(
> "ERROR: Your kernel seems to be vulnerable to CVE-2016-2143. Using ASan,\n"
> - "MSan, TSan, DFSan or LSan with such kernel can and will crash your\n"
> + "TSan or LSan with such kernel can and will crash your\n"
> "machine, or worse.\n"
> "\n"
> "If you are certain your kernel is not vulnerable (you have compiled it\n"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libsanitizer: Do not mention MSan and DFSan in an error message
2024-04-04 12:19 ` Andreas Krebbel
@ 2024-04-04 12:22 ` Jakub Jelinek
2024-04-04 13:24 ` Andreas Krebbel
0 siblings, 1 reply; 4+ messages in thread
From: Jakub Jelinek @ 2024-04-04 12:22 UTC (permalink / raw)
To: Andreas Krebbel
Cc: Ilya Leoshkevich, Andreas Krebbel, gcc-patches,
Stefan Schulze Frielinghaus, Juergen Christ
On Thu, Apr 04, 2024 at 02:19:08PM +0200, Andreas Krebbel wrote:
> On 4/4/24 13:38, Ilya Leoshkevich wrote:
> > Bootstrapped and regtested on s390x-redhat-linux. Ok for master?
> >
> >
> > libsanitizer/ChangeLog:
> >
> > * sanitizer_common/sanitizer_linux_s390.cpp (AvoidCVE_2016_2143):
> > Do not mention MSan and DFSan, which are not supported by GCC.
>
> Ok, Thanks!
This then needs to be added to libsanitizer/LOCAL_PATCHES , otherwise
it will disappear on the next merge from upstream.
Though, I must say I'm not entirely convinced the change is worth the
hassle on every libsanitizer merge.
> > diff --git a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
> > index 74db831b0aa..65ba825fa97 100644
> > --- a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
> > +++ b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
> > @@ -212,7 +212,7 @@ void AvoidCVE_2016_2143() {
> > return;
> > Report(
> > "ERROR: Your kernel seems to be vulnerable to CVE-2016-2143. Using ASan,\n"
> > - "MSan, TSan, DFSan or LSan with such kernel can and will crash your\n"
> > + "TSan or LSan with such kernel can and will crash your\n"
> > "machine, or worse.\n"
> > "\n"
> > "If you are certain your kernel is not vulnerable (you have compiled it\n"
Jakub
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] libsanitizer: Do not mention MSan and DFSan in an error message
2024-04-04 12:22 ` Jakub Jelinek
@ 2024-04-04 13:24 ` Andreas Krebbel
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Krebbel @ 2024-04-04 13:24 UTC (permalink / raw)
To: Jakub Jelinek
Cc: Ilya Leoshkevich, Andreas Krebbel, gcc-patches,
Stefan Schulze Frielinghaus, Juergen Christ
On 4/4/24 14:22, Jakub Jelinek wrote:
> On Thu, Apr 04, 2024 at 02:19:08PM +0200, Andreas Krebbel wrote:
>> On 4/4/24 13:38, Ilya Leoshkevich wrote:
>>> Bootstrapped and regtested on s390x-redhat-linux. Ok for master?
>>>
>>>
>>> libsanitizer/ChangeLog:
>>>
>>> * sanitizer_common/sanitizer_linux_s390.cpp (AvoidCVE_2016_2143):
>>> Do not mention MSan and DFSan, which are not supported by GCC.
>>
>> Ok, Thanks!
>
> This then needs to be added to libsanitizer/LOCAL_PATCHES , otherwise
> it will disappear on the next merge from upstream.
>
> Though, I must say I'm not entirely convinced the change is worth the
> hassle on every libsanitizer merge.
You are right. We will leave the message as is.
Thanks!
Andreas
>
>>> diff --git a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
>>> index 74db831b0aa..65ba825fa97 100644
>>> --- a/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
>>> +++ b/libsanitizer/sanitizer_common/sanitizer_linux_s390.cpp
>>> @@ -212,7 +212,7 @@ void AvoidCVE_2016_2143() {
>>> return;
>>> Report(
>>> "ERROR: Your kernel seems to be vulnerable to CVE-2016-2143. Using ASan,\n"
>>> - "MSan, TSan, DFSan or LSan with such kernel can and will crash your\n"
>>> + "TSan or LSan with such kernel can and will crash your\n"
>>> "machine, or worse.\n"
>>> "\n"
>>> "If you are certain your kernel is not vulnerable (you have compiled it\n"
>
> Jakub
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-04 13:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04 11:38 [PATCH] libsanitizer: Do not mention MSan and DFSan in an error message Ilya Leoshkevich
2024-04-04 12:19 ` Andreas Krebbel
2024-04-04 12:22 ` Jakub Jelinek
2024-04-04 13:24 ` Andreas Krebbel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).