Add one of the files generated by a unit test to .gitignore.
Make send_depend_req() follow the proper locking model: before this change send_depend_req() would receive a locked job and return with said job unlocked. This doesn't follow the proper model - functions that receive a locked object should return with the object locked, unless the object disappears during the execution of the function. If the job disappears, send_depend_req() now returns PBSE_JOBNOTFOUND.
Fix alter_unreg() so that it follows the proper locking model. Before it came in locked and left unlocked. This now follows the proper model.
Fix depend_on_que() to also follow the proper locking order. It also unlocked a job that it received locked.
Change depend_on_term() to be a bit more normal. Before, we would unlock the job and pass the id over to depend_on_term(), which would then lock, but then leave unlocked. The caller would then have to re-lock the job. Now, it receives the job locked and exits with the job locked.
Change release_cheapest so that it returns an error if the job disappears mid-execution.
Fix two errors with the patches I've just made to req_register.c in order to make functions follow the normal locking pattern.
TRQ-1605. Make monitor_route_retry_thread() check for the value of (pthread_t)-1 before checking if the process still exists, as -1 indicates that it doesn't.
Fixed unit tests.
Fix for TRQ-1595 - Not able to submit jobs when XT is down.
Fix some scaffolding references.
Fix an error in the tools dir for running unit tests.
TRQ-1624. Add some additional protection against pbs_server deleting valid, running jobs. This was happening due to a false positive - pbs_server thought the mom said that the job no longer existed, when in reality the mom was sending its own update to pbs_server and so it didn't process the incoming connection from pbs_server.
Added fix for a potential security problem between clients and
trqauthd. Users could use the LD_PROLOAD environment variable
to substitute another user id for a command. This patch
changes the client to trqauthd protocol to include the pid of
the calling utility. The real user id can be discovered from the
pid and checked against the submitted user name. This fixes
TRQ-1652.
Merge branch 'master' of https://github.com/adaptivecomputing/torque
Merged changes for TRQ-897: TORQUE rejecting jobs because of resources_max.nodes when it shouldn't.