2 * SYSCALL_DEFINE2(access, const char __user *, filename, int, mode)
4 * On success (all requested permissions granted), zero is returned.
5 * On error (at least one bit in mode asked for a permission that is denied,
6 * or some other error occurred), -1 is returned, and errno is set appropriately.
10 struct syscallentry syscall_access
= {
13 .arg1name
= "filename",
14 .arg1type
= ARG_PATHNAME
,
16 .arg2type
= ARG_MODE_T
,