linux 源码阅读
文章平均质量分 94
yaoxinJJJ
这个作者很懒,什么都没留下…
展开
-
Linux内核源码解析 | system call part 2
Linux内核源码解析 | system call part 2摘要回顾: 应用程序如何调用 system call初始化 system calls table2. 回顾应用程序必须首先将 对应的 system call 在 系统调用表中对应的编号 存入rax寄存器,然后以正确的顺序 将正确的system call参数值填充通用寄存器 rdi ,rsi,rdx ,rcx ,r8 中,并使用syscall指令进行实际的系统调用由syscall指令,系统 将跳入 存储在 MSR_LSTAR原创 2021-04-29 03:26:33 · 761 阅读 · 0 评论 -
Linux内核源码解析 | system call part 1
system call part 11. 摘要system call 章节主要内容简介System call. What is it?Implementation ofwrite system call2. system call` 章节主要内容简介在本章节,我们将看到与系统调用相关的许多不同方面的概念。例如:what’s happening when a system call occurs from userspaceLinux内核中几个系统调用处理程序的实现VDSO 和 vs原创 2021-04-28 05:10:56 · 913 阅读 · 0 评论