Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1220492pxb; Fri, 22 Jan 2021 09:51:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTs8Wn14ZsO7EOPMVz9TJyHQeNytw4KQq2KVeEze+cOieA0kkrR8Ue98gR3Q2kdUTnaYnc X-Received: by 2002:a05:6402:31bb:: with SMTP id dj27mr4088053edb.285.1611337900596; Fri, 22 Jan 2021 09:51:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611337900; cv=none; d=google.com; s=arc-20160816; b=UfofVO+hRQ4GlKC5S4GFYIV3Z9e6OB6voOm4Y8+Q/cfpE2GFTG/j3fy3XRc9M9OOFY whE4Ounx503CCBrnJ9MwdUQWZZ/SYvnkhywSM2BGisymAhPoZ/qgGwr3ouPXcDDPRHva F66K7GFghBoHkM+TVfL8B6yAp6BXrWRwnn7gChYnLLrHPl2rBymjC95kDCur6IaKS8Vc OC5An58BGOm+N1AFnFvSQc8G5AGx5CtkXYyk46DuO15FvejQPUv5iEKzFYwUw9uCwwVy kPARxIGa2yoK3Qnuo+IFZuEikqKOshmLwoJnH6MDUQH+OB2BOJDtPEE4YK40zzYBudt4 wtGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ORhEquis0MDmxrHy9HXaxnK4QDKGZwYOySFHpofsGJw=; b=gSocGE2Zzbfsh3ADxJOZsEqtFc1WPxasVJypb5nAgvJTOg9CMAfOMhGEGMwz1RoEyW ErkDZw4z15r4nPNCPhNVCeOEo5DwDuI3y16ztRW5Iv8mSMrqbw2wJvfvNBUWUxNMdQH5 pK009v7cKfbbNHGQv+6QVAlDXH0TX0U0344oevfPHOmsengLyib8Pc0cmafAhBxOMLGL hcOEp6B2T56kl3YfUuLftoBhq5H5m/6g+57I67DNfH56oS2dPRpLgrZ0CPVEEia5zHhN 34iVV2fT0SEF0DsYbYVYnWXromKoPBz7wlBcT7Rfkn4jTLQHcZ7bGuaa220qGletvRJ+ ct3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tX8UzS/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si3779267edt.339.2021.01.22.09.51.16; Fri, 22 Jan 2021 09:51:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tX8UzS/e"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729715AbhAVRrS (ORCPT + 99 others); Fri, 22 Jan 2021 12:47:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:52692 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729636AbhAVRpG (ORCPT ); Fri, 22 Jan 2021 12:45:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2A71E23A68; Fri, 22 Jan 2021 17:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611337462; bh=Fbw7hbg4eFinWbI+ufZKhLlJam1o9Uua400X/NfxFCE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tX8UzS/eD1cr7yrQUJIL18lkdaJbV4NkcQq6ejfOaQuFv2hdvx2Dk2NxHKCELL+tm gB5LH/E2jHzoODl+l5pC9LnH4BX3C8cNb+HMFLlzVvs2z9GeO5N2HamAgsoag69397 xM9GyS+b9vSwcmDLtnJqh2UqiyZe/LtRxD0SvL15ZIehVGJ/1nwh5tcC5zdIfDSuTg UA9DbMktYrr+7xDQjw+RV13CbEuXa78wQrGoTQX5eF7DP8NsrLjY+eWMkokeOdrx4s IdtW124T7EH7s2t0LQV2LfAo+FSU6r0qSwCHNJSxp+ByPvpWcJ+fa8vzlsM7HV6JE0 Wj6V1sT2vNblg== Date: Fri, 22 Jan 2021 17:43:42 +0000 From: Mark Brown To: Josh Poimboeuf Cc: Ard Biesheuvel , Peter Zijlstra , Julien Thierry , Linux Kernel Mailing List , Linux ARM , Catalin Marinas , Will Deacon , Masahiro Yamada , Kees Cook , Michal Marek , Mark Rutland , linux-efi , linux-hardening@vger.kernel.org, live-patching@vger.kernel.org Subject: Re: [RFC PATCH 00/17] objtool: add base support for arm64 Message-ID: <20210122174342.GG6391@sirena.org.uk> References: <20210120173800.1660730-1-jthierry@redhat.com> <186bb660-6e70-6bbf-4e96-1894799c79ce@redhat.com> <20210121185452.fxoz4ehqfv75bdzq@treble> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="z9ECzHErBrwFF8sy" Content-Disposition: inline In-Reply-To: <20210121185452.fxoz4ehqfv75bdzq@treble> X-Cookie: 98% lean. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --z9ECzHErBrwFF8sy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 21, 2021 at 12:54:52PM -0600, Josh Poimboeuf wrote: > 2) The shadow stack idea sounds promising -- how hard would it be to > make a prototype reliable unwinder? In theory it doesn't look too hard and I can't see a particular reason not to try doing this - there's going to be edge cases but hopefully for reliable stack trace they're all in areas where we would be happy to just decide the stack isn't reliable anyway, things like nesting which allocates separate shadow stacks for each nested level for example. I'll take a look. --z9ECzHErBrwFF8sy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmALDs0ACgkQJNaLcl1U h9D+zggAgtOONPllLfslr6X/wB/43FjYYsgGfKtPctsQgrbSMbqrDXOu8z6jJTT9 WfzvJoic373/eZzXRIu2mQIAjMNLC9bsYKFSjL3YdM4QN17TuvxyawY6GTMi+7HK p+wANJD/JE0Hze6QtsM4uyVUd3t16oHVTaJ7wn7bc9CThv4wtj7BMD7Lrj98OGJ2 BDwZKSWLroBkd1DBUdEnS1ROAlVq/QFvZ6VcqbrFobcsGsSoBiC9XgpEYzF68cW9 ywYhjF1o3mdhCtJF2actzFz6at/aWkfGWa0O93EZsRjON6DEklJLMVBf2ylexGBY MoROeAM/bDf4oj3hrKxGNKy4Zm+C6w== =6hN/ -----END PGP SIGNATURE----- --z9ECzHErBrwFF8sy--