crash-suspend.c using new interface

David Smith dsmith at redhat.com
Wed Jul 23 21:16:32 UTC 2008


To test out the new utrace interface (I was using kernel
2.6.26-138.fc10.x86_64), I ported the crash-suspend.c example from the
old interface to the new interface.  It is attached to this email.  Feel
free to ignore/delete the extra debug printk's.

When run, it does what is is supposed to do, but triggers a BUG_ON
message when the crashed/suspended process is put back in the foreground.

Note that I don't have any real feel for whether the bug lies in my
crash-suspend.c translation or the new utrace itself.

The BUG details are in msg.txt.

-- 
David Smith
dsmith at redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash-suspend.c
Type: text/x-csrc
Size: 4648 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/utrace-devel/attachments/20080723/119c763c/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: msg.txt
URL: <http://listman.redhat.com/archives/utrace-devel/attachments/20080723/119c763c/attachment.txt>


More information about the utrace-devel mailing list