Go to the documentation of this file.
14 #include <linux/slab.h>
15 #include <linux/ipc.h>
16 #include <linux/msg.h>
18 #include <linux/utsname.h>
19 #include <asm/uaccess.h>
42 #define DATALEN_MSG (PAGE_SIZE-sizeof(struct msg_msg))
43 #define DATALEN_SEG (PAGE_SIZE-sizeof(struct msg_msgseg))
69 src = ((
char __user *)src) + alen;
76 seg =
kmalloc(
sizeof(*seg) + alen,
90 src = ((
char __user *)src) + alen;
116 dest = ((
char __user *)dest) + alen;
125 dest = ((
char __user *)dest) + alen;
139 while (seg !=
NULL) {