Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 26 Oct 2019 08:57:41 -0700
From: Joe Perches <joe@...ches.com>
To: samitolvanen@...gle.com, Will Deacon <will@...nel.org>, Catalin Marinas
	 <catalin.marinas@....com>, Steven Rostedt <rostedt@...dmis.org>, Masami
	Hiramatsu <mhiramat@...nel.org>, Ard Biesheuvel <ard.biesheuvel@...aro.org>
Cc: Dave Martin <Dave.Martin@....com>, Kees Cook <keescook@...omium.org>, 
 Laura Abbott <labbott@...hat.com>, Mark Rutland <mark.rutland@....com>,
 Nick Desaulniers <ndesaulniers@...gle.com>, Jann Horn <jannh@...gle.com>,
 Miguel Ojeda <miguel.ojeda.sandonis@...il.com>, Masahiro Yamada
 <yamada.masahiro@...ionext.com>, clang-built-linux@...glegroups.com, 
 kernel-hardening@...ts.openwall.com, linux-arm-kernel@...ts.infradead.org, 
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 05/17] add support for Clang's Shadow Call Stack (SCS)

On Thu, 2019-10-24 at 15:51 -0700, samitolvanen@...gle.com wrote:
> This change adds generic support for Clang's Shadow Call Stack,
> which uses a shadow stack to protect return addresses from being
> overwritten by an attacker. Details are available here:
[]
> diff --git a/include/linux/compiler-clang.h b/include/linux/compiler-clang.h
[]
> @@ -42,3 +42,9 @@
>   * compilers, like ICC.
>   */
>  #define barrier() __asm__ __volatile__("" : : : "memory")
> +
> +#if __has_feature(shadow_call_stack)
> +# define __noscs	__attribute__((no_sanitize("shadow-call-stack")))

__no_sanitize__


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.