var scope reduction
[trinity.git] / syscalls / mq_getsetattr.c
blob871ad4be0b38bdb421a322d803f104ce37dbb1ce
1 /*
2 * SYSCALL_DEFINE3(mq_getsetattr, mqd_t, mqdes,
3 const struct mq_attr __user *, u_mqstat,
4 struct mq_attr __user *, u_omqstat)
5 */
6 #include "sanitise.h"
8 struct syscallentry syscall_mq_getsetattr = {
9 .name = "mq_getsetattr",
10 .num_args = 3,
11 .arg1name = "mqdes",
12 .arg1type = ARG_FD,
13 .arg2name = "u_mqstat",
14 .arg2type = ARG_ADDRESS,
15 .arg3name = "u_omqstat",
16 .arg3type = ARG_ADDRESS,
17 .flags = NEED_ALARM,