Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
namespace.c File Reference
#include <linux/ipc.h>
#include <linux/msg.h>
#include <linux/ipc_namespace.h>
#include <linux/rcupdate.h>
#include <linux/nsproxy.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/mount.h>
#include <linux/user_namespace.h>
#include <linux/proc_fs.h>
#include "util.h"

Go to the source code of this file.

Functions

struct ipc_namespacecopy_ipcs (unsigned long flags, struct task_struct *tsk)
 
void free_ipcs (struct ipc_namespace *ns, struct ipc_ids *ids, void(*free)(struct ipc_namespace *, struct kern_ipc_perm *))
 
void put_ipc_ns (struct ipc_namespace *ns)
 

Variables

struct proc_ns_operations ipcns_operations
 

Function Documentation

struct ipc_namespace* copy_ipcs ( unsigned long  flags,
struct task_struct tsk 
)
read

Definition at line 54 of file namespace.c.

void free_ipcs ( struct ipc_namespace ns,
struct ipc_ids ids,
void(*)(struct ipc_namespace *, struct kern_ipc_perm *)  free 
)

Definition at line 72 of file namespace.c.

void put_ipc_ns ( struct ipc_namespace ns)

Definition at line 135 of file namespace.c.

Variable Documentation

struct proc_ns_operations ipcns_operations
Initial value:
= {
.name = "ipc",
.type = CLONE_NEWIPC,
.get = ipcns_get,
.put = ipcns_put,
.install = ipcns_install,
}

Definition at line 173 of file namespace.c.