I rewrote the code that GDM uses for ctrun integration.  Now GDM is a
lot smarter and builds the commands directly in the daemon (and the
gesture listeners).  This is better than hacking the /usr/share/xsession
desktop files and in the /etc/X11/gdm/modules/ configuration files
(for the gesture listeners).

So now, if you configure GDM and include the --with-ctrun argument,
it builds with ctrun enabled.  I've updated our 2.19 GDM to work like
this.

Note that I did some rework on the way the session_child_run function
in daemon/slave.c works.  This meant I rewrote the way that the Trusted
Solaris code was building the command.  I think the new code is a lot
cleaner, and more maintainable.  I am comfortable that I got things
right, but would be worth having other eyes look over the changes to
this function as well.  Now I build the string as a GString and append
stuff to it as needed rather than trying to setup an argv array, which
was really messy (and trying to get ctrun to also work this way would
have made it even uglier).

Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdm-03-ctrun.diff
Type: text/x-patch
Size: 18506 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20070511/7c046c0e/attachment.bin>

Reply via email to