|
DMTCP
|
#include <elf.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <errno.h>#include <sys/syscall.h>#include <sys/resource.h>#include <sys/personality.h>#include <linux/version.h>#include <gnu/libc-version.h>#include "mtcp_sys.h"#include "restore_libc.h"#include "tlsutil.h"Go to the source code of this file.
Macros | |
| #define | ELF_AUXV_T Elf32_auxv_t |
| #define | UINT_T uint32_t |
| #define | STATIC_TLS_PID_OFFSET() (STATIC_TLS_TID_OFFSET() + sizeof(pid_t)) |
| #define | DEFAULT_SYSINFO_OFFSET "0x10" |
Functions | |
| int | TLSInfo_GetTidOffset (void) |
| int | TLSInfo_GetPidOffset (void) |
| int | TLSInfo_HaveThreadSysinfoOffset () |
| void * | TLSInfo_GetThreadSysinfo () |
| void | TLSInfo_SetThreadSysinfo (void *sysinfo) |
| void | TLSInfo_VerifyPidTid (pid_t pid, pid_t tid) |
| void | TLSInfo_UpdatePid () |
| void | TLSInfo_SaveTLSState (ThreadTLSInfo *tlsInfo) |
| void | TLSInfo_RestoreTLSState (ThreadTLSInfo *tlsInfo) |
Variables | |
| int | mtcp_sys_errno |
| MYINFO_GS_T | myinfo_gs |
| void ** | motherofall_saved_sp |
| ThreadTLSInfo * | motherofall_tlsInfo |
| char ** | environ |
| #define DEFAULT_SYSINFO_OFFSET "0x10" |
Definition at line 378 of file restore_libc.c.
| #define ELF_AUXV_T Elf32_auxv_t |
Definition at line 40 of file restore_libc.c.
| #define STATIC_TLS_PID_OFFSET | ( | ) | (STATIC_TLS_TID_OFFSET() + sizeof(pid_t)) |
Definition at line 134 of file restore_libc.c.
| #define UINT_T uint32_t |
Definition at line 41 of file restore_libc.c.
| int TLSInfo_GetPidOffset | ( | void | ) |
Definition at line 222 of file restore_libc.c.
| void* TLSInfo_GetThreadSysinfo | ( | ) |
Definition at line 408 of file restore_libc.c.
| int TLSInfo_GetTidOffset | ( | void | ) |
Definition at line 158 of file restore_libc.c.
| int TLSInfo_HaveThreadSysinfoOffset | ( | ) |
Definition at line 380 of file restore_libc.c.
| void TLSInfo_RestoreTLSState | ( | ThreadTLSInfo * | tlsInfo) |
Definition at line 508 of file restore_libc.c.
| void TLSInfo_SaveTLSState | ( | ThreadTLSInfo * | tlsInfo) |
Definition at line 469 of file restore_libc.c.
| void TLSInfo_SetThreadSysinfo | ( | void * | sysinfo) |
Definition at line 425 of file restore_libc.c.
| void TLSInfo_UpdatePid | ( | ) |
Definition at line 456 of file restore_libc.c.
| void TLSInfo_VerifyPidTid | ( | pid_t | pid, |
| pid_t | tid | ||
| ) |
Definition at line 442 of file restore_libc.c.
| char** environ |
| void** motherofall_saved_sp |
Definition at line 44 of file threadlist.cpp.
| ThreadTLSInfo* motherofall_tlsInfo |
Definition at line 45 of file threadlist.cpp.
| int mtcp_sys_errno |
Definition at line 33 of file restore_libc.c.
| MYINFO_GS_T myinfo_gs |
1.8.4