Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/nsproxy.h>
#include <linux/init_task.h>
#include <linux/mnt_namespace.h>
#include <linux/utsname.h>
#include <linux/pid_namespace.h>
#include <net/net_namespace.h>
#include <linux/ipc_namespace.h>
#include <linux/proc_fs.h>
#include <linux/file.h>
#include <linux/syscalls.h>
Go to the source code of this file.
Functions | |
int | copy_namespaces (unsigned long flags, struct task_struct *tsk) |
void | free_nsproxy (struct nsproxy *ns) |
int | unshare_nsproxy_namespaces (unsigned long unshare_flags, struct nsproxy **new_nsp, struct fs_struct *new_fs) |
void | switch_task_namespaces (struct task_struct *p, struct nsproxy *new) |
void | exit_task_namespaces (struct task_struct *p) |
SYSCALL_DEFINE2 (setns, int, fd, int, nstype) | |
int __init | nsproxy_cache_init (void) |
Variables | |
struct nsproxy | init_nsproxy |
int copy_namespaces | ( | unsigned long | flags, |
struct task_struct * | tsk | ||
) |
void exit_task_namespaces | ( | struct task_struct * | p | ) |
void switch_task_namespaces | ( | struct task_struct * | p, |
struct nsproxy * | new | ||
) |