merge newfstat variants
[trinity.git] / syscalls / fgetxattr.c
blob95dfe47a819d76bb5fa877097904b0226d4cc336
1 /*
2 * SYSCALL_DEFINE4(fgetxattr, int, fd, const char __user *, name,
3 void __user *, value, size_t, size)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_fgetxattr = {
8 .name = "fgetxattr",
9 .num_args = 4,
10 .arg1name = "fd",
11 .arg1type = ARG_FD,
12 .arg2name = "name",
13 .arg2type = ARG_ADDRESS,
14 .arg3name = "value",
15 .arg3type = ARG_ADDRESS,
16 .arg4name = "size",
17 .arg4type = ARG_LEN,
18 .rettype = RET_ZERO_SUCCESS,
19 .flags = NEED_ALARM,
20 .group = GROUP_VFS,