Re: [RFC PATCH 7/7] Test stackprotector options in Kconfig to kill CC_STACKPROTECTOR_AUTO

2018-02-08 Thread Masahiro Yamada
2018-02-09 3:30 GMT+09:00 Kees Cook : > On Fri, Feb 9, 2018 at 3:19 AM, Masahiro Yamada > wrote: >> Add CC_HAS_STACKPROTECTOR(_STRONG) and proper dependency. >> >> I re-arranged the choice values, _STRONG, _REGULAR, _NONE in this order >> because the default of choice is the first visible symbol.

Re: [RFC PATCH 7/7] Test stackprotector options in Kconfig to kill CC_STACKPROTECTOR_AUTO

2018-02-08 Thread Kees Cook
On Fri, Feb 9, 2018 at 3:19 AM, Masahiro Yamada wrote: > Add CC_HAS_STACKPROTECTOR(_STRONG) and proper dependency. > > I re-arranged the choice values, _STRONG, _REGULAR, _NONE in this order > because the default of choice is the first visible symbol. > [...] > +# is this necessary? > +#ifeq ($(CO

[RFC PATCH 7/7] Test stackprotector options in Kconfig to kill CC_STACKPROTECTOR_AUTO

2018-02-08 Thread Masahiro Yamada
Add CC_HAS_STACKPROTECTOR(_STRONG) and proper dependency. I re-arranged the choice values, _STRONG, _REGULAR, _NONE in this order because the default of choice is the first visible symbol. TODO: Broken stackprotector is not tested. scripts/gcc-$(SRCARCH)_$(BITS)-has-stack-protector.sh should be e