remove [64] cleanup TODO
[trinity.git] / syscalls / msgrcv.c
blob44f11d57466965a44a2ec924f385949f500524d9
1 /*
2 * SYSCALL_DEFINE5(msgrcv, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, long, msgtyp, int, msgflg)
3 */
4 #include <sys/types.h>
5 #include <linux/msg.h>
6 #include "compat.h"
7 #include "sanitise.h"
9 struct syscallentry syscall_msgrcv = {
10 .name = "msgrcv",
11 .num_args = 5,
12 .arg1name = "msqid",
13 .arg2name = "msgp",
14 .arg2type = ARG_ADDRESS,
15 .arg3name = "msgsz",
16 .arg3type = ARG_LEN,
17 .arg4name = "msgtyp",
18 .arg5name = "msgflg",
19 .arg5type = ARG_LIST,
20 .arg5list = {
21 .num = 4,
22 .values = { MSG_NOERROR, MSG_EXCEPT, MSG_COPY, IPC_NOWAIT },