add new renameat2 syscall
[trinity.git] / syscalls / statfs.c
blob9c1fe7fbf853699f21f299bcd12c7a6977a7e64e
1 /*
2 * SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_statfs = {
7 .name = "statfs",
8 .num_args = 2,
9 .arg1name = "pathname",
10 .arg1type = ARG_PATHNAME,
11 .arg2name = "buf",
12 .arg2type = ARG_ADDRESS,
16 * SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf)
19 struct syscallentry syscall_statfs64 = {
20 .name = "statfs64",
21 .num_args = 2,
22 .arg1name = "pathname",
23 .arg1type = ARG_PATHNAME,
24 .arg2name = "sz",
25 .arg3name = "buf",
26 .arg3type = ARG_ADDRESS,