Hi,

On Tue, Jun 22, 2010 at 04:44:50PM +0200, Mark Kettenis wrote:

> I don't think using system(3) would be a good idea, since it has some
> nasty side-effects.

That's how UNIX works. If it has nasty side-effects, then something else
is broken.

> Also, this probably wouldn't work on OpenBSD where we have privilige
> separation, and the execution of scanpci would fail after we drop root
> priviliges.

If you don't have a PCI interface in your system that allows running
scanpci as non-root, than you should install it suid root... I don't see
an issue here.

-antrik-
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to