| 68 | } |
| 69 | |
| 70 | static void |
| 71 | processReopenFd(int fd, const char *path, int flags) |
| 72 | { |
| 73 | if (!dmtcp_is_running_state()) { |
| 74 | return; |
| 75 | } |
| 76 | |
| 77 | DmtcpEventData_t data; |
| 78 | data.reopenFd.fd = fd; |
| 79 | data.reopenFd.path = path; |
| 80 | data.reopenFd.flags = flags; |
| 81 | |
| 82 | PluginManager::eventHook(DMTCP_EVENT_REOPEN_FD, &data); |
| 83 | } |
| 84 | |
| 85 | static void |
| 86 | processCloseFd(int fd) |
no test coverage detected