aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-24 12:11:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-24 12:11:17 +0000
commit9067f13be067f39f6c8586926b190b7dee0def3d (patch)
treeff0a10f5f81fa0e1e719691c147309a9cc9bef46 /include
parent1b6fa4c57ced2ae89f51bdc073410c4be5384007 (diff)
downloadbusybox-w32-9067f13be067f39f6c8586926b190b7dee0def3d.tar.gz
busybox-w32-9067f13be067f39f6c8586926b190b7dee0def3d.tar.bz2
busybox-w32-9067f13be067f39f6c8586926b190b7dee0def3d.zip
NOMMU re-exec trick shuld not depend on existence of "don't daemonize"
option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 659bfcaa7..0cfc22018 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -616,9 +616,7 @@ extern int index_in_substr_array(const char * const string_array[], const char *
616extern void print_login_issue(const char *issue_file, const char *tty); 616extern void print_login_issue(const char *issue_file, const char *tty);
617extern void print_login_prompt(void); 617extern void print_login_prompt(void);
618#ifdef BB_NOMMU 618#ifdef BB_NOMMU
619extern void vfork_daemon(int nochdir, int noclose); 619extern void vfork_daemon_rexec(int nochdir, int noclose, char **argv);
620extern void vfork_daemon_rexec(int nochdir, int noclose,
621 int argc, char **argv, char *foreground_opt);
622#endif 620#endif
623extern int get_terminal_width_height(const int fd, int *width, int *height); 621extern int get_terminal_width_height(const int fd, int *width, int *height);
624 622
@@ -763,6 +761,7 @@ enum { /* DO NOT CHANGE THESE VALUES! cp.c, mv.c, install.c depend on them. */
763}; 761};
764 762
765#define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c") 763#define FILEUTILS_CP_OPTSTR "pdRfils" USE_SELINUX("c")
764extern smallint re_execed;
766extern const char *applet_name; 765extern const char *applet_name;
767extern const char BB_BANNER[]; 766extern const char BB_BANNER[];
768 767