lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAE+Z0PFZaa2bwtfY5P7ZDYH4JjMxKpJgqz0m+KJ_ks4dctzAKA@mail.gmail.com>
Date: Wed, 13 Dec 2023 16:48:50 +0800
From: Dan Li <ashimida.1990@...il.com>
To: Sami Tolvanen <samitolvanen@...gle.com>
Cc: Peter Zijlstra <peterz@...radead.org>, Aaron Tomlin <atomlin@...hat.com>, 
	Alexander Potapenko <glider@...gle.com>, Alexander Shishkin <alexander.shishkin@...ux.intel.com>, 
	Alexandru Elisei <alexandru.elisei@....com>, Andrew Morton <akpm@...ux-foundation.org>, 
	Anshuman Khandual <anshuman.khandual@....com>, Ard Biesheuvel <ardb@...nel.org>, 
	Arnaldo Carvalho de Melo <acme@...nel.org>, Arnd Bergmann <arnd@...db.de>, Boqun Feng <boqun.feng@...il.com>, 
	Borislav Petkov <bp@...en8.de>, Borislav Petkov <bp@...e.de>, Brian Gerst <brgerst@...il.com>, 
	Catalin Marinas <catalin.marinas@....com>, Changbin Du <changbin.du@...el.com>, 
	Christophe Leroy <christophe.leroy@...roup.eu>, Dave Hansen <dave.hansen@...ux.intel.com>, 
	Dmitry Torokhov <dmitry.torokhov@...il.com>, "Eric W. Biederman" <ebiederm@...ssion.com>, 
	Frederic Weisbecker <frederic@...nel.org>, gcc-patches@....gnu.org, 
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "H. Peter Anvin" <hpa@...or.com>, 
	Ingo Molnar <mingo@...hat.com>, Jiri Olsa <jolsa@...nel.org>, 
	Josh Poimboeuf <jpoimboe@...nel.org>, Juergen Gross <jgross@...e.com>, 
	Kalesh Singh <kaleshsingh@...gle.com>, Kees Cook <keescook@...omium.org>, 
	Kumar Kartikeya Dwivedi <memxor@...il.com>, Luis Chamberlain <mcgrof@...nel.org>, Marco Elver <elver@...gle.com>, 
	Mark Brown <broonie@...nel.org>, Mark Rutland <mark.rutland@....com>, 
	Masahiro Yamada <masahiroy@...nel.org>, Masami Hiramatsu <mhiramat@...nel.org>, 
	Michael Roth <michael.roth@....com>, Michal Marek <michal.lkml@...kovi.net>, 
	Miguel Ojeda <ojeda@...nel.org>, Namhyung Kim <namhyung@...nel.org>, 
	Nathan Chancellor <nathan@...nel.org>, Nick Desaulniers <ndesaulniers@...gle.com>, 
	Nicolas Schier <nicolas@...sle.eu>, "Paul E. McKenney" <paulmck@...nel.org>, 
	Richard Sandiford <richard.sandiford@....com>, Song Liu <song@...nel.org>, 
	Thomas Gleixner <tglx@...utronix.de>, Tom Rix <trix@...hat.com>, Uros Bizjak <ubizjak@...il.com>, 
	Will Deacon <will@...nel.org>, x86@...nel.org, Yuntao Wang <ytcoode@...il.com>, 
	Yu Zhao <yuzhao@...gle.com>, Zhen Lei <thunder.leizhen@...wei.com>, 
	linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org, 
	linux-arm-kernel@...ts.infradead.org, llvm@...ts.linux.dev, 
	linux-hardening@...r.kernel.org, linux-arch@...r.kernel.org, 
	linux-modules@...r.kernel.org, linux-perf-users@...r.kernel.org, 
	wanglikun@...iang.com
Subject: Re: [RFC/RFT,V2] CFI: Add support for gcc CFI in aarch64

+ Likun

On Tue, 28 Mar 2023 at 06:18, Sami Tolvanen <samitolvanen@...gle.com> wrote:
>
> On Mon, Mar 27, 2023 at 2:30 AM Peter Zijlstra <peterz@...radead.org> wrote:
> >
> > On Sat, Mar 25, 2023 at 01:54:16AM -0700, Dan Li wrote:
> >
> > > In the compiler part[4], most of the content is the same as Sami's
> > > implementation[3], except for some minor differences, mainly including:
> > >
> > > 1. The function typeid is calculated differently and it is difficult
> > > to be consistent.
> >
> > This means there is an effective ABI break between the compilers, which
> > is sad :-( Is there really nothing to be done about this?
>
> I agree, this would be unfortunate, and would also be a compatibility
> issue with rustc where there's ongoing work to support
> clang-compatible CFI type hashes:
>
> https://github.com/rust-lang/rust/pull/105452
>
> Sami

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ