From owner-freebsd-questions@FreeBSD.ORG Wed May 23 02:27:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54DA4106566C for ; Wed, 23 May 2012 02:27:43 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 224668FC12 for ; Wed, 23 May 2012 02:27:43 +0000 (UTC) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.48]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 3F575A7354E for ; Tue, 22 May 2012 22:27:42 -0400 (EDT) Received: (qmail 15137 invoked from network); 23 May 2012 02:27:41 -0000 Received: by simscan 1.4.0 ppid: 29156, pid: 4098, t: 0.3353s scanners: clamav: 0.88.2/m:52/d:10739 spam: 3.0.4 Received: from unknown (HELO P9X79.tddhome) (tomdean@[24.113.107.31]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 May 2012 02:27:41 -0000 Message-ID: <4FBC4B20.8070100@speakeasy.org> Date: Tue, 22 May 2012 19:27:44 -0700 From: "Thomas D. Dean" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120310 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201205222108.q4ML84Zc070244@mail.r-bonomi.com> <4FBC0458.3060200@speakeasy.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail4.sea5 X-Spam-Level: X-Spam-Status: No, score=0.9 required=8.0 tests=FORGED_RCVD_HELO, RATWARE_GECKO_BUILD autolearn=disabled version=3.0.4 Subject: Re: Using inb() and outb() X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2012 02:27:43 -0000 On 05/22/12 17:09, Eitan Adler wrote: > On 22 May 2012 14:25, Thomas D. Dean wrote: >> On 05/22/12 14:08, Robert Bonomi wrote: >> >> That is what I thought. >> >> The entire operation will have to run as root. Nothing will be non-root. > > Can you make a SUID helper which only does the inb/outb operations as root? > I am planing to move the higher level functions to a driver. I really want a userland interface to the process. Tom Dean