| 437 | } |
| 438 | |
| 439 | void |
| 440 | ProcessInfo::postExec() |
| 441 | { |
| 442 | string procSelfExeStr = jalib::Filesystem::ResolveSymlink("/proc/self/exe"); |
| 443 | strncpy(procSelfExe, procSelfExeStr.c_str(), sizeof(procSelfExe) - 1); |
| 444 | |
| 445 | strncpy(procname, jalib::Filesystem::GetProgramName().c_str(), sizeof(procname) -1); |
| 446 | |
| 447 | upid = UniquePid::ThisProcess(); |
| 448 | uppid = UniquePid::ParentProcess(); |
| 449 | updateCkptDirFileSubdir(); |
| 450 | } |
| 451 | |
| 452 | void |
| 453 | ProcessInfo::resetOnFork() |
no outgoing calls
no test coverage detected