remove [64] cleanup TODO
[trinity.git] / syscalls / sendmmsg.c
blob371d90938065e088d2afa2ed241ff4c792c927c1
1 /*
2 * SYSCALL_DEFINE4(sendmmsg, int, fd, struct mmsghdr __user *, mmsg,
3 * unsigned int, vlen, unsigned int, flags)
4 */
5 #include <sys/socket.h>
6 #include "compat.h"
7 #include "sanitise.h"
9 struct syscallentry syscall_sendmmsg = {
10 .name = "sendmmsg",
11 .num_args = 4,
12 .arg1name = "fd",
13 .arg1type = ARG_FD,
14 .arg2name = "mmsg",
15 .arg2type = ARG_ADDRESS,
16 .arg3name = "vlen",
17 .arg3type = ARG_LEN,
18 .arg4name = "flags",
19 .arg4type = ARG_LIST,
20 .arg4list = {
21 .num = 20,
22 .values = { MSG_OOB, MSG_PEEK, MSG_DONTROUTE, MSG_CTRUNC,
23 MSG_PROBE, MSG_TRUNC, MSG_DONTWAIT, MSG_EOR,
24 MSG_WAITALL, MSG_FIN, MSG_SYN, MSG_CONFIRM,
25 MSG_RST, MSG_ERRQUEUE, MSG_NOSIGNAL, MSG_MORE,
26 MSG_WAITFORONE, MSG_CMSG_CLOEXEC, MSG_FASTOPEN, MSG_CMSG_COMPAT },
28 .flags = NEED_ALARM,