Re: Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
On 05/22/12 19:53, Robert Bonomi wrote: I implemented a RPC system at SLAC - actually got RPC numbers from Sun! But, it is slow. Unless it is located far away (two miles at SLAC), it is much faster to do it with a driver, etc. Tom Dean ___ freebsd-qu

Re: Using inb() and outb()

2012-05-22 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Tue May 22 21:30:21 2012 > Date: Tue, 22 May 2012 19:27:44 -0700 > From: "Thomas D. Dean" > To: freebsd-questions@freebsd.org > Subject: Re: Using inb() and outb() > > On 05/22/12 17:09, Eitan Adler wrote: > > On 22

Re: Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
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 r

Re: Using inb() and outb()

2012-05-22 Thread Eitan Adler
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? -- Eitan Adler

Re: Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
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. Don't like that, but, it is nanoBSD and hardware control Tom Dean ___ freebsd-questions@freebsd.org mailing

Re: Using inb() and outb()

2012-05-22 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Tue May 22 15:18:43 2012 > Date: Tue, 22 May 2012 13:13:35 -0700 > From: "Thomas D. Dean" > To: freebsd-questions@freebsd.org > Subject: Using inb() and outb() > > I have nanoBSD running a hardware control application. &

Using inb() and outb()

2012-05-22 Thread Thomas D. Dean
I have nanoBSD running a hardware control application. To do this, I need inb() and outb() functions. I an do this as root. However, it is better if none of the control system is run as root. How do I allow these functions to one specific user? Tom Dean ___