Messages in this thread | | | From | Miguel Ojeda <> | Date | Sat, 26 Feb 2022 02:27:53 +0100 | Subject | Re: [PATCH] [PATCH v2] AARCH64: Add gcc Shadow Call Stack support |
| |
On Fri, Feb 25, 2022 at 9:59 PM Kees Cook <keescook@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
| |