> > I'll add an xf86RunHelper() too lnx_init.c for now at least.
> > The helper will run with the same uid as X itself (typically
> > root), so can be a potential security hole, so I plan to
> > hard code the path to the helper (/usr/sbin/xmodehelper ?)
> 
>    This may be enough to kill this idea.

Yup, that's annoying me as well. I could run the tool as
nobody and have the tool itself be setuid, but then, I'm
not sure it's worth the pain.

The problem is that I want to let users access the settings
(especially brightness & contrast) and I need to arbitrate
some way between user access and XFree access.

Another possibility would be to have a daemon run that does
the IVAD accesses and have XFree talk to that daemon via a
unix socket.

In any way, I can hack something that fits in PPC distros,
but I'd like it to be clean enough so it can be included
in the main XFree tree, which is why I'm seeking for advice
here as my knowledge of XFree (and userland matters in general)
isn't that good.

Ben.
 
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to