[PATCH] CK verify parameters + xinit patch
David Zeuthen
david at fubar.dk
Mon Apr 2 13:01:06 PDT 2007
On Mon, 2007-04-02 at 15:39 -0400, William Jon McCann wrote:
> Hey,
>
> On 4/2/07, David Zeuthen <david at fubar.dk> wrote:
> > Here's a rough patch for making the method OpenSessionWithParameters()
> > verify the passed parameters. With this we can lift the restriction that
> > only uid 0 can call into it. This is needed to make startx(1) work
> > insofar that xinit(1) can be patched to call OpenSessionWithParameters()
> > such that a new session object is created.
>
> What about the attached instead? It shouldn't require any changes to
> CK... except for this dumb mistake I just fixed in git:
> http://gitweb.freedesktop.org/?p=ConsoleKit.git;a=commit;h=86740ea242d0b26758e8a8c43904a0fc88a195f6
Yeah, this works for me and I agree it's much nicer! I'll put it into
Rawhide... Thanks!
David
More information about the hal
mailing list