aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'd84b175cb6948eb17f847313bf912174e2f934e1' into mergeRon Yorston2012-03-221-1/+1
|\ | | | | | | | | Conflicts: include/platform.h
| * Bump version to 1.19.0, update copyright year in help message1_19_0Denys Vlasenko2011-08-131-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '066f39956641300c1e5c6bfe6c11a115cea3e2cf' into mergeRon Yorston2012-03-221-13/+2
|\| | | | | | | | | Conflicts: procps/ps.c
| * appletlib.c: do not use PAGE_SIZE for malloc tweakingDenys Vlasenko2011-06-031-13/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '56a3b82e9692a25ef9c9269e88feac0d579ce8e8' into mergeRon Yorston2012-03-221-116/+97
|\| | | | | | | | | | | | | Conflicts: coreutils/ls.c include/platform.h libbb/bb_basename.c
| * warning removalCristian Ionescu-Idbohrn2011-05-201-1/+1
| | | | | | | | | | Signed-off-by: Cristian Ionescu-Idbohrn <cii@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * busybox.conf: code shrinkDenys Vlasenko2011-05-161-13/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * busybox.conf: USER.GROUP is _optional_Denys Vlasenko2011-05-161-7/+6
| | | | | | | | | | | | | | function old new delta main 785 809 +24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * main: make busybox.conf mode handling less obscureDenys Vlasenko2011-05-161-33/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta static.mode_mask - 20 +20 main 782 785 +3 static.mode_chars 15 13 -2 run_applet_no_and_exit 450 441 -9 mode_mask 24 - -24 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/2 up/down: 41/-53) Total: -12 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * main: free suid_config list after useDenys Vlasenko2011-05-161-33/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta run_applet_no_and_exit 438 450 +12 ifupdown_main 2147 2149 +2 writeFileToTarball 1325 1326 +1 pidof_main 244 245 +1 last_main 896 897 +1 grep_main 779 780 +1 find_list_entry2 121 122 +1 tar_main 835 833 -2 llist_unlink 28 26 -2 llist_rev 23 21 -2 main 791 782 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/4 up/down: 19/-15) Total: 4 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * simplify parsing of /etc/busybox.confDenys Vlasenko2011-05-161-45/+30
| | | | | | | | | | | | | | function old new delta parse_config_file 799 667 -132 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into mergeRon Yorston2012-03-221-1/+1
|\|
| * Fix double words in comments. No code changesMarek Polacek2011-04-161-1/+1
| | | | | | | | | | Signed-off-by: Marek Polacek <mpolacek@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '19311bfa7b8e8c6effa9c375de9b0eb4338bee12' into mergeRon Yorston2012-03-221-5/+15
|\| | | | | | | | | | | Conflicts: coreutils/ls.c shell/ash.c
| * busybox: fail if --install is not given an absolute pathDenys Vlasenko2011-03-121-4/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * improve --install operation in chroot jailsDenys Vlasenko2011-03-061-5/+16
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into mergeRon Yorston2012-03-211-2/+2
|\| | | | | | | | | | | | | Conflicts: include/platform.h libbb/Kbuild.src libbb/messages.c
| * mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-181-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-041-36/+43
|\|
| * add if guards around include <malloc.h>Denys Vlasenko2010-12-051-1/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * exclude the case of just "busybox" from previous commitDenys Vlasenko2010-11-291-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * if only one applet is enabled, make "busybox applet [params]" work as expectedDenys Vlasenko2010-11-291-29/+33
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: remove unused variableLauri Kasanen2010-11-131-4/+3
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rename archival/libunarchive -> archival/libarchive; move bz/ into itDenys Vlasenko2010-11-031-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * decompress_bunzip2: handle concatenated .bz2 filesDenys Vlasenko2010-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | function old new delta unpack_bz2_stream 207 307 +100 start_bunzip 199 209 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 110/0) Total: 110 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d^'Nguyễn Thái Ngọc Duy2011-01-041-3/+5
|\|
| * tweaks to build system, mainly making menuconfig text and order clearerDenys Vlasenko2010-10-121-3/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: lowercase argv[0] before searching for applet nameNguyễn Thái Ngọc Duy2010-09-171-3/+7
| | | | | | | | | | | | | | | | | | On Windows, busybox.exe can be called BusyBox.exe, BUSYBOX.EXE... Applet search is done using bsearch(), doing case-insensitive search would be more difficult. So just lowercase everything down. BUSYBOX_APPLET_NAME environment variable are supposed to be case-sensitive though.
* | Merge remote branch 'origin/master'Nguyễn Thái Ngọc Duy2010-09-141-0/+1
|\|
| * busybox: add "busybox --list[-full]" to help textDenys Vlasenko2010-09-121-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-2/+2
|\|
| * *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-2/+2
| | | | | | | | | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-1/+1
|\|
| * *: fix "see file License ..." - the file is named LICENSE (in uppercase)Denys Vlasenko2010-08-161-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-3/+7
|\|
| * randomconfig fixesDenys Vlasenko2010-07-051-1/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fix compile breakage with "make -j"Denys Vlasenko2010-07-031-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build system: do not rebuild ash and hush on any change to any .c fileDenys Vlasenko2010-06-261-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-7/+0
|\|
| * bbconfig: make it independent from printf functionsDenys Vlasenko2010-06-071-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta full_write2_str - 25 +25 full_write1_str - 25 +25 clear_main 21 20 -1 telnet_main 1488 1477 -11 getty_main 1932 1918 -14 full_write22_str 25 - -25 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/3 up/down: 50/-51) Total: -1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-24/+19
|\|
| * Remove requirement that include/applets.h must be sortedDenys Vlasenko2010-06-051-24/+19
| | | | | | | | | | | | | | | | First, I _again_ violated it - two xz-related applets are in wrong positions. Second, planned in-applet help text thing will be so much easier without this requirement... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-26/+47
|\|
| * busybox --list option. +140 bytes. Rob wanted it.Denys Vlasenko2010-04-201-25/+44
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * remove stdio from allnoconfig buildDenys Vlasenko2010-04-181-1/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: appletlib: special way to recognize applet name on WindowsNguyễn Thái Ngọc Duy2010-09-101-0/+12
|/ | | | | | | | argv[0] on Windows is always the executable path. We can't rely on it to extract the applet name. For single busybox executable, just pass an environment variable, BUSYBOX_APPLET_NAME. Also strip .exe suffix when looking for applet name.
* libbb: locate PAGE_SIZE on HurdDenys Vlasenko2010-03-291-7/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build failure fix and some cosmeticsDenys Vlasenko2009-10-231-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* experimentally add mallopt tweaks for reduced memory consumptionDenys Vlasenko2009-09-061-0/+20
| | | | | | | | | | function old new delta mallopt - 126 +126 main 91 117 +26 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/0 up/down: 152/0) Total: 152 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* code shrink in help text codeDenys Vlasenko2009-08-301-6/+9
| | | | | | | | text data bss dec hex filename 823690 458 6956 831104 cae80 busybox_old 823673 458 6956 831087 cae6f busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>