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 X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 558A9C433F5 for ; Fri, 3 Sep 2021 05:55:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3296B60FC0 for ; Fri, 3 Sep 2021 05:55:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235351AbhICF4r (ORCPT ); Fri, 3 Sep 2021 01:56:47 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:49950 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235858AbhICF4r (ORCPT ); Fri, 3 Sep 2021 01:56:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630648547; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bDvgsokZwzrcNUaLieJR18ZGVjKpNWnq/qMS3t3kGKI=; b=MgAVpRD73pk/8lzcW+DoNeFbL133ALWIsVv/se/2fJfovYIk1jr85DGjEpv2f7mRu4/G20 4Vvl8KFwUBfSL7T4yvLoVhp38FP0tc6nnPt2cwcCA1wpIqEgHQ52v6tifbiGvBtAUPWZaO SiQBohye4M7Lt4pPUReecl3BlheLtzc= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-237-se_NVAIcPHWaOHDy9FVrxQ-1; Fri, 03 Sep 2021 01:55:46 -0400 X-MC-Unique: se_NVAIcPHWaOHDy9FVrxQ-1 Received: by mail-qk1-f197.google.com with SMTP id h135-20020a379e8d000000b003f64b0f4865so5255189qke.12 for ; Thu, 02 Sep 2021 22:55:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bDvgsokZwzrcNUaLieJR18ZGVjKpNWnq/qMS3t3kGKI=; b=T9UVJpi8VCM9b5JArg8yOrrD0jKcHO3ErAjLvd0TlJd8a/fWLLsGzqKua3CWS/WlG/ +HCGFhBV8rcHS+CAcDvvr8KOdB63eSHNWFjO0ISmfe0IBjpz+J97D9S7KSTnc3+22HFA m0w/oH5XElGkCSqAulu6R/3ftTbo54XRfKQk4vbkl/kMLnbhMXSRYrCweyfbRJtMnPfA 60ETo4Bvxji+uzKlr1IPCmWRQitxS7Ld5FXbXjRwXfoqPn14DXHn+mvpcu3tuWLr1qBF Ke/XuDq7w0SB3YClgt7hRDU+3d4ksklfP1cK7QqprALEjnAMcaSOClAvnVsos4VUQ14m hHzg== X-Gm-Message-State: AOAM531sJPYsM6G4eNh8LbE594jXtDsh2vXybQP/+ZA8RPDz52wat0UO PPT8+HfOSh6Eb4cpv56766ILj49jAkCXTcTx1EmSDO9aGUPjzQQCw+iG9y3++UGqudqFNfYwT3A O3f4MCxEnt789NjjE9SRolA== X-Received: by 2002:ad4:47cc:: with SMTP id p12mr1967395qvw.16.1630648545823; Thu, 02 Sep 2021 22:55:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2rfokB35RHoytkOenvkXEQNhy0zoJ+Ni5jGU5Fpr4Gqpd31z62no5fBtGg9o+rq+iUgaKgw== X-Received: by 2002:ad4:47cc:: with SMTP id p12mr1967372qvw.16.1630648545652; Thu, 02 Sep 2021 22:55:45 -0700 (PDT) Received: from treble ([2600:1700:6e32:6c00::d]) by smtp.gmail.com with ESMTPSA id x23sm3180733qkn.29.2021.09.02.22.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 22:55:45 -0700 (PDT) Date: Thu, 2 Sep 2021 22:55:41 -0700 From: Josh Poimboeuf To: Kees Cook Cc: Arnd Bergmann , Peter Zijlstra , linux-arch@vger.kernel.org, Jessica Yu , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Egorenkov , Sven Schnelle , Ilya Leoshkevich , "Steven Rostedt (VMware)" , Ingo Molnar , Sami Tolvanen , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH 2/4] vmlinux.lds.h: Split .static_call_sites from .static_call_tramp_key Message-ID: <20210903055541.b3dk5yqwkslklvsa@treble> References: <20210901233757.2571878-1-keescook@chromium.org> <20210901233757.2571878-3-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210901233757.2571878-3-keescook@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Wed, Sep 01, 2021 at 04:37:55PM -0700, Kees Cook wrote: > These two sections are ro_after_init and .rodata respectively. While > they will ultimately become read-only, there's no reason to confuse > their macro names. > > Cc: Arnd Bergmann > Cc: Josh Poimboeuf > Cc: Peter Zijlstra (Intel) > Cc: linux-arch@vger.kernel.org > Signed-off-by: Kees Cook Acked-by: Josh Poimboeuf -- Josh