[CRIU] Need for root access? how to capture and restore user data.

Mike Dupont jamesmikedupont at googlemail.com
Sun Sep 11 07:13:33 PDT 2016


Dear Criu Hackers,

I am attempting to implement a process capture tool for the gcc to extract
compiler data that the user creates.
I have been experimenting with  google-coredumper (produced core files that
are truncated) and just creating a normal core dump (working)
Now I am taking a try with criu, and I have gotten it to dump,
https://github.com/h4ck3rm1k3/gcc-plugin-cpp-template/blob/master/plugin.cpp#L96

but it needs root access. All I would really like is access to the memory
of the program that is loadable without using gdb. I would like to be able
to load the memory back and then use custom code to decode it with help of
the programs header files.

Do any of you have some tips for me ? How to get criu to work without root
access (this needs to be a tool that can be used in the field with only
access to the gcc), or how to load in a core file and attach to it without
gdb?

thanks,
mike

ps http://sfk16.flossk.org/ I am help organizing this conference on oct22
if anyone wants to visit kosovo!

-- 
James Michael DuPont
Kansas Linux Fest http://kansaslinuxfest.us
Free/Libre Open Source and Open Knowledge Association of Kansas
http://openkansas.us
Member of Free Libre Open Source Software Kosova http://www.flossk.org
Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160911/9e385e58/attachment.html>


More information about the CRIU mailing list