Messages in this thread | | | Date | Mon, 29 Aug 2022 12:30:00 -0700 | From | Kees Cook <> | Subject | Re: [PATCH 1/2] testing/selftests: Add tests for the is_signed_type() macro |
| |
On Fri, Aug 26, 2022 at 09:21:15AM -0700, Bart Van Assche wrote: > Although not documented, is_signed_type() must support the 'bool' and > pointer types next to scalar and enumeration types. Add a selftest that > verifies that this macro handles all supported types correctly. > > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Arnd Bergmann <arnd@arndb.de> > Cc: Dan Williams <dan.j.williams@intel.com> > Cc: Eric Dumazet <edumazet@google.com> > Cc: Ingo Molnar <mingo@redhat.com> > Cc: Isabella Basso <isabbasso@riseup.net> > Cc: "Jason A. Donenfeld" <Jason@zx2c4.com> > Cc: Josh Poimboeuf <jpoimboe@kernel.org> > Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> > Cc: Masami Hiramatsu <mhiramat@kernel.org> > Cc: Nathan Chancellor <nathan@kernel.org> > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> > Cc: Sander Vanheule <sander@svanheule.net> > Cc: Steven Rostedt <rostedt@goodmis.org> > Cc: Vlastimil Babka <vbabka@suse.cz> > Cc: Yury Norov <yury.norov@gmail.com> > Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
-- Kees Cook
| |