Re: stack-protector: fix CC_HAS_STACKPROTECTOR_NONE depend on -fno-stack-protector

2019-01-12 Thread Masahiro Yamada
On Sat, Jan 12, 2019 at 12:57 PM 隆春 wrote: > > commit(2a61f4747eeaa85ce26ca9fbd81421b15facd018)rename CC_STACKPROTECTOR_NONE > config. but unfortunately if the compiler support option -fno-stack-protector, > CC_HAS_STACKPROTECTOR_NONE will not be disabled. You completely misunderstood that commit

Re: stack-protector: fix CC_HAS_STACKPROTECTOR_NONE depend on -fno-stack-protector

2019-01-12 Thread Kees Cook
On Fri, Jan 11, 2019 at 7:56 PM 隆春 wrote: > > commit(2a61f4747eeaa85ce26ca9fbd81421b15facd018)rename CC_STACKPROTECTOR_NONE > config. but unfortunately if the compiler support option -fno-stack-protector, > CC_HAS_STACKPROTECTOR_NONE will not be disabled. > > CC_HAS_STACKPROTECTOR_NONE and CC_STAC

stack-protector: fix CC_HAS_STACKPROTECTOR_NONE depend on -fno-stack-protector

2019-01-11 Thread 隆春
commit(2a61f4747eeaa85ce26ca9fbd81421b15facd018)rename CC_STACKPROTECTOR_NONE config. but unfortunately if the compiler support option -fno-stack-protector, CC_HAS_STACKPROTECTOR_NONE will not be disabled. CC_HAS_STACKPROTECTOR_NONE and CC_STACKPROTECTOR_STRONG will be enabled at once, as the fol