MTCP: Remove --offset flag from mtcp_restart.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2042 ba6dc0ae-232f-0410-883f-9ebac64fc565
MTCP: Fixed a typo.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2043 ba6dc0ae-232f-0410-883f-9ebac64fc565
MTCP: Fix a typo from 2043.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2044 ba6dc0ae-232f-0410-883f-9ebac64fc565
MTCP: Fix for rev 2044.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2047 ba6dc0ae-232f-0410-883f-9ebac64fc565
Don't acquire read lock on file in /var or /usr, even if mapped with MAP_SHARED
    This happened with sssd daemon holding write lock on /var/lib/sss/mc/passwd


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2048 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix dmtcp_restart_script.sh: prioritize actual dmtcp_restart over one in PATH


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2049 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fixes for revision 1719 (affecting Open MPI and --enable-debug)


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2053 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix IPC pluginbugs that prevent TORQUE plugin from working.

1. At dup2 call there is a possibility that we will close newfd. 
It is also possible that oldfd is a socket and newfd is file connection. 
In this case DMTCP were unable to find newfd in FileConnList since dup2
was executed in SockConList context. 
As temporal fix following solution was added:
process_fd_event(SYS_close, newfd); // NEW! WE SHOULD FIND BETER SOLUTION
process_fd_event(SYS_dup, oldfd, newfd);

2. Second bug is related to duplicated connection handling. Previously
if we found fd that belongs to already existing connection we just do
conn->addFd(newfd) and do not modify _fdToCon;
In this case newfd is ignored when ConnectionList::ProcessClose is
called.
to fix that new function ConnectionList::addDup(fd,conn) is introduced
that takes care about _fdToCon table.



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2054 ba6dc0ae-232f-0410-883f-9ebac64fc565
Final fixes for Torque v2.5.11 support.



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2055 ba6dc0ae-232f-0410-883f-9ebac64fc565
Another small fixes for (<this-rev> - 2) commit



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2056 ba6dc0ae-232f-0410-883f-9ebac64fc565
test/dmtcp5 was always failing, conditional for C++11, and minor comment
 - Fix for rev. 2039 for test/dmtcp5.c  (improperly handled C++11
 - dmtcpalloc.h - Conditionalization for C++11 (provided, David Abdurachmanov)
 - comment in code to help in compiling under SLES10


git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2058 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix r2054.
Remove close fix for dup() wraper



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2060 ba6dc0ae-232f-0410-883f-9ebac64fc565
PTRACE: Replace <linux/ptrace.h> with <sys/ptrace.h>

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2063 ba6dc0ae-232f-0410-883f-9ebac64fc565
KVM and TUN/TAP plugins

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2067 ba6dc0ae-232f-0410-883f-9ebac64fc565
Tool for process connections analyse.



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2068 ba6dc0ae-232f-0410-883f-9ebac64fc565