[PATCH] arm64: make STACKPROTECTOR_PER_TASK configurable.

Masahiro Yamada masahiroy at kernel.org
Tue Mar 9 14:53:21 GMT 2021


On Tue, Mar 9, 2021 at 10:35 PM Michal Suchánek <msuchanek at suse.de> wrote:
>
> On Tue, Mar 09, 2021 at 10:22:36PM +0900, Masahiro Yamada wrote:
> > On Tue, Mar 9, 2021 at 9:35 PM Michal Suchanek <msuchanek at suse.de> wrote:
> > >
> > > When using dummy-tools STACKPROTECTOR_PER_TASK is unconditionally
> > > selected. This defeats the purpose of the all-enabled tool.
> > >
> > > Description copied from arm
> > >
> > > Cc: Masahiro Yamada <masahiroy at kernel.org>
> > > Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> >
> >
> > Could you explain what problem
> > this patch is trying to solve?
>
> The option cannot be disabled when compiler has the required capability.


Yes.
Currently, this symbol claims "def_bool y",
so there is no way to disable it.

But, it comes from the nature of Kconfig in general.

dummy-tools is completely unrelated here.







-- 
Best Regards
Masahiro Yamada



More information about the linux-arm-kernel mailing list