Denys Vlasenko
|
54916641be
main: fix the case where user has "halt" as login shell. Closes 9986
|
7 years ago |
Denys Vlasenko
|
442d522f0b
fixes for bugs found by make_single_applets.sh
|
7 years ago |
Kaarle Ritvanen
|
835ad3a984
libbb: GETOPT_RESET macro
|
7 years ago |
Denys Vlasenko
|
9967c9949e
libbb: spawn_and_wait() fflushes before forking NOEXEC; child reinits logmode
|
8 years ago |
Denys Vlasenko
|
0fb0045aa9
config: disentangle PREFER_APPLETS from SH_STANDALONE and SH_NOFORK
|
8 years ago |
Ron Yorston
|
610c4c385b
applet_tables: save space by removing applet name offsets
|
8 years ago |
Denys Vlasenko
|
550bf5b4a4
remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds
|
9 years ago |
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 |