Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2210640pxb; Thu, 28 Oct 2021 18:59:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwk4BLiir3YG75I73d718yiB1NR/M4cAtN4KuuRB75OndIuoiP2vw8BqJsfNlUZOHVZg5c X-Received: by 2002:a17:902:9348:b0:141:5862:28b4 with SMTP id g8-20020a170902934800b00141586228b4mr7233100plp.17.1635472781829; Thu, 28 Oct 2021 18:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635472781; cv=none; d=google.com; s=arc-20160816; b=oC85tlPh5NPRuvtFQMs7iWlOk9724FZfI7CvSnYWM4XQVCmUvlZ8rmcfe74z+0S4SQ oWrZiyHqgvVMaeMdbqqUb6l6SGx7lYliEHO2iUkaMH4vD6jv6y/LoRlKID9xvw1b2sbY ujSV5P6sfIsSXsUdfyLnVt1ElLSLVeEBQXwVsWRjK63qw3+4VeZUje2I1TD81qVt852l TahIIG7KyIGhjO8iEdDbBG4b5/HIKm1R0FxD31SLnJFC4U4mOSsGmVkxnXlI/1K+jCHF RLaZrxwmGI8u1IN425ujH2/54ZbD+9fb0ezCBv2j7HVoUSEZO+ULHJfxNyFOzHIfQt3c Oy2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=H+A++g3sh16LWEuk04HpfWd6aeStlTzW+K+a9B31kb4=; b=iZ7hGaDwzXMQQHG3KN5LbSm+bbZgl80JNBLOxUd/8dPtytfKlwt4D6t3+fBLE3HeC/ FVQVWZx7iL1Y2komATCCrpYKxJOm986p7FyhypNVjhlFs6AaVhQyzMwByzjBtCeGeH2Q brLkditc05g24xRJs9CUCSzmkjUMceEEpkDhv6yymJVVnTpw4Bx3IxNa5nXsvTp9LflB mtdxOeGXo7IGH47OUfgwe2hZ5UncvnZnbDRy2um0+Ih4koJVN5BMPkCisn9Uph9kDQpX MVFKLelyAGb9y8l4sJYblqg0hZwGtX6eeYjSFQuvQG5Ehl+d7De+7zGOf9vXsPelWH79 bm2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Sxt5P8Fy; 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 35si6292828pgq.480.2021.10.28.18.59.29; Thu, 28 Oct 2021 18:59:41 -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=Sxt5P8Fy; 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 S231500AbhJ2CAr (ORCPT + 99 others); Thu, 28 Oct 2021 22:00:47 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:17676 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbhJ2CAo (ORCPT ); Thu, 28 Oct 2021 22:00:44 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19T1JENo016532; Fri, 29 Oct 2021 01:58:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=H+A++g3sh16LWEuk04HpfWd6aeStlTzW+K+a9B31kb4=; b=Sxt5P8FycLXnVlFg++czvjjS+0P37g3gzyx7Ukhyd786VXbnKjqJUZDq1RAwNcb22QS3 Trf3XLBE3m171ZLQ0Es9N7Gv646Ot1BkCEbUcnkWNcUgO/h0qup9bY+99Os++8+7wCi2 VnngRrwXlITvaaAy+5/yZuDHK6XoD/xrXgA6uQowq1kzoifB0bj96ZRxlw2W2p/CDXxO +1yLzGUUQyrrYhA9BhtjgmgANrfs6Yg2TIlUkG3W/pGU4j3zL672al3TYj8RR0JZa8pL hy9RLQhDvam3VTFEOcVk3qoc4uhFCGCCAOsSirHtKM+aN9JBRXLdS9+BtsHloCuhh1u2 NA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3c076a8hh3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Oct 2021 01:58:04 +0000 Received: from m0098393.ppops.net (m0098393.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 19T1i9cY009590; Fri, 29 Oct 2021 01:58:04 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 3c076a8hgh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Oct 2021 01:58:04 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 19T1qioS028720; Fri, 29 Oct 2021 01:58:02 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma03ams.nl.ibm.com with ESMTP id 3bx4etpe02-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Oct 2021 01:58:01 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 19T1vxX93539570 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Oct 2021 01:57:59 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 72D53A405C; Fri, 29 Oct 2021 01:57:59 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 799BEA405B; Fri, 29 Oct 2021 01:57:58 +0000 (GMT) Received: from sig-9-77-156-188.ibm.com (unknown [9.77.156.188]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Oct 2021 01:57:58 +0000 (GMT) Message-ID: <8dfbb3ee3330f8049a124dde62717d5363534922.camel@linux.ibm.com> Subject: Re: [PATCH] evm: mark evm_fixmode as __ro_after_init From: Mimi Zohar To: Austin Kim , jmorris@namei.org, serge@hallyn.com Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, austin.kim@lge.com Date: Thu, 28 Oct 2021 21:57:57 -0400 In-Reply-To: <20211028112642.GA1110@raspberrypi> References: <20211028112642.GA1110@raspberrypi> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.28.5 (3.28.5-16.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: KuO-akf0hj7-KbYKtpx-C8QodN_X9wRM X-Proofpoint-ORIG-GUID: URBpEN-X3r5UDRQWomqt0VUpsnlsVUdQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-28_06,2021-10-26_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 clxscore=1015 malwarescore=0 mlxscore=0 adultscore=0 bulkscore=0 spamscore=0 mlxlogscore=781 lowpriorityscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110290007 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-10-28 at 12:26 +0100, Austin Kim wrote: > From: Austin Kim > > The evm_fixmode is only configurable by command-line option and it is never > modified outside initcalls, so declaring it with __ro_after_init is better. > > Signed-off-by: Austin Kim Thanks, Austin. This patch set is now applied to the next-integrity branch. Mimi