move_pages: just use calloc
[trinity.git] / syscalls / lsetxattr.c
blob5415ad4d0b294ec4335751107fa250dbc2723f63
1 /*
2 * SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname,
3 const char __user *, name, const void __user *, value,
4 size_t, size, int, flags)
5 */
7 #include <linux/xattr.h>
8 #include "sanitise.h"
10 struct syscallentry syscall_lsetxattr = {
11 .name = "lsetxattr",
12 .num_args = 5,
13 .arg1name = "pathname",
14 .arg1type = ARG_PATHNAME,
15 .arg2name = "name",
16 .arg2type = ARG_ADDRESS,
17 .arg3name = "value",
18 .arg3type = ARG_ADDRESS,
19 .arg4name = "size",
20 .arg4type = ARG_LEN,
21 .arg5name = "flags",
22 .arg5type = ARG_LIST,
23 .arg5list = {
24 .num = 2,
25 .values = { XATTR_CREATE, XATTR_REPLACE },
27 .group = GROUP_VFS,