Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp683463ybh; Wed, 11 Mar 2020 08:45:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vun30pbFDqhd8/uaZoOSMIuuNwY3gC2DMBA1N61YwCwHGjmQWxCm6kwUVp8BpqubEeHUMkR X-Received: by 2002:a9d:175:: with SMTP id 108mr2984181otu.287.1583941541367; Wed, 11 Mar 2020 08:45:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583941541; cv=none; d=google.com; s=arc-20160816; b=MDR3dV17XziNUHrLizPtxe3iZKT5elbcPOu+ySDKa3GlFOxFgdIo3al8za2I+nIPBA /2yDF3AWAPLyRZGrtjnXP2W3dhem8ciJ1uWWWr8D+ProHldrqAs7o0CMmkkekKQcGuP0 XzTx71fwyG3q5sshvqrPhXfNgvaqepK5NZhEk7lbq9crJynCMWvUlg2F+CZhftE8v5q6 rNtuLdEVf2w05Px+qapSb031NRWAxdLxdEjD7y/APwHrHcM4KzDbjlOcdazRR+kzFe68 wCYkutYrQW01CQ2K3vdbW+iiOcXKGRbCO/L/0I6+VVDURsB4kiPRK1WLfWG+AxxOd3X5 HvCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject; bh=2OO6nhEG1OCCMVLwd5jRXyeDzzu23Aukl23J1A3MggQ=; b=b8wlhrRHTZ/eKGLsrgs60BXlqtM4Xfw5MKe9DOqVoc/rAGmwKx+3Rk5EcK7gplQMmc s/Ah+3Tje95ei4y53KMJxfg8InCq0gOFZnmNfZOfUjmTOvQ4P/rRNIXjUfs3MTz9xJ/+ OLYVQ9FXjpdPgjbsYnKCn8Y9LtRVc5v0DoLFABzqcLouy2O7T4dTnWrtrGFb1ON3H+1R NexeoyQxtSbIkbQPYvCzcpDi2utCDIBZglRJ2M1DtCSXgR5W5jOWJjdPJuALgzBfZxYq lowSlCuQ/JlakPiHYP35+rU6hpjgD82nEH1Rf420biTz7G0k20WPZ+kOd4ZFcxspaygr P1sg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si1454860otp.86.2020.03.11.08.45.29; Wed, 11 Mar 2020 08:45:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730027AbgCKPnz (ORCPT + 99 others); Wed, 11 Mar 2020 11:43:55 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:20394 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729848AbgCKPny (ORCPT ); Wed, 11 Mar 2020 11:43:54 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02BFf1Gp099444 for ; Wed, 11 Mar 2020 11:43:53 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yq291terd-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 11 Mar 2020 11:43:51 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 Mar 2020 15:43:01 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 11 Mar 2020 15:42:58 -0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 02BFgv4T64749706 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Mar 2020 15:42:57 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C816A406A; Wed, 11 Mar 2020 15:42:57 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 820A6A4060; Wed, 11 Mar 2020 15:42:55 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.220.140]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 11 Mar 2020 15:42:55 +0000 (GMT) Subject: Re: [PATCH v3] ima: add a new CONFIG for loading arch-specific policies From: Mimi Zohar To: Nayna Jain , linux-integrity@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-efi@vger.kernel.org, linux-s390@vger.kernel.org, x86@kernel.org Cc: Ard Biesheuvel , Philipp Rudo , Michael Ellerman , Thomas Gleixner , linux-kernel@vger.kernel.org, Nayna Jain Date: Wed, 11 Mar 2020 11:42:55 -0400 In-Reply-To: <1583715471-15525-1-git-send-email-nayna@linux.ibm.com> References: <1583715471-15525-1-git-send-email-nayna@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20031115-0020-0000-0000-000003B2CB40 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20031115-0021-0000-0000-0000220B1BF5 Message-Id: <1583941375.5293.33.camel@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-03-11_06:2020-03-11,2020-03-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 mlxlogscore=998 phishscore=0 impostorscore=0 suspectscore=0 bulkscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003110098 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2020-03-08 at 20:57 -0400, Nayna Jain wrote: > From: Nayna Jain > > Every time a new architecture defines the IMA architecture specific > functions - arch_ima_get_secureboot() and arch_ima_get_policy(), the IMA > include file needs to be updated. To avoid this "noise", this patch > defines a new IMA Kconfig IMA_SECURE_AND_OR_TRUSTED_BOOT option, allowing > the different architectures to select it. > > Suggested-by: Linus Torvalds > Signed-off-by: Nayna Jain > Acked-by: Ard Biesheuvel > Cc: Philipp Rudo > Cc: Michael Ellerman Thanks, Michael for the suggestion of using "imply".  Seems to be working nicely.  Thanks, Nayna.  I pushed this patch out to next- integrity-testing.  Could we get some tags on this version of the patch? thanks, Mimi