From c7ddefc0624173de6b74ee5b5b39cb2d354f5ae6 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 14 Jun 2006 01:24:33 +0000 Subject: Attempt at fixing bug 815 by upgrading bb_spawn() so that builtins are at the start of the path. (This should be under the same config option as the standalone shell, but right now that's buried in the shell menu.) Also add the ability to specify CONFIG_BUSYBOX_EXEC_PATH with /proc/self/exe as an overrideable default. --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index b93b7a618..5877a4a83 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -171,6 +171,7 @@ extern void xstat(const char *filename, struct stat *buf); extern int bb_xsocket(int domain, int type, int protocol); extern pid_t bb_spawn(char **argv); extern pid_t bb_xspawn(char **argv); +extern int wait4pid(int pid); extern void bb_xdaemon(int nochdir, int noclose); extern void bb_xbind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen); extern void bb_xlisten(int s, int backlog); -- cgit v1.2.3