cfengine/core — pull request #2032 by skreuzer (2014-11-16 02:27:50+00:00)
Title: Address Redmine Bug #2230 when running on FreeBSD

CFEngine had sent a SIGINT to a process that had started up with the same pid as the previous cfengine run. It looks like this issue was documented in redmine as bug 2230 and the solution is to get the process start time of that pid and make sure its the same time as the previous run.

However, code for obtaining that information was only added for Linux, Solaris and AIX and all other unix like platforms fall back to stub functions.

This pull request adds FreeBSD specific versions of the GetProcessState and GetProcessStartTime functions