[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Reg flow of system call
Hi,
"open" is a system call, hence in Linux a software interrupt (0x80) is
triggured and the value of the system call number (check it in asm/unistd.h)
and its parameters are passed in registers. The code for handling this part
is in entry.S in arch/i386/kernel.h file. Here the syscall no is checked and
then "sys_open" is called.
Regards,
Chandramouli.
-----Original Message-----
From: owner-kernelnewbies@nl.linux.org
[mailto:owner-kernelnewbies@nl.linux.org]On Behalf Of SATHISH.J
Sent: Saturday, 25 August 2001 5:57 PM
To: kernelnewbies@nl.linux.org
Subject: Reg flow of system call
Hi,
Someone please help me telling the path from open()(wrapper routine) to
sys_open() in open.c. Please explain me the flow of open syscall from
open() to sys_open().
Thanks in advance,
Warm regs,
sathish
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/