Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2701441rdb; Fri, 8 Dec 2023 17:07:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqf7ETaLr4EI2s4dfXhlej1sKlHLLSkYQgIoDM75xxnt5r41x5fuG8k9gR9ABOt2gD4rAi X-Received: by 2002:a05:6870:2113:b0:1fb:75b:2fba with SMTP id f19-20020a056870211300b001fb075b2fbamr1069542oae.81.1702084050781; Fri, 08 Dec 2023 17:07:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702084050; cv=none; d=google.com; s=arc-20160816; b=qzntPuZHEffGsiDzZ1yHyWr7OQXlMVoTBxYG4Nic5JuwstRcjSJqqQ7QkVZuzzAm/+ MfghfaMr4k0QFIw6QhBox9W/d9t/PmAl7rYuboYgnA9NjtxDmeNnFeFeAsMl0lTSFTgC SGJzkLGD68kKEMil2jOeA72o6v7KUlp87AKjs2yQfkdZCyF7atVRomIzjGcM0dZGFIoq 6H2qpu9maqZzZ1wEs6NAKx/VWlH+esDWJMnrbRrT34rXdd+r/pvBdF++Tjqbp1aP81Yp mtmpUaSYUtR/ILC6ZTwedCQEAH+CmZAiNx7Ghc95Nxw3QwflEzy3bT1xmG2C5emvuSdF EfQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=b6IjCysQyxVJK9x8nj1AYEYR5XOXnTtkuZQSQ08vHNU=; fh=aMC9Ug9rCWNVrZHpxTVOyJQ+i5Ry2TyDV/UdwTWbIiI=; b=GNGBugUCw1Jauwetu1lBtsa2XysfTulkYOYuRPG7u9ispTiZTxtQ97UBXKoG8kkYDF ZmYZvr5qKkX/boNtU2J4r1UdVcrazq6wExHagmDJImMvVdzcWPlBbqqV/hWrKHqSg8Rl VgUJvRmSzEOfmLER6mIbjfAnHi+lQo8DkvNROt5dXLDXlsT6mqnuo5+AbAUa6PmawKhs TJzmbjVu3loLv0oAF42KsU0SYKxBu5EveYNQ2WlH8rlLcEX7xfAMVYY+E+58/YypdPpe 9EQ1RXTp43/bIgE+yuPTM1AP2UW48+ndeYs3TL1tN9WE0yBebUn8p4IG6rIaV64tqpPr mi9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VI+MJlPw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id bj7-20020a056a02018700b005c68da9ca8asi2440719pgb.787.2023.12.08.17.07.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 17:07:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VI+MJlPw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8C67E81CA3F6; Fri, 8 Dec 2023 17:07:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235981AbjLIBHO (ORCPT + 99 others); Fri, 8 Dec 2023 20:07:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234166AbjLIBHL (ORCPT ); Fri, 8 Dec 2023 20:07:11 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16A5E19B6 for ; Fri, 8 Dec 2023 17:06:59 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB824C433C8; Sat, 9 Dec 2023 01:06:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702084019; bh=b6IjCysQyxVJK9x8nj1AYEYR5XOXnTtkuZQSQ08vHNU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VI+MJlPwo53axFeWk1xMCwtjB2HzkUa86ouwE+WAHMXJxsW8IZ8MrMKC1fLFLUWdp tZz88EUXQ3jCxD1yqhnjciQsIfJ27ShL2N4wg1jLi5Gpn0XdSKMv2eSD9xUYBOvGdm T3VsQWakNryOkdDG16ABIhRDryPSd5kmdCsm9oeOsHRYolWO9XJzZgYjXWNqWk0hDY pL5R/E3hfC2Iij067Dl5XASdEQ1cWnRYUGjG4SwjdrYs0cr++bz2jOEtUXeTsB8Ql2 VkEIjaPS0oGFD2wU11DDnrdaIxqS+5RAjQ54y6ijn9Gy13/kNjAeOZTmHfDuD3pyZT PRAm4wHuV9iXw== Date: Sat, 9 Dec 2023 01:06:56 +0000 From: Mark Brown To: Robert O'Callahan Cc: "Rick P. Edgecombe" , Deepak Gupta , Szabolcs Nagy , "H.J. Lu" , Florian Weimer , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Christian Brauner , Shuah Khan , linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Kees Cook , jannh@google.com, linux-kselftest@vger.kernel.org, linux-api@vger.kernel.org, David Hildenbrand Subject: Re: [PATCH RFT v4 0/5] fork: Support shadow stacks in clone3() Message-ID: References: <20231128-clone3-shadow-stack-v4-0-8b28ffe4f676@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9+v5nyrr2oNDi4Pq" Content-Disposition: inline In-Reply-To: X-Cookie: You might have mail. X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 17:07:28 -0800 (PST) --9+v5nyrr2oNDi4Pq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Dec 09, 2023 at 01:59:16PM +1300, Robert O'Callahan wrote: > overriding clone_args::shadow_stack_size to zero in the call to > clone3(), instead having the replay task call map_shadow_stack() to > put the the shadow stack in the right place, and then setting its SSP > via ptrace. Will that work? That should work with the interface in the current series, yes. --9+v5nyrr2oNDi4Pq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmVzva8ACgkQJNaLcl1U h9CLYAf/elahxJ0+6pGU/W2cE2bLlKd8hf7OxZlCjvCjqdNNIcfk1AT5m6hhowGw 8vrXEALM0eN8d9SNyPCdHgdEC9p/qA0SC5AEoYNVb7XNtaBhalLMXRI7YryryF93 nxul+HAYJrhYxsGrFzpirjb2QiOkLkvGLE7Fvyfvb+z9cserDUUww/LSHsocaPdr AE/G/jNrdAEMMbXqdNDdOeiS3of8qPtcN1rXi6z1MItAHBn+6ml9NOnlQrGlxkd1 WE6Wwm28fdfukIzBys0i7AjdUSn/d7xk0+vWDjF4I+A/2Lt0tFuH7XC6OR9yGy3v Fil+OidV+GMhhDfWW6Ym9nLIt3W8Bg== =VQz8 -----END PGP SIGNATURE----- --9+v5nyrr2oNDi4Pq--