HowTo: Translating a New System Call

Systrace does not provide translations for all system calls. But it has been designed to make adding new translations very easy. Many people have noticed that they no longer see the IP address that nslookup connects to for DNS queries after updating to a newer version of Bind. The reason is that Systrace did not provide a translation for sendmsg.

Here is what you have to do add the necessary translation.

  1. Provide a translator for sendmsg by adding the following code to the end of intercept-translate.c:

Continue reading “HowTo: Translating a New System Call”

Last updated on Apr 10, 2006 01:36 UTC
The views expressed on these pages are my own and do not represent the views of anyone else.
Built with Hugo - Theme Stack designed by Jimmy