Re: definition of sys_access function

From: Rob Landley
Date: Thu May 30 2013 - 00:59:53 EST


On 05/29/2013 03:12:57 AM, johnspaul92 wrote:
Where can i find the definition of the sys_access function???
I tried checking in syscalls.h. But there i found only the declaration.
Where can i find the definition so that i can understand what that function
actually does.

$ find linux -name "*.c" | xargs grep SYSCALL | grep '(access'
linux/fs/open.c:SYSCALL_DEFINE2(access, const char __user *, filename, int, mode)

Rob--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/