var scope reduction
[trinity.git] / syscalls / lstat.c
blob5f734f481893fa2fdaba0c2406d62e2d39222e71
1 /*
2 * SYSCALL_DEFINE2(lstat, const char __user *, filename,
3 struct __old_kernel_stat __user *, statbuf)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_lstat = {
8 .name = "lstat",
9 .num_args = 2,
10 .arg1name = "filename",
11 .arg1type = ARG_PATHNAME,
12 .arg2name = "statbuf",
13 .arg2type = ARG_ADDRESS,
14 .group = GROUP_VFS,
19 * SYSCALL_DEFINE2(lstat64, const char __user *, filename,
20 struct stat64 __user *, statbuf)
23 struct syscallentry syscall_lstat64 = {
24 .name = "lstat64",
25 .num_args = 2,
26 .arg1name = "filename",
27 .arg1type = ARG_PATHNAME,
28 .arg2name = "statbuf",
29 .arg2type = ARG_ADDRESS,
30 .group = GROUP_VFS,