On the Kernel-Side
●
http://lxr.free-electrons.com/source/fs/open.c#L1023
SYSCALL_DEFINE3(open,
const char __user *, filename, int, flags, umode_t, mode)
{
if (force_o_largefile())
flags |= O_LARGEFILE;
return do_sys_open(AT_FDCWD, filename, flags, mode);
}