move_pages: just use calloc
[trinity.git] / syscalls / shmat.c
blob8048baf35291df1e354ea380844673991f60ec55
1 /*
2 * SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_shmat = {
7 .name = "shmat",
8 .num_args = 3,
9 .arg1name = "shmid",
10 .arg2name = "shmaddr",
11 .arg2type = ARG_ADDRESS,
12 .arg3name = "shmflg",