create a set_rand_bitmask function and use instead of open-coding.
[trinity.git] / syscalls / readv.c
blobf91422216ed5579dd320172f7e822c299a70185e
1 /*
2 * SYSCALL_DEFINE3(readv, unsigned long, fd, const struct iovec __user *, vec, unsigned long>
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_readv = {
7 .name = "readv",
8 .num_args = 3,
9 .arg1name = "fd",
10 .arg1type = ARG_FD,
11 .arg2name = "vec",
12 .arg2type = ARG_IOVEC,
13 .arg3name = "vlen",
14 .arg3type = ARG_IOVECLEN,
15 .flags = NEED_ALARM,