[ConsoleKit] [Patch] console-kit-daemon restart when receiving SIGPOLL on Solaris

Halton Huo Halton.Huo at Sun.COM
Thu Oct 15 03:46:15 PDT 2009


Hi,

This is Solaris specific patch, won't affect other platform, I'd like to
check in to master.

console-kit-daemon will receive SIGPOLL when VT is switched, this will
cause c-k-d exit. It is because the process does not go into
handle_vt_active() as we wish.

We found that using signal() rather than sigaction() fix this issue.
        
Refer to bug http://defect.opensolaris.org/bz/show_bug.cgi?id=11612 for
more information.

Thanks,
Halton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ConsoleKit-05-sol-sigpoll.diff
Type: text/x-patch
Size: 1288 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/consolekit/attachments/20091015/2bf72497/attachment.bin 


More information about the ConsoleKit mailing list