[PATCH] [PATCH v2] AARCH64: Add gcc Shadow Call Stack support
Miguel Ojeda
miguel.ojeda.sandonis at gmail.com
Fri Feb 25 17:27:53 PST 2022
On Fri, Feb 25, 2022 at 9:59 PM Kees Cook <keescook at chromium.org> wrote:
>
> I thought about that too, but I think it's less simple due to the
> __has_feature vs CONFIG differences, etc:
> https://lore.kernel.org/lkml/202202251243.1E38256F9@keescook/
>
> But maybe __has_feature doesn't really matter here?
I have not tested it, but I was assuming the `CONFIG` could do its
job, since it comes from testing the compiler flag.
If the `__has_feature` is actually restricting it more than that, then
we should probably get the `CONFIG` fixed so that it only gets enabled
when really it is going to be used.
Cheers,
Miguel
More information about the linux-arm-kernel
mailing list