Intercepting system calls

From: Oleg Kutkov
Date: Thu Feb 04 2010 - 14:00:23 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/