Internals of a Linux system call

后端 未结 4 1764
执笔经年
执笔经年 2021-01-30 01:39

What happens (in detail) when a thread makes a system call by raising interrupt 80? What work does Linux do to the thread\'s stack and other state? What changes are done to the

4条回答
  •  鱼传尺愫
    2021-01-30 02:33

    This should help people who seek for answers to what happens when the syscall instruction is executed which transfers the control to the kernel (user mode to kernel mode). This is based upon x86_64 architecture.

    https://0xax.gitbooks.io/linux-insides/content/SysCall/syscall-2.html

提交回复
热议问题