aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wrapfuncs.h
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wrapfuncs.h')
-rw-r--r--templates/wrapfuncs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/wrapfuncs.h b/templates/wrapfuncs.h
index 8088d09..403d261 100644
--- a/templates/wrapfuncs.h
+++ b/templates/wrapfuncs.h
@@ -14,5 +14,16 @@ static ${type} (*real_${name})(${decl_args});
/* int fork(void) */
static int wrap_fork(void);
static int (*real_fork)(void);
+/* int clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...) */
static int wrap_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, ...);
static int (*real_clone)(int (*fn)(void *), void *child_stack, int flags, void *arg, ...);
+/* int execv(const char *file, char *const *argv) */
+static int wrap_execv(const char *file, char *const *argv);
+static int (*real_execv)(const char *file, char *const *argv);
+/* int execve(const char *file, char *const *argv, char *const *envp) */
+static int wrap_execve(const char *file, char *const *argv, char *const *envp);
+static int (*real_execve)(const char *file, char *const *argv, char *const *envp);
+/* int execvp(const char *file, char *const *argv) */
+static int wrap_execvp(const char *file, char *const *argv);
+static int (*real_execvp)(const char *file, char *const *argv);
+