On 11/18/05, Rajaram Surya <rajaram_irtt3@xxxxxxxxxxx> wrote: > Hi, > > Do every system call have a wrapper, which runs in user space and copies > the system call number in the register and then switches the CPU mode to > kernel mode ? Please explain. Yes. The wrapper copies the system call number and agruments in the registers and then executes int 0x80 > Also when is the kernel stack for a process created ? Is it when the > process is created or when the process comes to the kernel mode on > invoking a system call ? space allocated when process created. infact 4KB is shared between process control block and the stack -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/