Allow CK to terminate on FreeBSD
Joe Marcus Clarke
marcus at FreeBSD.org
Fri Aug 31 12:28:57 PDT 2007
I dug into the FreeBSD kernel some more, and found that if signal
handlers are registered, the tsleep() function will know which signals
are allowed to interrupt the ioctl syscall, thus causing it to return
EINTR. Based on this, I put together this patch which fixes the
termination problem. It may not be the ideal place for the signal
handler registration, but it does the job.
I can send a formal git patch once people have a chance to comment.
Joe
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ck.diff
Type: text/x-patch
Size: 2945 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070831/7021849c/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20070831/7021849c/attachment.pgp
More information about the hal
mailing list