commit | 1e2cd3084fff19e12bdf3c83ac1a8d64ef11aa63 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Fri Jul 23 15:19:32 2021 -0700 |
committer | Kees Cook <keescook@chromium.org> | Sun Aug 22 00:21:35 2021 -0700 |
tree | 87ee7c77153e420a5bebf911063c7b01cb589e4d | |
parent | f9398f15605a50110bf570aaa361163a85113dd1 [diff] |
lib/test_stackinit: Allow building stand-alone Especially now that GCC is developing the -ftrivial-auto-var-init option[1], it's helpful to have a stand-alone userspace test for stack variable initialization. Relicense to GPLv2+ (I am the only author), provide stand-alone kernel macro stubs, and update comments for clarity. [1] https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575198.html Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210723221933.3431999-3-keescook@chromium.org