摘要: 前言: “什么是系统调用?” 如果你曾经写过 DOS 汇编程序(大多数 IA-32 汇编程序员都写过),你可能还记得 DOS 服务 int 0x21、 int 0x25、 int 0x26 等。这些类似于 UNIX 系统调用。然而,实际的实现是完全不同的,系统调用不一定是通过某种中断来完成的。此外, 阅读全文
posted @ 2023-03-11 14:50 jinzi 阅读(1044) 评论(0) 推荐(0)
摘要: 所有系统调用及其编号(在调用int 80h之前放入EAX的值)都列在 [root@ht6 asinstruction]# cat /usr/include/asm-generic/unistd.h 中 [root@ht6 asinstruction]# cat /usr/include/asm-ge 阅读全文
posted @ 2023-03-11 12:28 jinzi 阅读(3) 评论(0) 推荐(0)