Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2083383ybd; Thu, 27 Jun 2019 06:31:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJ72bAUOkkxbnvajlk7yODvpWwXb9tStXn+3Q3qTFvwZRiXaaC5qY1qJOcWrUJuyuGJLZA X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr4582610plb.114.1561642276167; Thu, 27 Jun 2019 06:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561642276; cv=none; d=google.com; s=arc-20160816; b=eiIUrnegIQQRd3dk8Ag3sHH/ZETCTIUkLYnIjcQf9vyb/CMnSwJH6LjWht87XOeCbA j8Kw96a5OCPF5T9pKJFLxlR68AEcCF8qdpw3f96sRcyeDX2hOO3wJhCKL3NZwVHhR4D7 dBClxWAHuYaT3AX+qrHqpzi0968PrEj1MXWK8ZJga2MMDdYih0P0MTUA9V5Te7Fv/n9I XEu1eJ/StQH7UKC7oQ1xkAhM7TV460Hm+PYXptonGd70H/hSF0fklaqul9g9GMsv5O+A gtiX52NVVhq8zpgSLfr9+8V3eoX3kDqU7Xpv7KSpMfVj8vI1yfqEoqhM7kKrQLduGHEm 5jSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-transfer-encoding :mime-version:subject:cc:to:references:in-reply-to:from:organization; bh=/3qU3F8NdEexu2YWOD4hfO+xFJSxRvDcEpqv9dNFfIM=; b=yo4iEmjuroKnhyHNNXmngAZ9LPzY4qcB5016Bscd/5WFk2v6P0y6cXynpuEA/bQPBa UCVQwrWuqkq1V1GiGCwfcaI3g39gByh7NSGzPVQrBK6x27TOAQ+EwMqxnR0I6quQlgJA shjrvHquRI+tSkm97nn0Xe8reW0Pw0pb0L0ddeTR0iwPlaY2a5zPz7pLKB7kGLhMy0vo Vd2V6D5yemu4bVXqUoj00vRsmnOFMrxPzROm7VCogCr253OitxlQju4ybp6tIAjr1tIA uui5uLkGcgV+FEb5W9WFlmsnndFHiep/3ML5UNjeZhlps6hV4N3Ln+8q4PV6xyTxkM3M o5og== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i32si5137873pje.44.2019.06.27.06.30.58; Thu, 27 Jun 2019 06:31:16 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726829AbfF0N3O convert rfc822-to-8bit (ORCPT + 99 others); Thu, 27 Jun 2019 09:29:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35082 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726370AbfF0N3O (ORCPT ); Thu, 27 Jun 2019 09:29:14 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F3C5A83F3C; Thu, 27 Jun 2019 13:29:08 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-57.rdu2.redhat.com [10.10.120.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 113C2600CC; Thu, 27 Jun 2019 13:29:05 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1561640534.4101.124.camel@linux.ibm.com> References: <1561640534.4101.124.camel@linux.ibm.com> <20190626231617.1e858da3@canb.auug.org.au> To: Mimi Zohar Cc: dhowells@redhat.com, Randy Dunlap , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-integrity@vger.kernel.org, Dmitry Kasatkin , linux-security-module Subject: Re: linux-next: Tree for Jun 26 (security/integrity/ima/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Date: Thu, 27 Jun 2019 14:29:05 +0100 Message-ID: <9446.1561642145@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 27 Jun 2019 13:29:14 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. David