Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ldt.c File Reference
#include <linux/errno.h>
#include <linux/gfp.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/vmalloc.h>
#include <linux/uaccess.h>
#include <asm/ldt.h>
#include <asm/desc.h>
#include <asm/mmu_context.h>
#include <asm/syscalls.h>

Go to the source code of this file.

Functions

int init_new_context (struct task_struct *tsk, struct mm_struct *mm)
 
void destroy_context (struct mm_struct *mm)
 
asmlinkage int sys_modify_ldt (int func, void __user *ptr, unsigned long bytecount)
 

Function Documentation

void destroy_context ( struct mm_struct mm)
inline

Definition at line 126 of file ldt.c.

int init_new_context ( struct task_struct tsk,
struct mm_struct mm 
)

Definition at line 105 of file ldt.c.

asmlinkage int sys_modify_ldt ( int  func,
void __user ptr,
unsigned long  bytecount 
)

Definition at line 247 of file ldt.c.