Skip to contentSkip to conversation

Intercepting system calls

DISCUSSION Oleg Kutkov 2 participants 3 messages Feb 4, 2010 – Feb 5, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello.
Maybe this question is often, but all post i found is too old and some things is wrong... So, i need to intercept some system calls (socket calls) and make my own handler. Is there legal, correct and clean way to do it, without hacking system call table ? Thank.

Best regards,
Oleg.

#1 lore raw
Quoted 8 lines · Oleg Kutkov

Hello.
Maybe this question is often, but all post i found is too old and some things is wrong...
So, i need to intercept some system calls (socket calls) and make my own handler.
Is there legal, correct and clean way to do it, without hacking system call table ?
Thank.

Why do you need to do this? There may be a better way than overriding syscalls.