summaryrefslogtreecommitdiff
path: root/include/mapping.h
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2007-12-10 06:01:29 +0200
committerLauri Leukkunen <lle@rahina.org>2007-12-10 06:01:29 +0200
commit4ee4e9f76b624ee3250f4924ce7575a3d9ce453a (patch)
treeed72f8a3e5b90cfcf2169125728208cd5a502133 /include/mapping.h
parenta0f578e0faa723f01a663fce09f0f74dbf09e3ec (diff)
Generic execve() mangling
sb_gcc_wrapper functionality is now implemented directly in libsb2.so as a lua script directly managing the execve(file, argv, envp) call. Same functionality can be used to do other things as well, see for the dpkg-architecture example in lua_scripts/argvenvp.lua Signed-off-by: Lauri Leukkunen <lle@rahina.org>
Diffstat (limited to 'include/mapping.h')
-rw-r--r--include/mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mapping.h b/include/mapping.h
index 73c5ad0..28ce5d6 100644
--- a/include/mapping.h
+++ b/include/mapping.h
@@ -22,7 +22,7 @@ enum lua_engine_states {
char *scratchbox_path(const char *func_name, const char *path);
char *scratchbox_path2(const char *binary_name, const char *func_name,
const char *path);
-int sb_argvenvp(const char *binary_name, char ***argv, char ***envp);
+int sb_execve_mod(char **file, char ***argv, char ***envp);
char *emumode_map(const char *path);
#endif