Skip to contentSkip to conversation

Why __syscallN macros are removed?

DISCUSSION Dong Feng 2 participants 3 messages Feb 23, 2007

lore
Share & tools
lore

Dong Feng

author
#0 lore raw

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.

#1 lore raw
Quoted 4 lines · Dong Feng

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.

You can use glibc's syscall(2) instead of macros.

- Davide

author
#2 lore raw

Thank you very much.

2007/2/23, Davide Libenzi <[email protected]>:

Quoted 15 lines · Dong Feng
Quoted 5 lines

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.

You can use glibc's syscall(2) instead of macros.

- Davide