Denys Vlasenko
|
22542eca18
getopt32: remove opt_complementary
|
7 jaren geleden |
Denys Vlasenko
|
036585a911
getopt32: remove applet_long_options
|
7 jaren geleden |
Denys Vlasenko
|
ddd1ee4443
libbb: simplify NOFORK/NOEXEC defines, move set_task_comm to libbb
|
7 jaren geleden |
Denys Vlasenko
|
8858a9864e
libbb: rearrange NOFORK/NOEXEC code, logic is not changed
|
7 jaren geleden |
Denys Vlasenko
|
80e8e3cc05
noexec: consolidate code
|
7 jaren geleden |
Denys Vlasenko
|
c9c1ccc4ed
noexec: do GETOPT_RESET() before entering APPLET_main()
|
7 jaren geleden |
Denys Vlasenko
|
f2cf1cc716
noexec: set comm field for noexecs
|
7 jaren geleden |
Denys Vlasenko
|
248a67fb75
free,stat: make NOEXEC
|
7 jaren geleden |
Denys Vlasenko
|
b182e9ad60
libbb: use _exit, not exit, in bb_daemonize_or_rexec()
|
7 jaren geleden |
Denys Vlasenko
|
19c9f31af1
nofork: fix a bug uncovered by hush testsuite (forgotten fflush)
|
7 jaren geleden |
Denys Vlasenko
|
39194f0309
new NOFORKs: pwdx,kill[all5],ttysize,realpath,readlink NOEXECs: date,resize
|
7 jaren geleden |
Denys Vlasenko
|
69a5ec9dcc
main: fix the case where user has "halt" as login shell. Closes 9986
|
7 jaren geleden |
Denys Vlasenko
|
d4e4fdb5ce
fixes for bugs found by make_single_applets.sh
|
7 jaren geleden |
Kaarle Ritvanen
|
835ad3a984
libbb: GETOPT_RESET macro
|
7 jaren geleden |
Denys Vlasenko
|
9967c9949e
libbb: spawn_and_wait() fflushes before forking NOEXEC; child reinits logmode
|
7 jaren geleden |
Denys Vlasenko
|
0fb0045aa9
config: disentangle PREFER_APPLETS from SH_STANDALONE and SH_NOFORK
|
8 jaren geleden |
Ron Yorston
|
610c4c385b
applet_tables: save space by removing applet name offsets
|
8 jaren geleden |
Denys Vlasenko
|
550bf5b4a4
remove global "jmp_buf die_jmp" from !FEATURE_PREFER_APPLETS builds
|
9 jaren geleden |
Peter Korsgaard
|
743edac6c8
bb_daemonize_or_rexec(): add flag to double-fork; use it in start-stop-daemon
|
13 jaren geleden |
Denys Vlasenko
|
c5d0f15dbd
libbb: spawn should remove child which failed to exec
|
14 jaren geleden |
Denys Vlasenko
|
6307357eff
move nofork_save_area from libbb.h to vfork_daemon_rexec.c
|
14 jaren geleden |
Denys Vlasenko
|
c71b469f5d
libbb: make BB_EXECVP/LP try to exec real binary if there's no /proc/self/exe
|
14 jaren geleden |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 jaren geleden |
Pascal Bellard
|
926031b764
*: introduce and use xfork() and xvfork()
|
14 jaren geleden |
Pascal Bellard
|
21e8e8da64
libbb: introduce and use BB_EXECVP_or_die()
|
14 jaren geleden |
Denys Vlasenko
|
41ddd9f606
*: make exec failure message more consistent
|
14 jaren geleden |
Denys Vlasenko
|
8531d76a15
*: code shrink and better "died from signal" reporting from wait4pid
|
14 jaren geleden |
Denys Vlasenko
|
8131eea3dc
*: introduce and use ffulsh_all()
|
15 jaren geleden |
Denys Vlasenko
|
4db34d6e27
libbb: revert the change where spawn reports exec failure
|
15 jaren geleden |
Denys Vlasenko
|
3f11f35124
libbb: make spawn() print "can't execute '%s'" on execv error
|
15 jaren geleden |