Denys Vlasenko
|
a26711a2d1
libbb: consolidate NOMMU fix of restoring high bit in argv[0][0]
|
1 year ago |
Denys Vlasenko
|
db5546ca10
libbb: code shrink: introduce and use [_]exit_SUCCESS()
|
2 years ago |
Denys Vlasenko
|
5acf5e1f87
shell: fix script's comm field if ENABLE_FEATURE_PREFER_APPLETS=y
|
3 years ago |
Denys Vlasenko
|
6bdfbc4cb5
libbb: fix '--help' handling in FEATURE_SH_NOFORK=y
|
3 years ago |
Denys Vlasenko
|
fa8878bf1f
start-stop-daemon: do try to close fds > 2
|
5 years ago |
Denys Vlasenko
|
088fec36fe
start-stop-daemon: create pidfile before parent exits, closes 8596
|
5 years ago |
Sean MacLennan
|
d9aabfe578
make busybox more portable
|
6 years ago |
Denys Vlasenko
|
22542eca18
getopt32: remove opt_complementary
|
7 years ago |
Denys Vlasenko
|
036585a911
getopt32: remove applet_long_options
|
7 years ago |
Denys Vlasenko
|
ddd1ee4443
libbb: simplify NOFORK/NOEXEC defines, move set_task_comm to libbb
|
7 years ago |
Denys Vlasenko
|
8858a9864e
libbb: rearrange NOFORK/NOEXEC code, logic is not changed
|
7 years ago |
Denys Vlasenko
|
80e8e3cc05
noexec: consolidate code
|
7 years ago |
Denys Vlasenko
|
c9c1ccc4ed
noexec: do GETOPT_RESET() before entering APPLET_main()
|
7 years ago |
Denys Vlasenko
|
f2cf1cc716
noexec: set comm field for noexecs
|
7 years ago |
Denys Vlasenko
|
248a67fb75
free,stat: make NOEXEC
|
7 years ago |
Denys Vlasenko
|
b182e9ad60
libbb: use _exit, not exit, in bb_daemonize_or_rexec()
|
7 years ago |
Denys Vlasenko
|
19c9f31af1
nofork: fix a bug uncovered by hush testsuite (forgotten fflush)
|
7 years ago |
Denys Vlasenko
|
39194f0309
new NOFORKs: pwdx,kill[all5],ttysize,realpath,readlink NOEXECs: date,resize
|
7 years ago |
Denys Vlasenko
|
69a5ec9dcc
main: fix the case where user has "halt" as login shell. Closes 9986
|
7 years ago |
Denys Vlasenko
|
d4e4fdb5ce
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
|
7 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
|
13 years ago |
Denys Vlasenko
|
6307357eff
move nofork_save_area from libbb.h to vfork_daemon_rexec.c
|
13 years ago |
Denys Vlasenko
|
c71b469f5d
libbb: make BB_EXECVP/LP try to exec real binary if there's no /proc/self/exe
|
13 years ago |
Denys Vlasenko
|
0ef64bdb40
*: make GNU licensing statement forms more regular
|
14 years ago |