[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZeJ-LAkSxwBlr9_v@surfacebook.localdomain>
Date: Sat, 2 Mar 2024 03:17:32 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Kees Cook <keescook@...omium.org>
Cc: Rasmus Villemoes <linux@...musvillemoes.dk>,
"Gustavo A . R . Silva" <gustavoars@...nel.org>,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
David Laight <David.Laight@...lab.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Martin Uecker <Martin.Uecker@....uni-goettingen.de>,
Jonathan Corbet <corbet@....net>, linux-doc@...r.kernel.org,
Miguel Ojeda <ojeda@...nel.org>, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] compiler.h: Explain how __is_constexpr() works
Thu, Feb 29, 2024 at 08:44:37PM -0800, Kees Cook kirjoitti:
> The __is_constexpr() macro is dark magic. Shed some light on it with
> a comment to explain how and why it works.
I was under impression that somebody did it already once and it fell through
cracks when has been moved (?) to compiler.h.
Ah, now I see it, https://lore.kernel.org/all/YKeghxRY4FeOKuwb@smile.fi.intel.com/.
It was asked, but till now never fulfilled (maybe Reported-by:/Closes: tag?).
And explanation before was given here:
https://stackoverflow.com/questions/49481217/linux-kernels-is-constexpr-macro.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists