Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2249208imm; Thu, 21 Jun 2018 09:23:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ4okcVgj9sc+GR40xoQf6ZZ434NC/8LBGmDWQ3WMDsWoTtNp/NqyuGSgxNhdbkBEuE73cb X-Received: by 2002:a62:4395:: with SMTP id l21-v6mr28410971pfi.196.1529598215748; Thu, 21 Jun 2018 09:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529598215; cv=none; d=google.com; s=arc-20160816; b=FTteNiEN340TyIEsLA0nWKlwK33VXuM3qVmugzS6NprUqPjnHFCN4QbX9whqH7YrgS 1ZWObifqfGa1CmRMUUMfqTv/4gHXy7nePB1BcwF0lhbWy5+2fu+ijExbqb8UWugDpgmB KQVQYkOO4INqxtYe3Jw+9gArZ1dGRTWQP3tiCCFCeVsv5iTdIEcYCmSludJC+B+kDnc/ s8ZnBWArM4Ll62SUmDclstGCSffGoHQGyjkUDqHIaf95L6otCws/xZcVqAU8yzB35O8C d13zvFQHPNMlVEkPYgurv/k5pLSg9mk2NwM6NgHSlYWVwiI4ipFpXtSxo7/Zz+ACZVPo 9EWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=swcALy5k4+yRht9PJVjZIFcvhGdmvuxkbgc1GK0pWOc=; b=Uo3zh+3dAsdGPd7a8nzR+Zg6qxeMSHv09RQu9HpL/S4yRABMq4aXqVM9pZy39sOGmE sR3qhbBrag4AP1Mo40XMoJ0Y33a0DsXN8US1Gh5CjQ8vy/vVvPHeWH4r280ipODD6TdT ewuczmqHbtcc5SIKhO3AaT4uF4HW1otNQrax7Hyy37s8POn9GOGTBendj/yGlS3tn87v DfxjitqkWb4Ni7lWC20s2Yb0xUtTcO6YsxTpqsyzlgCj9fJuEz/1xW5pKX4mwjRQsjJ5 1kpPIpf39sfX9HA0emEEYOD0J/FG+S8p9lA4m+9U+glojiHOQeFH9AogTisDLPpxVFKq 7W3w== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8-v6si4143453pgq.162.2018.06.21.09.23.20; Thu, 21 Jun 2018 09:23:35 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933447AbeFUQVQ (ORCPT + 99 others); Thu, 21 Jun 2018 12:21:16 -0400 Received: from mga05.intel.com ([192.55.52.43]:34411 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933287AbeFUQVO (ORCPT ); Thu, 21 Jun 2018 12:21:14 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2018 09:21:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,252,1526367600"; d="scan'208";a="234481400" Received: from lmrad-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.254.46]) by orsmga005.jf.intel.com with ESMTP; 21 Jun 2018 09:21:01 -0700 Date: Thu, 21 Jun 2018 19:21:01 +0300 From: Jarkko Sakkinen To: Jason Gunthorpe Cc: Louis Collard , linux-integrity@vger.kernel.org, Peter Huewe , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, apronin@chromium.org Subject: Re: [PATCH] tpm: Add module parameter for hwrng quality. Message-ID: <20180621162101.GB11859@linux.intel.com> References: <20180608065438.110109-1-louiscollard@chromium.org> <20180618180712.GB20697@linux.intel.com> <20180618193306.GF6805@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180618193306.GF6805@ziepe.ca> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 18, 2018 at 01:33:06PM -0600, Jason Gunthorpe wrote: > > > +module_param(override_rng_quality, short, 0644); > > > > Should this be 600 i.e. not to leak this information? > > There is a real push these days against adding module parameters, and > apparently, IMA can't function with TPM as a module. > > Are you sure this shouldn't be done in some other way? Maybe a sysfs file would be a better choice for this? /Jarkko