From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BBAC9C021A7 for ; Sat, 14 Sep 2024 16:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=77zeejAyOlCb/kL0Rx7MWdED14mruZ3pGzcP8MS3h7g=; b=ecBVt3Opo6E/kCx7ZggjiAxhsJ A/L2soXS6EQ7pnTHwcX7Gbi9noNJMnnStVc2R/e6U2YgPTrfffD9R25xP7nsNySY5zcW8FkTeusxT LLstmMbiDKjqEKmhEYv7t2pu/mo7AAqIW5y9oEd7Kp4ubMERo+yAqABzNW87ZxQVkGNCjvPiKWXop 1FdteYdhv5epv6En4Bop1GA8vZBt5Ap+IzqrMJOxbX1ZafyUMiEJRVUzRsU/U0YZdi92hor5hmijx NKxRZ+cEY+7tk3nyk/GhK5xoU+Ps3a/iJvIPuDGsJkknj08w0j11y61VP7oYVlg4zurpU/M5HdLKv DXqW7+uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1spVvm-00000000xvw-4953; Sat, 14 Sep 2024 16:47:30 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1spVuh-00000000xos-3wJz; Sat, 14 Sep 2024 16:46:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id B99FE5C5A14; Sat, 14 Sep 2024 16:46:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28943C4CEC0; Sat, 14 Sep 2024 16:46:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726332382; bh=Z9KLHDysHT+QZFA9N2DhaeAfpGSFeSGzTbu4CvQ+R/g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ES4QW2+Uwsj+XxM5lsWtejDsyOt9ZxevTIIBqFbZx8Ekjs8gGHWSIh3a8CpIVW9HY qNvzSPQulxAR2lc1Zc3mYbp1WxeuanQ/YnOtjtE4tbV7Dk3hpC2ZFMR9Ui/ZcXnJMd joB8iOzpysPGpZoTeUIclgN/bkqEURdblOs3dA5z94M8KJohCAXAWf6e3+fv3tH/aS w/hAMRF8JFDk28dxJwTeM70QvXD9PExnCQFxaf7pkYJ1pQtHWRvd23OFe9056W6CiY 9mOw0QVp9E0wRJnUMOiLwN8YTMDpTOuEy4jt3c/ZVaBHUvCUoEMFlZojKSaVomwxHJ bBo2jcypLgsUQ== Date: Sat, 14 Sep 2024 17:46:14 +0100 From: Conor Dooley To: Gary Guo Cc: rust-for-linux@vger.kernel.org, Miguel Ojeda , Alice Ryhl , Paul Walmsley , Palmer Dabbelt , Albert Ou , Catalin Marinas , Will Deacon , Ard Biesheuvel , Jamie Cunliffe , Sami Tolvanen , Nathan Chancellor , Kees Cook , Masahiro Yamada , Nicolas Schier , Marc Zyngier , Mark Rutland , Mark Brown , Nick Desaulniers , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Valentin Obst , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv Subject: Re: [PATCH v7] rust: support for shadow call stack sanitizer Message-ID: <20240914-jitters-barber-a0e51e7b83a8@spud> References: <20240829-shadow-call-stack-v7-1-2f62a4432abf@google.com> <20240913-shack-estate-b376a65921b1@spud> <20240914173037.422902b9.gary@garyguo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="B4QM7QVF324ySoAc" Content-Disposition: inline In-Reply-To: <20240914173037.422902b9.gary@garyguo.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240914_094624_141383_A464BFDC X-CRM114-Status: GOOD ( 11.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --B4QM7QVF324ySoAc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 14, 2024 at 05:30:37PM +0100, Gary Guo wrote: > On Fri, 13 Sep 2024 22:17:56 +0100 > Conor Dooley wrote: > > error[E0425]: cannot find function `__mutex_init` in crate `bindings` > > --> /stuff/linux/rust/kernel/sync/lock/mutex.rs:104:28 =20 > > | > > 104 | unsafe { bindings::__mutex_init(ptr, name, key) } > > | ^^^^^^^^^^^^ help: a function with a sim= ilar name exists: `__mutex_rt_init` > > | > > ::: /stuff/brsdk/work/linux/rust/bindings/bindings_generated.rs:12907:5 > > | > > 12907 | / pub fn __mutex_rt_init( > > 12908 | | lock: *mut mutex, > > 12909 | | name: *const core::ffi::c_char, > > 12910 | | key: *mut lock_class_key, > > 12911 | | ); > > | |_____- similarly named function `__mutex_rt_init` defined here > >=20 > > error: aborting due to 1 previous error > >=20 >=20 > Do you have PREEMPT_RT enabled? I do indeed. --B4QM7QVF324ySoAc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZuW91QAKCRB4tDGHoIJi 0g1AAP4jVE5sTjh7ZpAYSXX8cAez9VIN9z196SmWTQQotiAMIQEAglBSa7/hmf+1 k1drziNQUGk/j2h9jhXIhrEAGrRagwI= =6Xln -----END PGP SIGNATURE----- --B4QM7QVF324ySoAc--