Re: [PATCH v3 15/17] arm64: vdso: disable Shadow Call Stack

From: Kees Cook
Date: Fri Nov 01 2019 - 00:01:36 EST


On Thu, Oct 31, 2019 at 09:46:35AM -0700, samitolvanen@xxxxxxxxxx wrote:
> Signed-off-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>

I think Nick already mentioned the missing commit log. With that:

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

-Kees

> ---
> arch/arm64/kernel/vdso/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile
> index dd2514bb1511..a87a4f11724e 100644
> --- a/arch/arm64/kernel/vdso/Makefile
> +++ b/arch/arm64/kernel/vdso/Makefile
> @@ -25,7 +25,7 @@ ccflags-y += -DDISABLE_BRANCH_PROFILING
>
> VDSO_LDFLAGS := -Bsymbolic
>
> -CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os
> +CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os $(CC_FLAGS_SCS)
> KBUILD_CFLAGS += $(DISABLE_LTO)
> KASAN_SANITIZE := n
> UBSAN_SANITIZE := n
> --
> 2.24.0.rc0.303.g954a862665-goog
>

--
Kees Cook