merge listxattr variants
[trinity.git] / syscalls / listxattr.c
blob0ffadc2044c1bd906d99cc299bd403e7bbbae55b
1 /*
2 * SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, size_t, size
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_listxattr = {
7 .name = "listxattr",
8 .num_args = 3,
9 .arg1name = "pathname",
10 .arg1type = ARG_PATHNAME,
11 .arg2name = "list",
12 .arg2type = ARG_ADDRESS,
13 .arg3name = "size",
14 .arg3type = ARG_LEN,
15 .group = GROUP_VFS,
20 * SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, size_t, size)
22 struct syscallentry syscall_llistxattr = {
23 .name = "llistxattr",
24 .arg1name = "pathname",
25 .arg1type = ARG_PATHNAME,
26 .arg2name = "list",
27 .arg2type = ARG_ADDRESS,
28 .arg3name = "size",
29 .arg3type = ARG_LEN,
30 .num_args = 3,
31 .group = GROUP_VFS,