Why __syscallN macros are removed?
The __syscallN series macros have disappeared in include/asm-i386/unistd.h. Why? I occasionally what to add and use some new system calls, mainly for debug use. Now I can not access the system call I added from user space.
Quoted 4 lines · Dong Feng
The
__syscallNseries macros have disappeared ininclude/asm-i386/unistd.h. Why? I occasionally what to add and use some new system calls, mainly for debug use. Now I can not access the system call I added from user space.
You can use glibc's syscall(2) instead of macros.
- Davide
Thank you very much.
2007/2/23, Davide Libenzi <[email protected]>:
Quoted 15 lines · Dong Feng
Quoted 5 lines
The
__syscallNseries macros have disappeared ininclude/asm-i386/unistd.h. Why? I occasionally what to add and use some new system calls, mainly for debug use. Now I can not access the system call I added from user space.You can use glibc's syscall(2) instead of macros.
- Davide