Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2186683ybd; Thu, 27 Jun 2019 08:10:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2prOAvTO59j2Ihlgw/9wfUn6dO7Bx0J4Hrc3qbkLmVSrUOaW0DnzTJC7vqmsS36518YFi X-Received: by 2002:a17:90a:b387:: with SMTP id e7mr6828849pjr.113.1561648219761; Thu, 27 Jun 2019 08:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561648219; cv=none; d=google.com; s=arc-20160816; b=SN6cvTAmCg+ra0Q0NUr4JWPCIgDApN0SdPEUEcOdlTjpB5+0TGQl9fRwMvBrG64xgM KSk5tjJeovLrqtYQgjqScUKPiygzVaprCCPz3cwtrX7dFhxcR6oaxI25U/KqsZHveZuF ZymQQG6sBlhi5xYDWXLKiLL3flnUhgsBmlnmGHpCYbtDNI9cyunzsMMty+DrPjodB6s3 705loeRG0BaAEpgq7xAj4NNIs10UngyNHY4efIpVBCJDPvwUqMS0YpeLXU+DiKhEfczL q7xBzFo/2snBEJGmASVjIvIcT/+9QXTjhLWDko9/FF9/0T1jzlsaI0MwPKLSgV4hUAMh XR8w== 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; bh=4CZwDA7Pj4HoUqoimtFG6dWxz1lB8O8Y9IowCuyvjuo=; b=g0u5UnPLdxWAAXIudjKU/jx2eq2yCz7TkY9hDmJ6H91+3T8p2CFBrV7iLln2wKlr2T CYHI92n2LeOjL8x86+ejoWpEQ03nJBP6V1Ivx5Kg84AplzfgtVQg/XZ4HPMv9a/SuqQo f89hbT+vr6uDHxwNekFknolQm3Bz5e34AcXE+vLWtTccwEtNqMmJvSjzY3hRVJYlZ3To KDB7G4t7r/a0yktig4Pr36agqBS3PXia7at+A1IaQhkXOELw05a0cn7/i54o7URqOvgw gW+DcM/CRJ7IOGVSYPh/TELr/0U6bke4HtQjiNcUG+dOr9Lpgs+DsvlSod2cXfHX/Ihn oKtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=UWo6VtIX; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4si98219pgo.493.2019.06.27.08.10.03; Thu, 27 Jun 2019 08:10:19 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=UWo6VtIX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727037AbfF0PIZ (ORCPT + 99 others); Thu, 27 Jun 2019 11:08:25 -0400 Received: from merlin.infradead.org ([205.233.59.134]:58904 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726431AbfF0PIY (ORCPT ); Thu, 27 Jun 2019 11:08:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4CZwDA7Pj4HoUqoimtFG6dWxz1lB8O8Y9IowCuyvjuo=; b=UWo6VtIXVEJUQFD02J/NXsl1wM dksFvEed5QUKJoHfH5JDzfNzWNvVYRJdhlJedBY+a7xGjEJkkV1DyQzILnoLXCOtpAPk6gpxXhWCd /bywSwc445dDB7Yc/btARPRov91Qe/os/xxO0dhqnmXVwRuCcpGUqyw/6D69aBX0almWfrGXonzbG BnT/W9EyfkP9tx3HmuTk9NYes5OwqyUC2/yHlS3/t8E52Jn8sAGbRLwzMvPbCiQOaDJaNKuzO+yHj oPp199PgJLgRw4Q/CzVPdgLpUs0iEmpT6q3e3sI09KgfkxXP4yFtVtlFqskFipbBHzLCf+0wa4WZk 8wVY9SDA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgW0a-00014f-Om; Thu, 27 Jun 2019 15:08:20 +0000 Subject: Re: linux-next: Tree for Jun 26 (security/integrity/ima/) To: David Howells , Mimi Zohar Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-integrity@vger.kernel.org, Dmitry Kasatkin , linux-security-module References: <1561640534.4101.124.camel@linux.ibm.com> <20190626231617.1e858da3@canb.auug.org.au> <9446.1561642145@warthog.procyon.org.uk> From: Randy Dunlap Message-ID: <596322b1-1c89-0538-5c26-cd132b03e3eb@infradead.org> Date: Thu, 27 Jun 2019 08:08:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <9446.1561642145@warthog.procyon.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/27/19 6:29 AM, David Howells wrote: > Mimi Zohar wrote: > >>> CC security/integrity/ima/ima_fs.o >>> In file included from ../security/integrity/ima/ima.h:25:0, >>> from ../security/integrity/ima/ima_fs.c:26: >>> ../security/integrity/ima/../integrity.h:170:18: warning: ‘struct key_acl’ declared inside parameter list [enabled by default] >>> struct key_acl *acl) >>> ^ >>> ../security/integrity/ima/../integrity.h:170:18: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] >> >> David, CONFIG_INTEGRITY_SIGNATURE is dependent on KEYS being enabled, >> but the stub functions are not.  There's now a dependency on >> key_acl(). > > I added a forward declaration for struct key_acl into > security/integrity/integrity.h as you can see here: > > https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/diff/security/integrity/integrity.h?h=keys-acl&id=75ce113a1d56880e5abd37fa664ea9af399d2bcd > > which might not have made it into linux-next before you used it. No problem in linux-next 20190627. Thanks. -- ~Randy