Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
nsproxy.h File Reference
#include <linux/spinlock.h>
#include <linux/sched.h>

Go to the source code of this file.

Data Structures

struct  nsproxy
 

Functions

int copy_namespaces (unsigned long flags, struct task_struct *tsk)
 
void exit_task_namespaces (struct task_struct *tsk)
 
void switch_task_namespaces (struct task_struct *tsk, struct nsproxy *new)
 
void free_nsproxy (struct nsproxy *ns)
 
int unshare_nsproxy_namespaces (unsigned long, struct nsproxy **, struct fs_struct *)
 
int __init nsproxy_cache_init (void)
 

Variables

struct nsproxy init_nsproxy
 

Function Documentation

int copy_namespaces ( unsigned long  flags,
struct task_struct tsk 
)

Definition at line 122 of file nsproxy.c.

void exit_task_namespaces ( struct task_struct tsk)

Definition at line 230 of file nsproxy.c.

void free_nsproxy ( struct nsproxy ns)

Definition at line 167 of file nsproxy.c.

int __init nsproxy_cache_init ( void  )

Definition at line 274 of file nsproxy.c.

void switch_task_namespaces ( struct task_struct tsk,
struct nsproxy new 
)

Definition at line 208 of file nsproxy.c.

int unshare_nsproxy_namespaces ( unsigned  long,
struct nsproxy **  ,
struct fs_struct  
)

Definition at line 185 of file nsproxy.c.

Variable Documentation

struct nsproxy init_nsproxy

Definition at line 31 of file nsproxy.c.