Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp198124ybf; Wed, 26 Feb 2020 11:22:11 -0800 (PST) X-Google-Smtp-Source: APXvYqx5sfuunzCIUIwfjJHLsek+DEbXwjdnx2fBNISnnK3zpBUxodNoiJx2yFBpXM3GK74AAdrR X-Received: by 2002:a9d:4d96:: with SMTP id u22mr137011otk.271.1582744931001; Wed, 26 Feb 2020 11:22:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582744930; cv=none; d=google.com; s=arc-20160816; b=V9A1GZZq7lBeZh0dirRhBu5QfehjilJZ9RG/4VU+DZffw1W9fiF+PGlbG4mBF1x8g0 wZFVRB4/bK9IQLzLxUCIeGObQMoO6ZzFaMnKC0LwVzTtpEZ/wEu3uDpryJt4Eq6DhPXo SaIntNX8z7t6tuIEPfevZi0N7pMRWzEC9cGcuz2bukKRzPTc8lo8iWL8HCSEL7yEv7GY l9qE3kF6bRmGL/k7NNmmKiLfMp6qEy8CyXT99fVR48FCt9W4RVzxl2XCpoZulGyV2hMH 8CfVopzw7uEbt8ZbIjKEnr7eD5/ADTsT64VoXljs8JQ7P1u/PAFSgC5ewx27CA+ZUKBI W0UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature:dkim-filter; bh=W5JGlWfBcPkXP7GPkcMwkkT4Bh9pLTkThoAlCVPwyRQ=; b=slmcYNLrfcdUpQK8C+DhmISBl9+RmY8NEt5u5EEiYbUb5Rp6DNLYmWKNr8/qAU//Aw cB3SpbKUpzgsN+6MkH/TzGyNIkJoiZeTk4pjZvzg+DCeRWlK/wz1BDZCFMDrzuqPpOd0 YMqLSHH53zxNnY6Lt9rPjJLrsP7KCED7X+HkmzO57cmCy9ka/fYfHMkJBYOpokEWQOaM NgsYNv+l4uPLeRVI7HCEPasBNoianKAcL09mO+FfE2qgzZVhNCnXMZZef7MkJn38MmPo C6Sz3SnE/rVZ69v6727zsdR4WVjCllw5F667/6kJdQyRwWLoM+hGPx/5mSQmzavCs0nS 6m7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=sP90uYz+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h138si99953oib.6.2020.02.26.11.21.58; Wed, 26 Feb 2020 11:22:10 -0800 (PST) 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; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=sP90uYz+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727287AbgBZTVB (ORCPT + 99 others); Wed, 26 Feb 2020 14:21:01 -0500 Received: from linux.microsoft.com ([13.77.154.182]:35750 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727128AbgBZTVB (ORCPT ); Wed, 26 Feb 2020 14:21:01 -0500 Received: from [10.137.112.111] (unknown [131.107.147.111]) by linux.microsoft.com (Postfix) with ESMTPSA id 01E7E20B9C02; Wed, 26 Feb 2020 11:21:00 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 01E7E20B9C02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1582744860; bh=W5JGlWfBcPkXP7GPkcMwkkT4Bh9pLTkThoAlCVPwyRQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=sP90uYz+6s+BSypzgsp9eYDewZcb3nzcjwkoUZPDiJcQlBfut+kdr1zeFmQHWh1/Z +9CCAIkM1znTN/EcRfAb2OLHvdncSDza5XnDZ3KvVN53OHh+iPP6ONDSj9fX0B2V4E ZdtGrhFm20v1aAMh41WfyHskx9YNOblByQHjRXtQ= Subject: Re: [PATCH] ima: add a new CONFIG for loading arch-specific policies To: Nayna Jain , linux-integrity@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-efi@vger.kernel.org, linux-s390@vger.kernel.org Cc: Ard Biesheuvel , Martin Schwidefsky , Philipp Rudo , Michael Ellerman , zohar@linux.ibm.com, linux-kernel@vger.kernel.org References: <1582744207-25969-1-git-send-email-nayna@linux.ibm.com> From: Lakshmi Ramasubramanian Message-ID: <94fe39a9-db9e-211d-d9b7-4cfe1a270e6f@linux.microsoft.com> Date: Wed, 26 Feb 2020 11:21:28 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <1582744207-25969-1-git-send-email-nayna@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nayna, > + > +config IMA_SECURE_AND_OR_TRUSTED_BOOT > + bool > + depends on IMA > + depends on IMA_ARCH_POLICY > + default n > + help > + This option is selected by architectures to enable secure and/or > + trusted boot based on IMA runtime policies. > Why is the default for this new config "n"? Is there any reason to not turn on this config if both IMA and IMA_ARCH_POLICY are set to y? thanks, -lakshmi