• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2This module handles the complex business of handing system calls off
3to the host and then fixing up the guest state accordingly.  It
4interacts complicatedly with signals and to a less extent threads.
5
6There are some important caveats regarding how to write the PRE and
7POST wrappers for syscalls.  It is important to observe these, else
8you will have to track down almost impossibly obscure bugs.  These
9caveats are described in comments at the top of syswrap-main.c.
10
11The main file is syswrap-main.c.  It contains all the driver logic
12and a great deal of commentary.  The wrappers themselves live in
13syswrap-generic.c, syswrap-${OS}.c and syswrap-${PLATFORM}.c.
14
15