Linux Kernel
3.7.1
|
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/security.h>
#include <linux/slab.h>
#include <linux/ipc.h>
#include <linux/msg.h>
#include <linux/ipc_namespace.h>
#include <linux/utsname.h>
#include <asm/uaccess.h>
#include "util.h"
Go to the source code of this file.
Data Structures | |
struct | msg_msgseg |
Macros | |
#define | DATALEN_MSG (PAGE_SIZE-sizeof(struct msg_msg)) |
#define | DATALEN_SEG (PAGE_SIZE-sizeof(struct msg_msgseg)) |
Functions | |
DEFINE_SPINLOCK (mq_lock) | |
struct msg_msg * | load_msg (const void __user *src, int len) |
int | store_msg (void __user *dest, struct msg_msg *msg, int len) |
void | free_msg (struct msg_msg *msg) |
Variables | |
struct ipc_namespace | init_ipc_ns |
atomic_t | nr_ipc_ns = ATOMIC_INIT(1) |
DEFINE_SPINLOCK | ( | mq_lock | ) |
struct ipc_namespace init_ipc_ns |
atomic_t nr_ipc_ns = ATOMIC_INIT(1) |