Lines Matching refs:syscall
6 news is that, in general, it's easy to write the missing syscall or
18 What are syscall/ioctl wrappers? What do they do?
30 1. Tell a tool what's about to happen, before the syscall takes place. A
35 2. Tell a tool what just happened, after a syscall takes place. This is
45 The syscall wrapper for time()
66 The first thing we do happens before the syscall occurs, in the PRE() function.
69 Next, the tool is told the return type of the syscall, that the syscall has
70 one argument, the type of the syscall argument and that the argument is being
82 Finally, the really important bit, after the syscall occurs, in the POST()
90 The POST() function won't be called if the syscall failed, so you
94 time if interrupted. TODO: add another per-syscall flag for this
103 Writing your own syscall wrappers (see below for ioctl wrappers)
116 2. Do 'man 2 mysyscallname' to get some idea of what the syscall
121 NOTE: any syscall which has something to do with signals or
129 the syscall, do one of
135 for that parameter. Then do the syscall. Then, if the syscall
149 for ideas. A good tip is to look for the wrapper for a syscall
153 If you need structure definitions and/or constants for your syscall,
164 sanity check failure" for the syscall wrapper you just made, if this
176 Is pretty much the same as writing syscall wrappers, except that all