Correct - unless this "driver" is something that a lot of people are going
to be using (which is doesn't seem to be, it sounds more line an
application), then install the thing suid. Suid is not always bad. Or
install it suid and guid, and only let "trusted" members in the group run
the program, like the fax programs do.
On Tue, 19 Jun 2001, Philip Blundell wrote:
> >savefy of the system. But if for an port access the emulation program opens
> >and claims the device, and then feeds the inb() and outb() as ioctls to the
> >parport device,things should be save. And I think accesses to the extended
> >ECP adresses should be allowed too, if the emulated program wants to do
> >things like EPP or ECR access.
> So write yourself a setuid helper program that does ioperm() on the parallel
> port addresses and forwards stuff there. There is no need for this to go in
> the kernel.
-- To unsubscribe, send mail to: email@example.com --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Tue Jun 19 2001 - 16:35:13 EDT