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 EF601C6FD1C for ; Wed, 22 Mar 2023 15:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fThzGnp6XXLaJL39BpBMdmJClcDB4GtP/ow4zQKqdJk=; b=AykojJmgXdyWyP SNasC1DlywkkO75SkeYAKKdbvIMbANGJc0X8hIRjxwcMaXButGB0O5U4P191Oc9X4uyDFYdKq8ri3 EymEt54DCJ0Vc16XgqtFZasmVLW2j31OVNdaPpVaMmo2DbW5y0Pj7dwzwOs9b50wwWQ9Jh9Y5MjKj W62xH3otu1TVjlKDdtVX881nUF3ui92wHwOC4J9dVXSpUHKyADYnG5wSQUBQdMrjoFUDpOA7ibbHv RfGgzxfVtL5rSTFy/sezt3sfafTnfs9QTj74ubgxuaWnit2pmpKMjO7xCfVaZQfzYcffe3D1HKeuG GaHRrTmb3TbiWOkTG4Kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pezvy-00GPKv-1M; Wed, 22 Mar 2023 14:59:26 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pezvw-00GPKN-1z for linux-arm-kernel@bombadil.infradead.org; Wed, 22 Mar 2023 14:59:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=0B9GN+Xs8p4f594QxpDWqsaTBFklL/W1QSOwUnXsrC8=; b=AkV2yymcNjDSYmYTD9UV5r2IkZ arPuiSnGgEqEZnQxHlNwndTaFRqumMaLPUqrBgJx7n47A5oaPASO1qg3HfsEHmKBuk3B9jVvjNYOs ULod1WQ8nNjZBiYfK72G9Sgv7tB//Az8KYV6jOclOYdjmRZH6VHubwxOnqgycIjhOBX4ZHkqgHWb9 toGBkBxCl666oMYNmDHME3AnyXoby9hclcrtGxGRjjp3ZOkHhlf+63kvPySdV+d53LAlhvPjlmmcx ui5L8YxIVc8jSk+eVH+JzoLE8SvZUVcN5pwhKBf8lj2SPw492auHiUm3itE+30ziMa+J0h47chUrl dfRXszcg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pezvr-004a19-1u; Wed, 22 Mar 2023 14:59:19 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id EE8CE30035F; Wed, 22 Mar 2023 15:59:18 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D1D06201FFA49; Wed, 22 Mar 2023 15:59:18 +0100 (CET) Date: Wed, 22 Mar 2023 15:59:18 +0100 From: Peter Zijlstra To: Josh Poimboeuf Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Mark Rutland , Jason Baron , Steven Rostedt , Ard Biesheuvel , Christophe Leroy , Paolo Bonzini , Sean Christopherson , Sami Tolvanen , Nick Desaulniers , Will McVicker , Kees Cook , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 09/11] static_call: Make NULL static calls consistent Message-ID: <20230322145918.GF2357380@hirez.programming.kicks-ass.net> References: <7638861ae89606b1277ad4235654bba2b880f313.1679456900.git.jpoimboe@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7638861ae89606b1277ad4235654bba2b880f313.1679456900.git.jpoimboe@kernel.org> 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 21, 2023 at 09:00:15PM -0700, Josh Poimboeuf wrote: > +void __static_call_nop(void) > +{ > +} > +EXPORT_SYMBOL_GPL(__static_call_nop); Kees, is this a ROP target? The above is basically ENDBR;RET, push something on the stack, jump there and you're in business or so. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel