Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pid_namespace.c File Reference
#include <linux/pid.h>
#include <linux/pid_namespace.h>
#include <linux/syscalls.h>
#include <linux/err.h>
#include <linux/acct.h>
#include <linux/slab.h>
#include <linux/proc_fs.h>
#include <linux/reboot.h>
#include <linux/export.h>

Go to the source code of this file.

Data Structures

struct  pid_cache
 

Macros

#define BITS_PER_PAGE   (PAGE_SIZE*8)
 
#define MAX_PID_NS_LEVEL   32
 

Functions

struct pid_namespacecopy_pid_ns (unsigned long flags, struct pid_namespace *old_ns)
 
void put_pid_ns (struct pid_namespace *ns)
 
 EXPORT_SYMBOL_GPL (put_pid_ns)
 
void zap_pid_ns_processes (struct pid_namespace *pid_ns)
 
int reboot_pid_ns (struct pid_namespace *pid_ns, int cmd)
 
 __initcall (pid_namespaces_init)
 

Macro Definition Documentation

#define BITS_PER_PAGE   (PAGE_SIZE*8)

Definition at line 21 of file pid_namespace.c.

#define MAX_PID_NS_LEVEL   32

Definition at line 75 of file pid_namespace.c.

Function Documentation

__initcall ( pid_namespaces_init  )
struct pid_namespace* copy_pid_ns ( unsigned long  flags,
struct pid_namespace old_ns 
)
read

Definition at line 137 of file pid_namespace.c.

EXPORT_SYMBOL_GPL ( put_pid_ns  )
void put_pid_ns ( struct pid_namespace ns)

Definition at line 154 of file pid_namespace.c.

int reboot_pid_ns ( struct pid_namespace pid_ns,
int  cmd 
)

Definition at line 273 of file pid_namespace.c.

void zap_pid_ns_processes ( struct pid_namespace pid_ns)

Definition at line 167 of file pid_namespace.c.