Peter Korsgaard
|
743edac6c8
bb_daemonize_or_rexec(): add flag to double-fork; use it in start-stop-daemon
|
13 years ago |
Denys Vlasenko
|
c5d0f15dbd
libbb: spawn should remove child which failed to exec
|
14 years ago |
Denys Vlasenko
|
6307357eff
move nofork_save_area from libbb.h to vfork_daemon_rexec.c
|
14 years ago |
Denys Vlasenko
|
c71b469f5d
libbb: make BB_EXECVP/LP try to exec real binary if there's no /proc/self/exe
|
14 years ago |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 years ago |
Pascal Bellard
|
926031b764
*: introduce and use xfork() and xvfork()
|
14 years ago |
Pascal Bellard
|
21e8e8da64
libbb: introduce and use BB_EXECVP_or_die()
|
14 years ago |
Denys Vlasenko
|
41ddd9f606
*: make exec failure message more consistent
|
14 years ago |
Denys Vlasenko
|
8531d76a15
*: code shrink and better "died from signal" reporting from wait4pid
|
14 years ago |
Denys Vlasenko
|
8131eea3dc
*: introduce and use ffulsh_all()
|
15 years ago |
Denys Vlasenko
|
4db34d6e27
libbb: revert the change where spawn reports exec failure
|
15 years ago |
Denys Vlasenko
|
3f11f35124
libbb: make spawn() print "can't execute '%s'" on execv error
|
15 years ago |
Denys Vlasenko
|
606291beab
*: more portability fixes by Dan Fandrich
|
15 years ago |
Denys Vlasenko
|
8f24f9812d
stop using non-standard macro, use WEXITSTATUS instead
|
15 years ago |
Denis Vlasenko
|
83518d18a3
Compatibility fixes:
|
16 years ago |
Denis Vlasenko
|
3854c5ddf4
runsvdir: alternative methon of supporting runsvdir-as-init. +66 bytes.
|
16 years ago |
Denis Vlasenko
|
d1660cb9ad
ash: fix a bug in standalone mode (corrupted getopt() state)
|
16 years ago |
Denis Vlasenko
|
d48e81f0cd
mdev: do not follow symlinks in /sys (as was intended prior to rev 18811).
|
16 years ago |
Denis Vlasenko
|
82604e9730
revert last two commits. vfork cannot be used in subroutine,
|
16 years ago |
Denis Vlasenko
|
58d60c3333
*: introduce and use xfork()
|
16 years ago |
Denis Vlasenko
|
3da5572bfa
*: introduce and use xvfork()
|
16 years ago |
Denis Vlasenko
|
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
|
16 years ago |
Bernhard Reutner-Fischer
|
636a1f85e8
- use EXIT_{SUCCESS,FAILURE}. No object-code changes
|
16 years ago |
Denis Vlasenko
|
867bd37c7f
fix english in comment
|
16 years ago |
Denis Vlasenko
|
7465dbcf2a
ash: speed up NOFORK code in ash by eliminating second find_applet().
|
16 years ago |
Denis Vlasenko
|
cb448fe01b
libbb: introduce and use xrename and rename_or_warn.
|
17 years ago |
Denis Vlasenko
|
9772816570
*: move getopt reset code to better place(s)
|
17 years ago |
Denis Vlasenko
|
c4e4be9414
tentatively fix getopt state corruption for NOFORK applets
|
17 years ago |
Denis Vlasenko
|
fb0eba706c
libbb: introduce and use safe_waitpid (loops in EINTR)
|
17 years ago |
Denis Vlasenko
|
745cd17926
Further optimize applet tables; prettify build output
|
17 years ago |