Received: by 10.192.165.156 with SMTP id m28csp1015796imm; Wed, 11 Apr 2018 10:52:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx49scdYLIz3TJv1ukwqw8ycS6TlS3T8iXTUm1X7op+LNut26SVy4BK+P1dWDHPL2gHwjA63q X-Received: by 10.99.116.76 with SMTP id e12mr4091797pgn.270.1523469151036; Wed, 11 Apr 2018 10:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523469150; cv=none; d=google.com; s=arc-20160816; b=zTppd1B1eQTXYjX+vw+dwi8WwflZpYpPITEZgGp7LUYsh/MPDf4aPA8Zu5OnWmzRwW G3xTFbb5GjnWn+5Py3j3F+RiIXiY8yqL66ikJsuZ+SzOTsd6HktMqh4SKr47egvzBsFW RlzBHIAlEuAghbBu5P5ZpCOfm3XUFLvDlMhIXPvatBLkAwGJ8gAjywxabAqB8ThAFd3N K3tfLBFnuvV5Jc5I/k+MSCCs942VZAFx8ZACjT1GM7dRW+N+2KoCWuYLY641LEu1PW3+ oTTmZoAqpIrGNuUbMJN2loEp+l9rf1zTAc08QgJ9C9bGXveCjmsuatvxDjCpeOn+VP3n grww== 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-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=53d/hEF0URv4StAFxZeg2k8tliAdPcO7zLPU9JKpOm4=; b=CzbtTGXw30+3j+XjsKNyyvrGrxqjDL75CALSlc4j+2ASJJ3jsyRVK1X7G0b+SnH1QB bp+mnQVpJFwghPZwIsjiEOAN4KowCZeA5/KBBLFpWSJQdaESpSHGIhysTMchYIKFwSxu 30L/Gwp62s5wZU8c4V6Q73KZD5cPKUlWMMfcTNeE//JHTrtcoz/gesYzBZjya/i+FXRU tmHJ0U+Pkagi7mwG0DIusiKBzIZ80TC5fu6167zJW28flUHuhNvRAMzhl+1zx6Xt9vBO IB2EUADA7OaQR6OTzKXf4F6ppr6LM6+BZltcL/nzCYXa5KycV6ZhePpeKlzqnymjiZhU WhGA== 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 g66si1051233pgc.624.2018.04.11.10.51.52; Wed, 11 Apr 2018 10:52:30 -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 S1752424AbeDKRtK (ORCPT + 99 others); Wed, 11 Apr 2018 13:49:10 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34748 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751599AbeDKRtI (ORCPT ); Wed, 11 Apr 2018 13:49:08 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EE810722F4; Wed, 11 Apr 2018 17:49:07 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-8.rdu2.redhat.com [10.10.120.8]) by smtp.corp.redhat.com (Postfix) with ESMTP id 945591208F69; Wed, 11 Apr 2018 17:49: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: <6a37b428-d9fb-12d5-8d36-8a032984af8c@infradead.org> References: <6a37b428-d9fb-12d5-8d36-8a032984af8c@infradead.org> <152346387861.4030.4408662483445703127.stgit@warthog.procyon.org.uk> <152346388583.4030.15146667041427303547.stgit@warthog.procyon.org.uk> To: Randy Dunlap Cc: dhowells@redhat.com, torvalds@linux-foundation.org, linux-man@vger.kernel.org, linux-api@vger.kernel.org, jmorris@namei.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH 01/24] Add the ability to lock down access to the running kernel image MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7366.1523468945.1@warthog.procyon.org.uk> Date: Wed, 11 Apr 2018 18:49:05 +0100 Message-ID: <7367.1523468945@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 11 Apr 2018 17:49:08 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 11 Apr 2018 17:49:08 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Randy Dunlap wrote: > > + drivers from functioning because allowing manual configuration of > > + hardware parameters is forbidden, lest a device be used to access the > > + kernel by DMA. This mostly applies to ISA devices. > > Is DMA from non-ISA devices OK, or did I miss seeing that patch? The issue is where you can directly command a device to do DMA, possibly by using the wrong driver. Ask Alan Cox. David