DMTCP
|
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <limits.h>
#include <sys/personality.h>
#include <unistd.h>
#include <errno.h>
#include <elf.h>
#include "mtcp_sys.h"
#include "mtcp_util.h"
Go to the source code of this file.
Macros | |
#define | ADDR_NO_RANDOMIZE 0x0040000 /* In case of old Linux, not defined */ |
#define | ADDR_COMPAT_LAYOUT 0x0200000 /* Not yet defined as of Ubuntu 8.04 */ |
#define | MAX_NEW_ENVP_SIZE 1024 |
#define | ELF_AUXV_T Elf32_auxv_t |
#define | UINT_T uint32_t |
#define | DEFAULT_SYSINFO_OFFSET "0x10" |
#define | NO_RAND_VA_PERSONALITY 1 |
#define | MAX_ARGS 500 |
#define | ARCH_STACK_DEFAULT_SIZE (256 * 1024 * 1024) |
Functions | |
int | mtcp_have_thread_sysinfo_offset (char **environ) |
void * | mtcp_get_thread_sysinfo () |
void | mtcp_set_thread_sysinfo (void *sysinfo) |
void | mtcp_check_vdso (char **environ) |
#define ADDR_COMPAT_LAYOUT 0x0200000 /* Not yet defined as of Ubuntu 8.04 */ |
Definition at line 36 of file mtcp_check_vdso.ic.
#define ADDR_NO_RANDOMIZE 0x0040000 /* In case of old Linux, not defined */ |
Definition at line 35 of file mtcp_check_vdso.ic.
#define ARCH_STACK_DEFAULT_SIZE (256 * 1024 * 1024) |
#define DEFAULT_SYSINFO_OFFSET "0x10" |
Definition at line 132 of file mtcp_check_vdso.ic.
#define ELF_AUXV_T Elf32_auxv_t |
Definition at line 49 of file mtcp_check_vdso.ic.
#define MAX_ARGS 500 |
Definition at line 205 of file mtcp_check_vdso.ic.
#define MAX_NEW_ENVP_SIZE 1024 |
Definition at line 43 of file mtcp_check_vdso.ic.
#define NO_RAND_VA_PERSONALITY 1 |
Definition at line 197 of file mtcp_check_vdso.ic.
#define UINT_T uint32_t |
Definition at line 50 of file mtcp_check_vdso.ic.
void mtcp_check_vdso | ( | char ** | environ) |
Definition at line 271 of file mtcp_check_vdso.ic.
void* mtcp_get_thread_sysinfo | ( | ) |
Definition at line 161 of file mtcp_check_vdso.ic.
int mtcp_have_thread_sysinfo_offset | ( | char ** | environ) |
Definition at line 134 of file mtcp_check_vdso.ic.
void mtcp_set_thread_sysinfo | ( | void * | sysinfo) |
Definition at line 177 of file mtcp_check_vdso.ic.