64 bit version of socketcall system call Linux

自闭症网瘾萝莉.ら 提交于 2020-01-15 07:43:04

问题


In 32 bit, there is a system call called socketcall which is a common kernel entry point for the socket system calls. However, in 64 bit mode, I can't seem to find the corresponding system call. Is there a similar system call I can use that has the same functionality?


回答1:


The man page states:

On a some architectures--for example, x86-64 and ARM--there is no socketcall() system call; instead socket(2), accept(2), bind(2), and so on really are implemented as separate system calls.



来源:https://stackoverflow.com/questions/29591075/64-bit-version-of-socketcall-system-call-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!