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] [thread-next>] [day] [month] [year] [list]
Message-ID: <8904b159-7798-454e-a615-34566c088fda@sirena.org.uk>
Date: Fri, 13 Sep 2024 16:26:20 +0100
From: Mark Brown <broonie@...nel.org>
To: Deepak Gupta <debug@...osinc.com>
Cc: paul.walmsley@...ive.com, palmer@...ive.com, conor@...nel.org,
	linux-doc@...r.kernel.org, linux-riscv@...ts.infradead.org,
	linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
	linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
	linux-arch@...r.kernel.org, linux-kselftest@...r.kernel.org,
	corbet@....net, palmer@...belt.com, aou@...s.berkeley.edu,
	robh@...nel.org, krzk+dt@...nel.org, oleg@...hat.com,
	tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
	dave.hansen@...ux.intel.com, x86@...nel.org, hpa@...or.com,
	peterz@...radead.org, akpm@...ux-foundation.org, arnd@...db.de,
	ebiederm@...ssion.com, kees@...nel.org, Liam.Howlett@...cle.com,
	vbabka@...e.cz, lorenzo.stoakes@...cle.com, shuah@...nel.org,
	brauner@...nel.org, samuel.holland@...ive.com, andy.chiu@...ive.com,
	jerry.shih@...ive.com, greentime.hu@...ive.com,
	charlie@...osinc.com, evan@...osinc.com, cleger@...osinc.com,
	xiao.w.wang@...el.com, ajones@...tanamicro.com, anup@...infault.org,
	mchitale@...tanamicro.com, atishp@...osinc.com, sameo@...osinc.com,
	bjorn@...osinc.com, alexghiti@...osinc.com, david@...hat.com,
	libang.li@...group.com, jszhang@...nel.org, leobras@...hat.com,
	guoren@...nel.org, samitolvanen@...gle.com,
	songshuaishuai@...ylab.org, costa.shul@...hat.com, bhe@...hat.com,
	zong.li@...ive.com, puranjay@...nel.org, namcaov@...il.com,
	antonb@...storrent.com, sorear@...tmail.com,
	quic_bjorande@...cinc.com, ancientmodern4@...il.com,
	ben.dooks@...ethink.co.uk, quic_zhonhan@...cinc.com,
	cuiyunhui@...edance.com, yang.lee@...ux.alibaba.com,
	ke.zhao@...ngroup.cn, sunilvl@...tanamicro.com,
	tanzhasanwork@...il.com, schwab@...e.de, dawei.li@...ngroup.cn,
	rppt@...nel.org, willy@...radead.org, usama.anjum@...labora.com,
	osalvador@...e.de, ryan.roberts@....com, andrii@...nel.org,
	alx@...nel.org, catalin.marinas@....com, revest@...omium.org,
	bgray@...ux.ibm.com, deller@....de, zev@...ilderbeest.net
Subject: Re: [PATCH v4 15/30] riscv/mm: Implement map_shadow_stack() syscall

On Thu, Sep 12, 2024 at 04:16:34PM -0700, Deepak Gupta wrote:

> This patch implements this syscall for riscv. riscv doesn't require token
> to be setup by kernel because user mode can do that by itself. However to
> provide compatibility and portability with other architectues, user mode
> can specify token set flag.

The arm64 series also adds SHADOW_STACK_SET_MARKER for a top of stack
marker, if this is only being done for compatibility it might be good to
pick that up as well.  I don't know what the thoughts are on using them
for RISC-V.  On arm64 the top of stack marker is just all bits 0.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ