aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wrapper_table
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wrapper_table')
-rw-r--r--templates/wrapper_table28
1 files changed, 1 insertions, 27 deletions
diff --git a/templates/wrapper_table b/templates/wrapper_table
index dd9c249..2e79fcd 100644
--- a/templates/wrapper_table
+++ b/templates/wrapper_table
@@ -11,36 +11,10 @@ static struct {
} pseudo_functions[] = {
@body
{ /* ${comment}; */
- "${name}",
+ "${name}${maybe_inode64}",
(int (**)(void)) &real_${name},
(int (*)(void)) wrap_${name}
},
@footer
- /* special cases: Functions which need manually-coded wrappers */
- { /* int fork(void); */
- "fork",
- (int (**)(void)) &real_fork,
- (int (*)(void)) wrap_fork
- },
- { /* int clone(int (*fn)(void *), void *, int, void, ...); */
- "clone",
- (int (**)(void)) &real_clone,
- (int (*)(void)) wrap_clone
- },
- { /* int execv(const char *file, char *const *argv); */
- "execv",
- (int (**)(void)) &real_execv,
- (int (*)(void)) wrap_execv
- },
- { /* int execve(const char *file, char *const *argv, char *const *envp); */
- "execve",
- (int (**)(void)) &real_execve,
- (int (*)(void)) wrap_execve
- },
- { /* int execvp(const char *file, char *const *argv); */
- "execvp",
- (int (**)(void)) &real_execvp,
- (int (*)(void)) wrap_execvp
- },
{ NULL, NULL, NULL },
};