move_pages: just use calloc
[trinity.git] / syscalls / oldreaddir.c
blob4c9ee857e814fd356415a728659916025f71f44f
1 /*
2 * SYSCALL_DEFINE3(old_readdir, unsigned int, fd,
3 struct old_linux_dirent __user *, dirent, unsigned int, count)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_oldreaddir = {
8 .name = "old_readdir",
9 .num_args = 3,
10 .arg1name = "fd",
11 .arg1type = ARG_FD,
12 .arg2name = "dirent",
13 .arg2type = ARG_ADDRESS,
14 .arg3name = "count",
15 .arg3type = ARG_LEN,