Userspace open() calls into glibc code
glibc does architecture dependant magic to make a syscall
The kernel syscall code does architecture dependant magic
The kernel calls sys_open
In the x86 case the magic is basically
Load arguments into the right registers
int 0x80
then the kernel code in arch/i386/kernel/entry.S
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/