Masahiro Yamada
893ab00439
kbuild: remove cc-option test of -fno-stack-protector
...
Some Makefiles already pass -fno-stack-protector unconditionally.
For example, arch/arm64/kernel/vdso/Makefile, arch/x86/xen/Makefile.
No problem report so far about hard-coding this option. So, we can
assume all supported compilers know -fno-stack-protector.
GCC 4.8 and Clang support this option (https://godbolt.org/z/_HDGzN )
Get rid of cc-option from -fno-stack-protector.
Remove CONFIG_CC_HAS_STACKPROTECTOR_NONE, which is always 'y'.
Note:
arch/mips/vdso/Makefile adds -fno-stack-protector twice, first
unconditionally, and second conditionally. I removed the second one.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
2020-07-07 11:13:10 +09:00
..
2020-07-07 11:13:10 +09:00
2020-05-09 16:15:13 -06:00
2019-09-04 07:42:01 -04:00
2019-07-12 12:24:03 -07:00
2019-12-01 12:59:09 -08:00
2020-07-03 16:15:25 -07:00
2017-11-02 11:10:55 +01:00
2020-06-26 00:27:36 -07:00
2017-11-02 11:10:55 +01:00
2020-06-26 00:27:37 -07:00
2020-06-17 10:57:41 -07:00
2020-04-07 10:43:42 -07:00
2020-01-31 10:30:38 -08:00
2020-06-02 10:59:06 -07:00
2019-07-12 11:05:43 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-04 19:06:24 -07:00
2020-04-02 09:35:27 -07:00
2020-06-20 22:14:53 +10:00
2019-12-10 10:12:55 +01:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-04-07 10:43:41 -07:00
2020-07-03 16:15:25 -07:00
2019-12-01 12:59:09 -08:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2019-06-19 17:09:08 +02:00
2020-06-07 17:25:29 -07:00
2020-06-14 01:57:21 +09:00
2020-06-09 09:39:14 -07:00
2019-06-05 17:37:06 +02:00
2020-04-02 09:35:26 -07:00
2020-06-09 09:39:14 -07:00
2020-06-04 19:06:24 -07:00
2020-06-17 10:57:41 -07:00
2020-06-09 09:39:14 -07:00
2020-06-11 18:55:43 -07:00
2020-04-02 09:35:29 -07:00
2020-06-04 19:06:23 -07:00
2020-06-26 00:27:37 -07:00
2019-09-24 15:54:08 -07:00
2020-06-26 00:27:38 -07:00
2020-06-11 18:17:47 -07:00
2020-06-26 00:27:38 -07:00
2020-06-09 09:39:14 -07:00
2019-03-05 21:07:20 -08:00
2020-04-10 15:36:21 -07:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-02 10:59:12 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-26 00:27:38 -07:00
2020-06-10 19:14:18 -07:00
2020-07-03 16:15:25 -07:00
2020-04-02 09:35:29 -07:00
2020-04-07 10:43:40 -07:00
2020-06-08 11:05:55 -07:00
2020-06-09 09:39:13 -07:00
2020-06-04 15:36:52 -04:00
2020-06-03 20:09:45 -07:00
2019-09-24 15:54:08 -07:00
2020-04-07 10:43:39 -07:00
2020-06-09 09:39:13 -07:00
2020-01-31 10:30:38 -08:00
2020-06-04 19:06:24 -07:00
2020-06-09 09:39:14 -07:00
2019-03-13 12:25:31 -07:00
2019-06-05 17:37:16 +02:00
2020-04-01 10:09:12 -07:00
2019-06-05 17:37:16 +02:00
2020-06-02 10:59:11 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-02 10:59:07 -07:00
2020-06-09 09:39:14 -07:00
2020-06-17 10:57:41 -07:00
2020-06-09 09:39:14 -07:00
2020-04-07 10:43:38 -07:00
2020-04-07 10:43:38 -07:00
2020-06-26 00:27:37 -07:00
2020-06-03 20:09:44 -07:00
2020-06-26 00:27:37 -07:00
2020-03-26 14:45:51 +01:00
2020-06-26 00:27:37 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2020-06-03 20:09:48 -07:00
2020-04-02 09:35:27 -07:00
2020-06-26 00:27:37 -07:00
2020-06-26 00:27:38 -07:00
2020-06-09 09:39:14 -07:00
2019-10-19 06:32:33 -04:00
2019-09-17 15:20:17 -07:00
2020-06-09 09:39:14 -07:00
2020-06-09 09:39:14 -07:00
2020-06-10 19:14:18 -07:00
2020-06-26 00:27:38 -07:00
2020-04-02 09:35:31 -07:00
2020-06-26 00:27:37 -07:00
2020-06-04 19:06:26 -07:00
2020-06-26 00:27:37 -07:00
2020-05-28 11:35:40 -07:00
2020-06-04 19:06:24 -07:00
2019-09-24 15:54:12 -07:00
2020-06-09 09:39:13 -07:00
2020-04-07 10:43:41 -07:00