Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758029Ab3CTD1Z (ORCPT ); Tue, 19 Mar 2013 23:27:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30894 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758010Ab3CTD1X (ORCPT ); Tue, 19 Mar 2013 23:27:23 -0400 Message-ID: <1363750040.24132.483.camel@bling.home> Subject: Re: [PATCH 01/12] Security: Add CAP_COMPROMISE_KERNEL From: Alex Williamson To: "H. Peter Anvin" Cc: Matthew Garrett , "linux-kernel@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "linux-efi@vger.kernel.org" , "kexec@lists.infradead.org" , "linux-pci@vger.kernel.org" Date: Tue, 19 Mar 2013 21:27:20 -0600 In-Reply-To: <51492B78.7020404@zytor.com> References: <3pfl8u1ugprwkcs5xmtjth3l.1363742692541@email.android.com> <51492379.3090302@zytor.com> <51492828.5070803@zytor.com> <1363749503.24132.482.camel@bling.home> <51492B78.7020404@zytor.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 23 On Tue, 2013-03-19 at 20:22 -0700, H. Peter Anvin wrote: > On 03/19/2013 08:18 PM, Alex Williamson wrote: > >> > >> The "pinning" process needs to involve a call to the kernel to process > >> the page for DMA (pinning the page and opening it in the iommu) and > >> return a transaction address, of course. > >> > >> I think we have the interface for that in vfio, but I haven't followed > >> that work. > > > > Yes, vfio does this and is meant to provide a secure-boot-friendly PCI > > passthrough interface. Thanks, > > > > Right, and presumably vfio does *not* require CAP_SYS_RAWIO, right? Correct -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/