Re: System Calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rajaram,
Please read an excellent book  "Linux Kernel Development by Robert
Love " for 2.6 kernel.
The chapters on System call and process would solve all your doubts.
The book is written in extremely simple language!

Regards,
Surbhi Chitre.

On 11/18/05, Nilesh Agrawal <nilesh.agrawal@xxxxxxxxx> wrote:
> 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/
>
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux