#include <linux/capability.h>
#include <linux/msg.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/proc_fs.h>
#include <linux/list.h>
#include <linux/security.h>
#include <linux/sched.h>
#include <linux/syscalls.h>
#include <linux/audit.h>
#include <linux/seq_file.h>
#include <linux/rwsem.h>
#include <linux/nsproxy.h>
#include <linux/ipc_namespace.h>
#include <asm/current.h>
#include <asm/uaccess.h>
#include "util.h"
Go to the source code of this file.
|
void | recompute_msgmni (struct ipc_namespace *ns) |
|
void | msg_init_ns (struct ipc_namespace *ns) |
|
void __init | msg_init (void) |
|
| SYSCALL_DEFINE2 (msgget, key_t, key, int, msgflg) |
|
| SYSCALL_DEFINE3 (msgctl, int, msqid, int, cmd, struct msqid_ds __user *, buf) |
|
long | do_msgsnd (int msqid, long mtype, void __user *mtext, size_t msgsz, int msgflg) |
|
| SYSCALL_DEFINE4 (msgsnd, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, int, msgflg) |
|
long | do_msgrcv (int msqid, long *pmtype, void __user *mtext, size_t msgsz, long msgtyp, int msgflg) |
|
| SYSCALL_DEFINE5 (msgrcv, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, long, msgtyp, int, msgflg) |
|
Definition at line 70 of file msg.c.
#define msg_unlock |
( |
|
msq | ) |
ipc_unlock(&(msq)->q_perm) |
Definition at line 72 of file msg.c.
Definition at line 65 of file msg.c.
Definition at line 66 of file msg.c.
#define SEARCH_LESSEQUAL 4 |
Definition at line 68 of file msg.c.
#define SEARCH_NOTEQUAL 3 |
Definition at line 67 of file msg.c.
Definition at line 86 of file msg.c.
SYSCALL_DEFINE2 |
( |
msgget |
, |
|
|
key_t |
, |
|
|
key |
, |
|
|
int |
, |
|
|
msgflg |
|
|
) |
| |
SYSCALL_DEFINE5 |
( |
msgrcv |
, |
|
|
int |
, |
|
|
msqid |
, |
|
|
struct msgbuf __user * |
, |
|
|
msgp |
, |
|
|
size_t |
, |
|
|
msgsz |
, |
|
|
long |
, |
|
|
msgtyp |
, |
|
|
int |
, |
|
|
msgflg |
|
|
) |
| |