On Tue, 2007-02-27 at 16:07 -0500, David Zeuthen wrote:
On Tue, 2007-02-27 at 15:44 -0500, xiphmont(a)xiph.org wrote:
> On 2/27/07, William Jon McCann <mccann(a)jhu.edu> wrote:
> > Hi Monty,
> >
> > On 2/27/07, xiphmont(a)xiph.org <xiphmont(a)xiph.org> wrote:
> > > An earlier question still stands, and it is central: does UID ==
> > > console session ID?
> >
> > To me, this is very much like asking "Does UID == $DISPLAY"? And
the
> > answer of course is - not in general.
>
> I am asking so that the answer is a documented-- and thought about--
> instead of being a nebulous assumption. For one, it will be difficult
> to have true session-unique emulation support because those interfaces
> used /dev permissions with no concept of session, only uid and gid.
If the emu system daemon runs as root you, then /dev/dsp and friends
would only need to be accessible by root assuming the emu system daemon
passes the fd to the PA instances.
Eh, scrap that. We'd need to put ACL's on them anyway. The emu daemon
would do additional checking though.
David