无法在linux中找到syscall_table_32.S文件

无法在linux中找到syscall_table_32.S文件,第1张

概述我在虚拟机上使用 linux-headers-2.6.32-21包.我打算写一个新的系统调用.我找到了其他文件来编写系统调用的首字母,但我无法在arch / x86 / kernel /目录中找到这个syscall_table_32.S.请帮我看看这个文件的方式和位置.我怀疑它可能因许可问题或其他原因而被隐藏. 以下提交将其删除: commit 303395ac3bf3e2cb488435537d 我在虚拟机上使用 linux-headers-2.6.32-21包.我打算写一个新的系统调用.我找到了其他文件来编写系统调用的首字母,但我无法在arch / x86 / kernel /目录中找到这个syscall_table_32.S.请帮我看看这个文件的方式和位置.我怀疑它可能因许可问题或其他原因而被隐藏.解决方法 以下提交将其删除:

commit 303395ac3bf3e2cb488435537d416bc840438fcbAuthor: H. Peter Anvin <[email protected]>Date:   Fri Nov 11 16:07:41 2011 -0800    x86: Generate system call tables and unistd_*.h from tables    Generate system call tables and unistd_*.h automatically from the    tables in arch/x86/syscalls.  All other information,like NR_syscalls,is auto-generated,some of which is in asm-offsets_*.c.    This allows us to keep all the system call information in one place,and allows for kernel space and user space to see different    information; this is currently used for the ia32 system call numbers    when building the 64-bit kernel,but will be used by the x32 ABI in    the near future.    This also removes some gratuitIoUs differences between i386,x86-64    and ia32; in particular,Now all system call tables are generated with    the same mechanism.

因为现在syscall表是由脚本arch / x86 / syscalls / syscalltbl.sh生成的,基于arch / x86 / syscalls / syscall_ {32,64} .tbl.

总结

以上是内存溢出为你收集整理的无法在linux中找到syscall_table_32.S文件全部内容,希望文章能够帮你解决无法在linux中找到syscall_table_32.S文件所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1017839.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存