Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp263269pxb; Fri, 3 Sep 2021 01:21:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw48CvSOhOHJ6vU/Q81mmHVASqtJEgHQOPrbtxGeQPaxCIBEE4k35Ctb0vglwD3BSt/dd8M X-Received: by 2002:a50:9e0f:: with SMTP id z15mr2776591ede.40.1630657270466; Fri, 03 Sep 2021 01:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630657270; cv=none; d=google.com; s=arc-20160816; b=tufYjqrOUX55F/PctOCVZrmRjgizI87qwzA2K9Wqgq0QZd8+kzYfjTKILVxrCTXxod onktuR3BYMU7z4kXJGlmlgZoi+hUVJOiIptYQnNWtM+aqNWWrWbKWVToUsX/IheD2AzA b9P+d42efcCji75jT3Y40W2mz6zx9PPLoqRzJTlUQldWLf2mchGsX8FE7oSsZCWySPyi ZpVV4CdfqtBY1AX1YzbTUXr1xZYGxlcsp3b8Egl213+BAtTU5A3EWrZhohKyg8o85vex mQSehBRGUM9sPMYUE60BzRTls2+MFeHJNsvs5Y8dqdiAsAUd526jWJyRhswFc9jdOiv7 XCOg== 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=EFVcpm4UQneIaCZwZnSBxOJ/+HzC3h8TKoJEJi3ETSI=; b=NqOIPTUnasegm4vJmDnDXQtU7CynrSaFv3nm+PZ5+cKurfAH0mH6PZAKLcx3MXjph2 GgXEwQi0FvX1pUgN+Km5CLJBnqfKGdQ1HmWApP/HMdhEVNPfH2VTj0Bz/scmT8PiF2jN k5KKtdfJuY9Y2rrMjv1F/Vu26sXve0+epaIx/4Ml8If0xPfDYi2rRLEYqkK97sQejJl7 pmymhOHtLK4az+kkXyJ28O+a0O0KRBCxBd3sVhqcRPYHub8d/1pyZ3ssUHJ2ZHGE0o0a WpWg0F2Izws7XE1damohi9XI6TtPWMZH5YVPhYxLYSUJZFUCViryNBKCIxXcDHuK99Wx oAJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=MGSqvMgp; 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18si4578136edj.207.2021.09.03.01.20.46; Fri, 03 Sep 2021 01:21:10 -0700 (PDT) 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=@ibm.com header.s=pp1 header.b=MGSqvMgp; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348250AbhICISy (ORCPT + 99 others); Fri, 3 Sep 2021 04:18:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:4674 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348208AbhICISx (ORCPT ); Fri, 3 Sep 2021 04:18:53 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 18383Vjd100391; Fri, 3 Sep 2021 04:17:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=EFVcpm4UQneIaCZwZnSBxOJ/+HzC3h8TKoJEJi3ETSI=; b=MGSqvMgpFXEblg9c9CXPbECtXn/wV2ytKqQNTjkYQvHKb6pcVAwGZiMz4g9BbgrUYbgi 46lmZ7x+llhy31bfPqWoTk8Kux+qgFfDzaPhqQ5Q4e1uqWbhV9nC5vuOEo2Phqcv0EwR hcJgguCPrT55iqx8x899PV2fBn3zuzYbChqKtlo4XwyVqmi3fnhbQVQVGwf9ddEZERGZ WjJLdYZtiP/a3h22AJuBgKRPNZ7rqVr9IY3zQ2BATW9bGT14XLBwMq2+kn0b+GE6LCzI ksVovSxusoJAM3y94xehtTgqA4EJ0SQ/idoO0YZEAqKiIITokM/MubnlnapMMU65Ij9r Rg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3audm3us44-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Sep 2021 04:17:29 -0400 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 18383mw7101882; Fri, 3 Sep 2021 04:17:28 -0400 Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com with ESMTP id 3audm3us3p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Sep 2021 04:17:28 -0400 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 18388Crg010014; Fri, 3 Sep 2021 08:17:27 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma01fra.de.ibm.com with ESMTP id 3au6q74vxc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Sep 2021 08:17:26 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 1838HN0837093702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Sep 2021 08:17:23 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2AC2652057; Fri, 3 Sep 2021 08:17:23 +0000 (GMT) Received: from osiris (unknown [9.145.159.114]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 85EF952051; Fri, 3 Sep 2021 08:17:22 +0000 (GMT) Date: Fri, 3 Sep 2021 10:17:21 +0200 From: Heiko Carstens To: Kees Cook Cc: Josh Poimboeuf , Arnd Bergmann , Peter Zijlstra , linux-arch@vger.kernel.org, Jessica Yu , 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 1/4] vmlinux.lds.h: Use regular *RODATA and *RO_AFTER_INIT_DATA suffixes Message-ID: References: <20210901233757.2571878-1-keescook@chromium.org> <20210901233757.2571878-2-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210901233757.2571878-2-keescook@chromium.org> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: v1G7oJQepZwIeoo1eRVbS8zdzxgq0Ecm X-Proofpoint-GUID: EBwgNgUyLMucUzf3CMsYqy3jTnIpBptl X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-03_02:2021-09-03,2021-09-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1011 adultscore=0 impostorscore=0 mlxlogscore=815 bulkscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2108310000 definitions=main-2109030048 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 04:37:54PM -0700, Kees Cook wrote: > Rename the various section macros that live in RODATA and > RO_AFTER_INIT_DATA. Just being called "DATA" implies they are expected > to be writable. > > Cc: Arnd Bergmann > Cc: Josh Poimboeuf > Cc: Peter Zijlstra (Intel) > Cc: linux-arch@vger.kernel.org > Signed-off-by: Kees Cook > --- > arch/s390/kernel/vmlinux.lds.S | 2 +- > include/asm-generic/vmlinux.lds.h | 12 ++++++------ > 2 files changed, 7 insertions(+), 7 deletions(-) For the s390 bit: Acked-by: Heiko Carstens