Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tls.c File Reference
#include <errno.h>
#include <linux/unistd.h>
#include <sys/ptrace.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <sysdep/tls.h>

Go to the source code of this file.

Macros

#define PTRACE_GET_THREAD_AREA   25
 
#define PTRACE_SET_THREAD_AREA   26
 

Functions

void check_host_supports_tls (int *supports_tls, int *tls_min)
 
int os_set_thread_area (user_desc_t *info, int pid)
 
int os_get_thread_area (user_desc_t *info, int pid)
 

Macro Definition Documentation

#define PTRACE_GET_THREAD_AREA   25

Definition at line 11 of file tls.c.

#define PTRACE_SET_THREAD_AREA   26

Definition at line 15 of file tls.c.

Function Documentation

void check_host_supports_tls ( int supports_tls,
int tls_min 
)

Definition at line 21 of file tls.c.

int os_get_thread_area ( user_desc_t info,
int  pid 
)

Definition at line 58 of file tls.c.

int os_set_thread_area ( user_desc_t info,
int  pid 
)

Definition at line 47 of file tls.c.