aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-02-06 23:37:41 +0000
committerLinus Torvalds <[email protected]>2018-02-07 02:32:44 +0000
commit2bc2f688fdf8808de4f36be563ccdb0bde7c0c54 (patch)
tree7a3be72336e99a09110442813a37e8b571942f71 /lib/test_bitmap.c
parentMakefile: move stack-protector compiler breakage test earlier (diff)
downloadkernel-2bc2f688fdf8808de4f36be563ccdb0bde7c0c54.tar.gz
kernel-2bc2f688fdf8808de4f36be563ccdb0bde7c0c54.zip
Makefile: move stack-protector availability out of Kconfig
Various portions of the kernel, especially per-architecture pieces, need to know if the compiler is building with the stack protector. This was done in the arch/Kconfig with 'select', but this doesn't allow a way to do auto-detected compiler support. In preparation for creating an on-if-available default, move the logic for the definition of CONFIG_CC_STACKPROTECTOR into the Makefile. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]> Tested-by: Laura Abbott <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Josh Triplett <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions