Received: by 10.213.65.68 with SMTP id h4csp201057imn; Wed, 21 Mar 2018 16:20:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELvOqjbHDSQ/Iit1MOLGsWxhe0Q9ZWBoUfsLqoSh/IAlvTkoXiH5iyg5KD8xLX1EyibyEJ2t X-Received: by 2002:a17:902:d807:: with SMTP id a7-v6mr22635030plz.218.1521674408154; Wed, 21 Mar 2018 16:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521674408; cv=none; d=google.com; s=arc-20160816; b=auW4AXrr60Fq03tu4+9bhfosuuGRjvI1aOQJZTICiLHdZczG/Guy3qMImX6tLNYCjo EqbPqG9hI+6kbWfICfB9p452V8xKOoFFMFUQtJl+bZDIe3ijymPT1vz/XOijOs7RVI1C V2rlbDTuK9q1WTX5OLMrFuEufsvCZ1W8MlbFu4pnq0449Qay3oRcdGV7ZbkNWjabd1sB Jm9llhMUkaXMB45roGD5/yjDrizkIkuroazK6lvT3Ue3GvgEr3YcGMI/KtI4nPyN0WXn CsE5eGG2a4jvlWsUE0qktkavdYQINYTK4UOF4D17XHtWYScXXRjUPM9E+foQ62vmg5zc XtWg== 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 :arc-authentication-results; bh=u3prwAlvqMD8aJcE+19yV5jsa+ozMl+oDuihnL6DyT4=; b=V1OVYgnxwo0qf7kCJNfRx+dwMlBb3dZaYxPiuiSQeJhZ+6zXTn7nTOsguHUovZv/XR /PTW6sphu8x+/PhIcx7L7vg3jW5eNCZFV+Of6RQq8NesUSQzYEpmd6OZtvQitbh80jfM HOzLA1KxbtFu3HRO2ee3vV4tyCHPaUvYpfXLHkaz3rIt6Ob1If/v2qGDHqR0ZuYon3hO fkUHPAMfRSuzB2eyvNkf3ETHJ7rnnkMkeBCP+4eR+13brwNjBXAX4q/0dghaSJ7rEoXN TGmKpq1OEtXyZy8pZnk4P0mavL0s6TcpDUiz/GgQ/cmrjl6DFVAj9R2k/DaEHZhIEw1w h2mQ== 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 l30-v6si4899098plg.541.2018.03.21.16.19.53; Wed, 21 Mar 2018 16:20:08 -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 S1754221AbeCUXTA (ORCPT + 99 others); Wed, 21 Mar 2018 19:19:00 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:53036 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754050AbeCUXS5 (ORCPT ); Wed, 21 Mar 2018 19:18:57 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2LNGCcg051381 for ; Wed, 21 Mar 2018 19:18:57 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0b-001b2d01.pphosted.com with ESMTP id 2gux53nq9u-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Wed, 21 Mar 2018 19:18:56 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Mar 2018 23:18:54 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 21 Mar 2018 23:18:50 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2LNIowm44236870; Wed, 21 Mar 2018 23:18:50 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9AD8811C050; Wed, 21 Mar 2018 23:11:20 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A985D11C04C; Wed, 21 Mar 2018 23:11:18 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.103.4]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 21 Mar 2018 23:11:18 +0000 (GMT) Subject: Re: [PATCH v6 07/12] integrity: Select CONFIG_KEYS instead of depending on it From: Mimi Zohar To: Thiago Jung Bauermann , linux-integrity@vger.kernel.org Cc: linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Dmitry Kasatkin , James Morris , "Serge E. Hallyn" , David Howells , David Woodhouse , Jessica Yu , Herbert Xu , "David S. Miller" , "AKASHI, Takahiro" Date: Wed, 21 Mar 2018 19:18:47 -0400 In-Reply-To: <20180316203837.10174-8-bauerman@linux.vnet.ibm.com> References: <20180316203837.10174-1-bauerman@linux.vnet.ibm.com> <20180316203837.10174-8-bauerman@linux.vnet.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: 7bit X-TM-AS-GCONF: 00 x-cbid: 18032123-0012-0000-0000-000005C1ED3C X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18032123-0013-0000-0000-0000193E12F0 Message-Id: <1521674327.3848.221.camel@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-21_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803210264 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-03-16 at 17:38 -0300, Thiago Jung Bauermann wrote: > This avoids a dependency cycle in CONFIG_IMA_APPRAISE_MODSIG (introduced by > a later patch in this series): it will select CONFIG_MODULE_SIG_FORMAT > which in turn selects CONFIG_KEYS. Kconfig then complains that > CONFIG_INTEGRITY_SIGNATURE depends on CONFIG_KEYS. > > Signed-off-by: Thiago Jung Bauermann Signed-off-by: Mimi Zohar > --- > security/integrity/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/security/integrity/Kconfig b/security/integrity/Kconfig > index da9565891738..0d642e0317c7 100644 > --- a/security/integrity/Kconfig > +++ b/security/integrity/Kconfig > @@ -17,8 +17,8 @@ if INTEGRITY > > config INTEGRITY_SIGNATURE > bool "Digital signature verification using multiple keyrings" > - depends on KEYS > default n > + select KEYS > select SIGNATURE > help > This option enables digital signature verification support >