Added fixes to make Apache work with DMTCP

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2242 ba6dc0ae-232f-0410-883f-9ebac64fc565
Fix typo in SLURM support code (dmtcp_restart_script.sh)



git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2243 ba6dc0ae-232f-0410-883f-9ebac64fc565
Minor type fix for dmtcpplugin.h

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2244 ba6dc0ae-232f-0410-883f-9ebac64fc565
Use pthread_getspecific for syscall wrappers.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2245 ba6dc0ae-232f-0410-883f-9ebac64fc565
Created Alloc plugin (enabled by default)

Use --disable-alloc-plugin for dmtcp_launch to disable.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2246 ba6dc0ae-232f-0410-883f-9ebac64fc565
Sockets: Allow connected sockets to be used for a new connection.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2247 ba6dc0ae-232f-0410-883f-9ebac64fc565
Added dmtcp_set_coord_ckpt_dir() function.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2248 ba6dc0ae-232f-0410-883f-9ebac64fc565
Removed an extra JNOTE.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2249 ba6dc0ae-232f-0410-883f-9ebac64fc565
IB: Fix memory regions may have duplicate rkey; fix support for LMC

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2250 ba6dc0ae-232f-0410-883f-9ebac64fc565
Bugfix for Virtual Id Table.

Reset on fork should reset the base as well.

git-svn-id: svn://svn.code.sf.net/p/dmtcp/code/trunk@2251 ba6dc0ae-232f-0410-883f-9ebac64fc565
FILE: Added dmtcp_must_ckpt_file and dmtcp_get_new_file_path

To allow a user plugin to decide whether or not to ckpt a given file.
Also, allows it to provide the new path at the time of restart.

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