From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752254AbcDFSKN (ORCPT ); Wed, 6 Apr 2016 14:10:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41302 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbcDFSKM (ORCPT ); Wed, 6 Apr 2016 14:10:12 -0400 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: <1459962349.3166.25.camel@linux.vnet.ibm.com> References: <1459962349.3166.25.camel@linux.vnet.ibm.com> <1459911605.3166.13.camel@linux.vnet.ibm.com> <4392.1459959890@warthog.procyon.org.uk> To: Mimi Zohar Cc: dhowells@redhat.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] IMA: Use the system trusted keyrings instead of .ima_mok (update) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10433.1459966209.1@warthog.procyon.org.uk> Date: Wed, 06 Apr 2016 19:10:09 +0100 Message-ID: <10434.1459966209@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 06 Apr 2016 18:10:11 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mimi Zohar wrote: > I'm not sure what you're asking. If you're asking if the whole file can > be include based on whether this option is enabled, then no. No - but integrity_init_keyring() just returns if init_keyring is false - but this is a variable and is assigned storage, despite the fact that its value is only set at compile time as far as I can see. David