[PATCH] CK verify parameters + xinit patch

William Jon McCann mccann at jhu.edu
Mon Apr 2 12:39:09 PDT 2007


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

Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xinit-1.0.2-2-poke-ck.patch
Type: text/x-patch
Size: 4021 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070402/00620c23/xinit-1.0.2-2-poke-ck.bin


More information about the hal mailing list