newfd             253 mtcp/mtcp_sys.h # define mtcp_sys_dup2(oldfd,newfd) \
newfd             254 mtcp/mtcp_sys.h          mtcp_inline_syscall(dup3,3,oldfd,newfd,NULL)
newfd             220 nosyscallsreal.c int _real_dup2 (int oldfd, int newfd)
newfd             222 nosyscallsreal.c   REAL_FUNC_PASSTHROUGH (dup2) (oldfd, newfd);
newfd             345 plugin/ipc/connectionlist.cpp void ConnectionList::processDup(int oldfd, int newfd)
newfd             347 plugin/ipc/connectionlist.cpp   if (oldfd == newfd) return;
newfd             348 plugin/ipc/connectionlist.cpp   if (_fdToCon.find(newfd) != _fdToCon.end()) {
newfd             349 plugin/ipc/connectionlist.cpp     processClose(newfd);
newfd             356 plugin/ipc/connectionlist.cpp     _fdToCon[newfd] = con;
newfd             357 plugin/ipc/connectionlist.cpp     con->addFd(newfd);
newfd              59 plugin/ipc/connectionlist.h       void processDup(int oldfd, int newfd);
newfd             144 plugin/ipc/file/filewrappers.cpp   int newfd = _real_dup(oldfd);
newfd             145 plugin/ipc/file/filewrappers.cpp   if (newfd != -1 && dmtcp_is_running_state()) {
newfd             146 plugin/ipc/file/filewrappers.cpp     FileConnList::instance().processDup(oldfd, newfd);
newfd             149 plugin/ipc/file/filewrappers.cpp   return newfd;
newfd             152 plugin/ipc/file/filewrappers.cpp extern "C" int dup2(int oldfd, int newfd)
newfd             155 plugin/ipc/file/filewrappers.cpp   int res = _real_dup2(oldfd, newfd);
newfd             156 plugin/ipc/file/filewrappers.cpp   if (res != -1 && newfd != oldfd && dmtcp_is_running_state()) {
newfd             157 plugin/ipc/file/filewrappers.cpp     FileConnList::instance().processDup(oldfd, newfd);
newfd             160 plugin/ipc/file/filewrappers.cpp   return newfd;
newfd             165 plugin/ipc/file/filewrappers.cpp extern "C" int dup3(int oldfd, int newfd, int flags)
newfd             168 plugin/ipc/file/filewrappers.cpp   int res = _real_dup3(oldfd, newfd, flags);
newfd             169 plugin/ipc/file/filewrappers.cpp   if (res != -1 && newfd != oldfd && dmtcp_is_running_state()) {
newfd             170 plugin/ipc/file/filewrappers.cpp     FileConnList::instance().processDup(oldfd, newfd);
newfd             173 plugin/ipc/file/filewrappers.cpp   return newfd;
newfd             118 plugin/ipc/ipc.cpp   int newfd = _real_dup(oldfd);
newfd             119 plugin/ipc/ipc.cpp   if (newfd != -1 && dmtcp_is_running_state()) {
newfd             120 plugin/ipc/ipc.cpp     process_fd_event(SYS_dup, oldfd, newfd);
newfd             123 plugin/ipc/ipc.cpp   return newfd;
newfd             126 plugin/ipc/ipc.cpp extern "C" int dup2(int oldfd, int newfd)
newfd             129 plugin/ipc/ipc.cpp   int res = _real_dup2(oldfd, newfd);
newfd             130 plugin/ipc/ipc.cpp   if (res != -1 && newfd != oldfd && dmtcp_is_running_state()) {
newfd             131 plugin/ipc/ipc.cpp     process_fd_event(SYS_dup, oldfd, newfd);
newfd             134 plugin/ipc/ipc.cpp   return newfd;
newfd             139 plugin/ipc/ipc.cpp extern "C" int dup3(int oldfd, int newfd, int flags)
newfd             142 plugin/ipc/ipc.cpp   int res = _real_dup3(oldfd, newfd, flags);
newfd             143 plugin/ipc/ipc.cpp   if (res != -1 && newfd != oldfd && dmtcp_is_running_state()) {
newfd             144 plugin/ipc/ipc.cpp     process_fd_event(SYS_dup, oldfd, newfd);
newfd             147 plugin/ipc/ipc.cpp   return newfd;
newfd             648 syscallsreal.c int _real_dup2 (int oldfd, int newfd)
newfd             650 syscallsreal.c   REAL_FUNC_PASSTHROUGH (dup2) (oldfd, newfd);
newfd             654 syscallsreal.c int _real_dup3 (int oldfd, int newfd, int flags)
newfd             656 syscallsreal.c   REAL_FUNC_PASSTHROUGH (dup3) (oldfd, newfd, flags);
newfd             331 syscallwrappers.h   int _real_dup2 (int oldfd, int newfd);
newfd             332 syscallwrappers.h   int _real_dup3 (int oldfd, int newfd, int flags);
newfd             311 util_misc.cpp  void Util::changeFd(int oldfd, int newfd)
newfd             313 util_misc.cpp    if (oldfd != newfd) {
newfd             314 util_misc.cpp      JASSERT(_real_dup2(oldfd, newfd) == newfd);