summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2007-07-17Modify method of linking against libs. Now we fisrt try allDenis Vlasenko
specified libs, and if it succeeds, we try to remove them one-by-one. If link succeeds, then library is thrown out. Should solve the problem with SELinux linking in libsepol even when not needed.
2007-07-14xioctl and friends by Tito <farmatito@tiscali.it>Denis Vlasenko
function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
2007-06-25- need to pass the PATH down to the gcc-version check to be able to find the ↵Bernhard Reutner-Fischer
correct cc. Fixes make PATH="$CROSS_BIN:$PATH" CROSS_COMPILE=foo- like invocations that previously failed to resolve since the information about the path set by the user was lost.
2007-06-22- handy to have the cross_compile block here, tooBernhard Reutner-Fischer
2007-06-21build system: remove kernel .config locations (spotted by walter harms ↵Denis Vlasenko
<wharms@bfs.de>)
2007-06-19defconfig: updateDenis Vlasenko
2007-06-10add script which measures stack consumption.Denis Vlasenko
Current top users: 0x08052f52 uncompress []: 393312 0x080c8a58 input_tab []: 82104 0x08092d5b ifaddrlist []: 32828 0x08056163 loadfont_main []: 32796 0x0806e508 colon []: 16532 0x08056095 do_loadfont []: 16400 0x0806da70 place_cursor []: 16388 0x080792e8 login_main []: 9176 393 kb of stack??? OMG...
2007-06-07- update defconfigBernhard Reutner-Fischer
2007-06-04Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko
tr: stop using globals needlessly. code: -103 bytes
2007-06-03find_stray_communal_vars: script which finds communal variablesDenis Vlasenko
resize: remove globals var mdev: remove globals var
2007-05-30whitespace fixesDenis Vlasenko
2007-05-15- busybox.c was removed a while agoBernhard Reutner-Fischer
2007-04-15deluser: add optional support for removing users from groupsDenis Vlasenko
(by Tito <farmatito@tiscali.it>)
2007-04-13style fixesDenis Vlasenko
2007-04-12style fixes. No code changesDenis Vlasenko
2007-04-11rename: run_applet_by_name -> run_applet_and_exitDenis Vlasenko
2007-04-10Rename two config options:Denis Vlasenko
FEATURE_SH_STANDALONE_SHELL => FEATURE_SH_STANDALONE FEATURE_EXEC_PREFER_APPLETS => FEATURE_PREFER_APPLETS Make SH_STANDALONE depend on PREFER_APPLETS. getopt.c: more randomconfig-induced fixes
2007-04-08adding small script, mostly for documentational purposesDenis Vlasenko
2007-04-05- clean up addgroup, fix adding users to existing groups and make it ↵Bernhard Reutner-Fischer
optional (Tito)
2007-04-05- bail out if either file does not existBernhard Reutner-Fischer
Avoids filling my scrollback-buffer with superfluous information ;)
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-03-28- update defconfigBernhard Reutner-Fischer
2007-03-28- move additional fancy options not mandated by SUSv3 into a FANCY optionBernhard Reutner-Fischer
2007-03-25- rough prototype for split(1). TODO: Still needs some love since it's way ↵Bernhard Reutner-Fischer
too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o
2007-03-18make clean deletes .kernelrelease nowDenis Vlasenko
trylink deleted empty linker stderr on success
2007-03-17dont use obsolete function index() as pointed out by src.obsolete.funcsMike Frysinger
2007-03-15build system: produce link map. Rather useful when youDenis Vlasenko
are wondering why your busybox is much bigger that you hoped for.
2007-03-13Do not fail password check if shadow password does not exist -Denis Vlasenko
fall back to ordinary one Reduced usage of functions returning datain static buffers. (mostly passwd/group/shadow related): function old new delta correct_password 143 193 +50 sulogin_main 490 533 +43 adduser_main 732 774 +42 passwd_main 1875 1915 +40 addgroup_main 330 365 +35 bb_internal_getspnam 38 - -38 bb_internal_fgetpwent 38 - -38 bb_internal_fgetgrent 38 - -38 static.resultbuf 168 88 -80 static.buffer 1872 1104 -768 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 5/2 up/down: 210/-962) Total: -752 bytes
2007-03-11update defconfigDenis Vlasenko
2007-03-09- add chrt applet.Bernhard Reutner-Fischer
text data bss dec hex filename 769 0 0 769 301 miscutils/chrt.o and could use some further shrinkage
2007-03-09- add selinux applets to the IMA workaroundBernhard Reutner-Fischer
2007-02-25stop using bash'isms ('function')Denis Vlasenko
runtest: do not depend on busybox.links
2007-02-12- check if the compiler supports -fwhole-program -- 4.0 does notBernhard Reutner-Fischer
2007-02-04mkconfigs: remove echo "`...`" contortionDenis Vlasenko
2007-02-03add TODODenis Vlasenko
2007-02-02- minor tweakBernhard Reutner-Fischer
2007-01-29disable -Wold-style-definition for gcc 3.xDenis Vlasenko
2007-01-27Make -Werror configurableDenis Vlasenko
2007-01-24Unify ping and ping6. ping has -4 and -6 which forceDenis Vlasenko
name resolution into IP or IPv6 only, otherwise we take address family returned by host2sockaddr() in lsa->sa.sa_family. IOW: "ping ::1" with do IPv6 ping, "ping 127.0.0.1" will do IPv4 ping. ping6 is aliased to "ping -6".
2007-01-23- add hostcc-option checkerBernhard Reutner-Fischer
2007-01-23- add an unsupported makefile for IMA compilesBernhard Reutner-Fischer
Nice for catching eventual breakage early on..
2007-01-22clean up commented out old codeDenis Vlasenko
2007-01-22remove obsolete FEATURE_WGET_IP6_LITERALDenis Vlasenko
2007-01-22defconfig: refreshDenis Vlasenko
2007-01-22cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko
so rename stuff accordingly.
2007-01-21Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disableDenis Vlasenko
less-known keys (e.g. Ctrl-B/E/F)
2007-01-21Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownDenis Vlasenko
executable if we asked to exec someting with argv[0] == known_applet" Use it in init. Also respect PATH in init, remove explicit "/sbin" etc from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu>
2007-01-20fixes for amd64 compilationDenis Vlasenko
2007-01-17- replace some occurances of "kernel" with busyboxBernhard Reutner-Fischer
2007-01-13whitespace fixes (leading spaces to tab)Denis Vlasenko