Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248AbcLFKnA convert rfc822-to-8bit (ORCPT ); Tue, 6 Dec 2016 05:43:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60644 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbcLFKmu (ORCPT ); Tue, 6 Dec 2016 05:42:50 -0500 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: <20161206071104.GA10292@kroah.com> References: <20161206071104.GA10292@kroah.com> <20161201150135.GA10317@kroah.com> <148059537897.31612.9461043954611464597.stgit@warthog.procyon.org.uk> <148059538747.31612.8974972913601108271.stgit@warthog.procyon.org.uk> <18118.1480608146@warthog.procyon.org.uk> <20161205211227.4cc792d6@lxorguk.ukuu.org.uk> To: Greg KH Cc: dhowells@redhat.com, One Thousand Gnomes , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, minyard@acm.org Subject: Re: [PATCH 01/39] Annotate module params that specify hardware parameters (eg. ioport) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32096.1481020967.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Tue, 06 Dec 2016 10:42:47 +0000 Message-ID: <32097.1481020967@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 06 Dec 2016 10:42:50 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 732 Lines: 18 Greg KH wrote: > What about all of the ways you can change ioports dynamically from > ioctls? Or can't python write ioctls to device nodes? :) Do you mean change the ioport a driver uses by ioctl or actually read/write an ioport directly? Do the following patches that I've already posted address your issues: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/commit/?h=efi-lock-down&id=c67c338dd82d28c67d38eb3147368eb36dbf1c16 http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/commit/?h=efi-lock-down&id=10bd7277eef5194ba038fc2d907bac9e6aeab12b They're going to be in a patchset that I am/was intending to sit atop the module parameter-lockdown patchset. David