summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/mach-sandbox/include/mach/linux.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-12-03 06:47:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-07 10:35:01 +0100
commit1e06aef681a078dbc51ec36a602c9be9735b8ab9 (patch)
tree6ddf4c6bd2fe3cd585807c985f625ed2b3c11fb5 /arch/sandbox/mach-sandbox/include/mach/linux.h
parent901aad7d73817fc7cde657b4305c4ab0005c1903 (diff)
downloadbarebox-1e06aef681a078dbc51ec36a602c9be9735b8ab9.tar.gz
barebox-1e06aef681a078dbc51ec36a602c9be9735b8ab9.tar.xz
sanbox: add linux_execve and linux_exec command
this will allow to execute a program of the host from barebox Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/mach-sandbox/include/mach/linux.h')
-rw-r--r--arch/sandbox/mach-sandbox/include/mach/linux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/mach-sandbox/include/mach/linux.h b/arch/sandbox/mach-sandbox/include/mach/linux.h
index 7c2386d247..5917fe93de 100644
--- a/arch/sandbox/mach-sandbox/include/mach/linux.h
+++ b/arch/sandbox/mach-sandbox/include/mach/linux.h
@@ -10,6 +10,8 @@ ssize_t linux_write(int fd, const void *buf, size_t count);
off_t linux_lseek(int fildes, off_t offset);
int linux_tstc(int fd);
+int linux_execve(const char * filename, char *const argv[], char *const envp[]);
+
int barebox_register_console(char *name_template, int stdinfd, int stdoutfd);
struct linux_console_data {