Skip to contentSkip to conversation

syscall definitions

DISCUSSION Timo Benk 1 participant 1 message Jul 2, 2002

lore
Share & tools
lore

Timo Benk

author
#0 lore raw

Hi,

Do you know any good reference of the linux syscalls, including there method bodies?

I wondered also if the syscalls are somewhere predefined, so that i don't need to use the sys_call_table. Also i am not sure if i use them the "right" way:

---<snip>---
int (*do_munmap2)(void *start, size_t length);

void initialize_syscalls()

{                                                                               
        do_munmap2 = sys_call_table[__NR_munmap];                               
}                                                                               

---<snap>---

Do i need such a initialize() function to initialize all the syscalls i intend to use?

Thanks in advance,
-timo

Signature · 1 line
gpg key fingerprint = 6832 C8EC D823 4059 0CD1  6FBF 9383 7DBD 109E 98DC