aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-02 19:05:25 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-02 19:05:25 +0100
commit6307357effb79c8fbc6ccc9d4528c8c1c48a4831 (patch)
tree332d6bc33b792407e2d569c6563887b615ef0392 /include
parentb72baeb00328576df415f9a4b4f3d5f202e3be11 (diff)
downloadbusybox-w32-6307357effb79c8fbc6ccc9d4528c8c1c48a4831.tar.gz
busybox-w32-6307357effb79c8fbc6ccc9d4528c8c1c48a4831.tar.bz2
busybox-w32-6307357effb79c8fbc6ccc9d4528c8c1c48a4831.zip
move nofork_save_area from libbb.h to vfork_daemon_rexec.c
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 88dceb11d..a0e23697c 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -911,19 +911,8 @@ pid_t wait_any_nohang(int *wstat) FAST_FUNC;
911int wait4pid(pid_t pid) FAST_FUNC; 911int wait4pid(pid_t pid) FAST_FUNC;
912/* Same as wait4pid(spawn(argv)), but with NOFORK/NOEXEC if configured: */ 912/* Same as wait4pid(spawn(argv)), but with NOFORK/NOEXEC if configured: */
913int spawn_and_wait(char **argv) FAST_FUNC; 913int spawn_and_wait(char **argv) FAST_FUNC;
914struct nofork_save_area {
915 jmp_buf die_jmp;
916 const char *applet_name;
917 uint32_t option_mask32;
918 int die_sleep;
919 uint8_t xfunc_error_retval;
920 smallint saved;
921};
922void save_nofork_data(struct nofork_save_area *save) FAST_FUNC;
923void restore_nofork_data(struct nofork_save_area *save) FAST_FUNC;
924/* Does NOT check that applet is NOFORK, just blindly runs it */ 914/* Does NOT check that applet is NOFORK, just blindly runs it */
925int run_nofork_applet(int applet_no, char **argv) FAST_FUNC; 915int run_nofork_applet(int applet_no, char **argv) FAST_FUNC;
926int run_nofork_applet_prime(struct nofork_save_area *old, int applet_no, char **argv) FAST_FUNC;
927 916
928/* Helpers for daemonization. 917/* Helpers for daemonization.
929 * 918 *