Properly ckpt-restore /proc/<pid>/* file connections.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1577 ba6dc0ae-232f-0410-883f-9ebac64fc565
Allow plugins to set tmpdir and ckptdir.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1579 ba6dc0ae-232f-0410-883f-9ebac64fc565
Add wrapper for __register_atfork in pidvirt plugin.

This was needed to capture the first call to pthread_atfork to register the
handlers for child inside the pidvirt plugin.


git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1580 ba6dc0ae-232f-0410-883f-9ebac64fc565
Another uninitialized variable fixed.


git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1581 ba6dc0ae-232f-0410-883f-9ebac64fc565
- ./configure --enable-mtcp-proc-maps    ADDED
  With this, MTCP will use proc/*/maps instead of linker script to discover
    memory region occupied by libmtcp.so
  o NOTE:  This breaks 'make check-openmpi', although manual test still works.
           I don't know why.  To be investigated later.
- fegetround/fesetround moved in mtcp.c to be called when user threads stopped
- minor polishing


git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1583 ba6dc0ae-232f-0410-883f-9ebac64fc565
- Fix previous revision:  autotest will wait longer with --enable-mtcp-proc-maps


git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1584 ba6dc0ae-232f-0410-883f-9ebac64fc565
- If ./configure --enable-mtcp-proc-maps, don't use linker script mtcp.t
- pidvirt_filewrappers.cpp:  fix bug in readlink wrapper from rev. 1577


git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1586 ba6dc0ae-232f-0410-883f-9ebac64fc565
Minor fixes to plugin test examples.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1587 ba6dc0ae-232f-0410-883f-9ebac64fc565
dmtcpmodule.h now #include dmtcpplugin.h

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1589 ba6dc0ae-232f-0410-883f-9ebac64fc565
Disable ckpt while thread is initializing

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1590 ba6dc0ae-232f-0410-883f-9ebac64fc565
Preparing for redesigned PTRACE module

Several minor code changes and improvements.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1591 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix for rev 1590.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1592 ba6dc0ae-232f-0410-883f-9ebac64fc565
Redesigned PTRACE module

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1593 ba6dc0ae-232f-0410-883f-9ebac64fc565
- For i386 (32-bit x86), we now create PIC for libmtcp.so when configured
  with --enable-mtcp-use-proc-maps
   + All other architectures already use PIC for libmtcp.so
   + After DMTCP-1.2.5 release, PIC for libmttp.so will be the default;
     but right now it's too close to the release to modify for everybody.


git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1594 ba6dc0ae-232f-0410-883f-9ebac64fc565
- When not enough swap space, DMTCP does not correctly create uncompressed
  checkpoint image.  (Thanks to Rohan Garg for finding this.)


git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1596 ba6dc0ae-232f-0410-883f-9ebac64fc565
Merging 1599, 1601 from 1.2

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1603 ba6dc0ae-232f-0410-883f-9ebac64fc565
Merging rev 1600 from 1.2.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1604 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fixed a race in Ptrace caused by an if with wrong polarity.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1605 ba6dc0ae-232f-0410-883f-9ebac64fc565