【问题标题】:In which file does the syscall num defined in linux 3.13?linux 3.13中定义的syscall num在哪个文件中?
【发布时间】:2014-11-18 14:50:20
【问题描述】:

我想知道 syscall num 是在哪里定义的?类型是这样的
#define __NR_exit 1
#define __NR_read 3
非常感谢您的回答。

【问题讨论】:

    标签: linux assembly system-calls


    【解决方案1】:

    您应该能够找到在unistd.h 中为适当架构定义的系统调用号,以及在syscalls.h 中带有参数信息的相应sys_ 函数。

    【讨论】:

      猜你喜欢
      • 2013-12-26
      • 2017-04-08
      • 2012-09-30
      • 2012-03-15
      • 1970-01-01
      • 2019-08-06
      • 2021-08-29
      • 1970-01-01
      • 2019-07-14
      相关资源
      最近更新 更多