• Kees Cook's avatar
    fortify: Add KUnit test for FORTIFY_SOURCE internals · 875bfd52
    Kees Cook authored
    Add lib/fortify_kunit.c KUnit test for checking the expected behavioral
    characteristics of FORTIFY_SOURCE internals.
    
    Cc: Nick Desaulniers <ndesaulniers@google.com>
    Cc: Nathan Chancellor <nathan@kernel.org>
    Cc: Tom Rix <trix@redhat.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: "Steven Rostedt (Google)" <rostedt@goodmis.org>
    Cc: Yury Norov <yury.norov@gmail.com>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Sander Vanheule <sander@svanheule.net>
    Cc: linux-hardening@vger.kernel.org
    Cc: llvm@lists.linux.dev
    Reviewed-by: default avatarDavid Gow <davidgow@google.com>
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    875bfd52
fortify_kunit.c 2.03 KB