summaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive optionsDenis Vlasenko2007-07-212-2/+2
| | | | | | | | | | | | | | | | | | | | find_pair 164 180 +16 passwd_main 1222 1230 +8 display_speed 91 96 +5 msh_main 1335 1339 +4 qrealloc 38 36 -2 refresh 1190 1182 -8 cut_main 543 532 -11 sendCgi 1807 1794 -13 getopt32 1063 1045 -18 arith 2077 2030 -47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes text data bss dec hex filename 781548 1168 11900 794616 c1ff8 busybox_old 781452 1168 11900 794520 c1f98 busybox_unstripped
* xioctl and friends by Tito <farmatito@tiscali.it>Denis Vlasenko2007-07-145-44/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* introduce and use bb_basename()Denis Vlasenko2007-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta bb_basename - 26 +26 sv_main 1226 1225 -1 passwd_main 1985 1983 -2 showdirs 482 478 -4 sendCgi 1811 1807 -4 make_device 1354 1350 -4 handleIncoming 2443 2439 -4 func_name 82 78 -4 service_name 2292 2285 -7 main 909 901 -8 cmp_main 555 547 -8 test_main 434 422 -12 act 228 216 -12 find_pair 180 164 -16 rmmod_main 298 280 -18 find_pid_by_name 156 134 -22 modprobe_main 1606 1576 -30 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes text data bss dec hex filename 734933 3028 14400 752361 b7ae9 busybox_old 734801 3028 14400 752229 b7a65 busybox_unstripped
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko2007-06-254-14/+10
| | | | <wharms@bfs.de>)
* - strndupa is a GNU extension. Using strdup to avoid several errors like:Bernhard Reutner-Fischer2007-06-201-3/+8
| | | | util-linux/mdev.c:(.text+0x29a): undefined reference to `strndupa'
* hwclock: size optimizationsDenis Vlasenko2007-06-171-33/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | libbb/time.c: new file, introducing monotonic_us() pscan, traceroute, arping: use it instead of gettimeofday ping, zcip: TODO function old new delta monotonic_us - 89 +89 find_pair 164 180 +16 .rodata 129747 129763 +16 refresh 1144 1152 +8 ............ timeout 8 4 -4 static.start 8 4 -4 last 8 4 -4 parse_conf 1303 1284 -19 time_main 1149 1124 -25 gettimeofday_us 39 - -39 arping_main 2042 1969 -73 hwclock_main 594 501 -93 catcher 485 380 -105 traceroute_main 4300 4117 -183 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 8/11 up/down: 157/-562) Total: -405 bytes
* make FEATURE_HAVE_RPC auto-selectable by mount and inetd sub-featuresDenis Vlasenko2007-06-161-1/+2
|
* Alex Landau writes: open firmware for reading, not writingMike Frysinger2007-06-141-1/+1
|
* minix.h: add very simple test scriptDenis Vlasenko2007-06-131-0/+22
|
* fsck_minix: forgotten bit of previous commit...Denis Vlasenko2007-06-131-0/+1
|
* fsck_minix: stop using data/bssDenis Vlasenko2007-06-132-124/+130
| | | | | | 10847 8 271 11126 2b76 busybox.t2/util-linux/fsck_minix.o 10140 0 0 10140 279c busybox.t3/util-linux/fsck_minix.o
* *: BB_BANNER -> bb_banner (it is not a const or #define)!Denis Vlasenko2007-06-132-3/+2
| | | | | | | | | | | | correct_password: explain in detail why it is ok to use bb_banner fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one Marginal size difference: text data bss dec hex filename 679119 2700 15632 697451 aa46b busybox_old 679091 2700 15632 697423 aa44f busybox_unstripped
* as suggested by Renaud Cerrato and Souf, switch over to recursive_action() ↵Mike Frysinger2007-06-131-32/+27
| | | | for some nice shrinkage and so we work even when CONFIG_SYSFS_DEPRECATED is off
* add support for firmware loadingMike Frysinger2007-06-132-2/+84
|
* hush: fix read builtin to not read ahead past eol and to not useDenis Vlasenko2007-06-131-1/+1
| | | | | insane amounts of stack. Testsuite updated.
* diff: shrink code (-85 bytes):Denis Vlasenko2007-06-123-5/+5
| | | | | | | | | | | | function old new delta fiddle_sum 8 - -8 diffreg 2717 2690 -27 prepare 334 284 -50 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
* mdev: microscopic enhancement, should change nothingDenis Vlasenko2007-06-081-8/+6
|
* find_stray_communal_vars: script which finds communal variablesDenis Vlasenko2007-06-031-11/+9
| | | | | resize: remove globals var mdev: remove globals var
* fdisk: make it work with big disks (read: typical today's disks)Denis Vlasenko2007-06-021-83/+58
| | | | even if CONFIG_LFS is unset.
* delete tons of extra #includesDenis Vlasenko2007-05-312-4/+2
|
* use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko2007-05-312-12/+1
| | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
* more: stop using bssDenis Vlasenko2007-05-311-13/+27
| | | | | | | | | | | | | | # make && make bloatcheck function old new delta gotsig 86 107 +21 more_main 777 781 +4 cin_fileno 4 - -4 set_tty_to_initial_mode 25 - -25 new_settings 120 60 -60 initial_settings 120 60 -60 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/2 up/down: 25/-149) Total: -124 bytes
* whitespace fixesDenis Vlasenko2007-05-301-1/+1
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-2624-25/+24
| | | | | *: s/include "busybox.h"/include "libbb.h"
* mount: fix mounting of symlinks (mount from util-linux allows that)Denis Vlasenko2007-05-201-1/+3
|
* mount: fix incorrect usage of strtok (inadvertently used NULL sometimes).Denis Vlasenko2007-05-091-2/+1
| | | | | the change is "for(xxx)...." -> "if(var) for(xxx)...", but my gcc 4.1.2 adds _158 bytes_!! WTF?? 8(
* loop device code: readability improvementDenis Vlasenko2007-04-191-3/+6
|
* switch_root: error_msg -> perror_msg, reduce by 22 bytes while at it.Denis Vlasenko2007-04-181-7/+8
|
* style fixesDenis Vlasenko2007-04-131-3/+2
|
* style fixes. No code changesDenis Vlasenko2007-04-122-12/+12
|
* bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko2007-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
* Rename two config options:Denis Vlasenko2007-04-101-8/+29
| | | | | | | 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
* make a few struct bb_applet members conditionalDenis Vlasenko2007-04-101-2/+0
| | | | | | rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
* audit small applets and mark some of them as NOFORK.Denis Vlasenko2007-04-101-5/+8
| | | | | Put big scary warnings in relevant places.
* style fixes. No code changes.Denis Vlasenko2007-04-102-3/+3
|
* add some missed statics on constant objects.Denis Vlasenko2007-04-082-4/+3
| | | | | | | | | | fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped
* getopt: use getopt32 for option parsing - inspired by patch by Denis Vlasenko2007-04-071-195/+158
| | | | | | | | | | | | | | | | | | | | | | Mats Erik Andersson <mats.andersson64@comhem.se> function old new delta getopt_main 809 810 +1 static.BUFFER 4 - -4 shell 8 4 -4 quote 4 - -4 quiet_output 4 - -4 quiet_errors 4 - -4 long_options_nr 4 - -4 long_options_length 4 - -4 long_options 388 384 -4 alternative 4 - -4 shortopts 15 - -15 normalize 243 220 -23 .rodata 131832 131800 -32 add_longopt 200 - -200 ------------------------------------------------------------------------------ (add/remove: 0/9 grow/shrink: 1/4 up/down: 1/-306) Total: -305 bytes
* [u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)Denis Vlasenko2007-04-052-6/+9
|
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer2007-04-045-12/+12
|
* random style fixes (extra spaces deleted)Denis Vlasenko2007-03-242-3/+3
|
* assorted fixes uncovered by randomconfig runsDenis Vlasenko2007-03-221-0/+2
|
* fix accumulated whitespace and indentation damageDenis Vlasenko2007-03-201-1/+1
|
* fdisk: bb_common_bufsiz1 is too small for globals on 64-bit CPUDenis Vlasenko2007-03-191-175/+177
|
* fdisk: get rid of _() macro.Denis Vlasenko2007-03-195-795/+791
| | | | | | | | | Shorten some messages. Stop using stderr - anyone who tries to use fdisk no-interactively is "strange" anyway. Improve storage handling in bsd module. text data bss dec hex filename 728112 1488 33788 763388 ba5fc busybox.t0/busybox 727248 1488 33372 762108 ba0fc busybox.t1/busybox
* mkfs_minix: remove older, less efficient bss reduction trickDenis Vlasenko2007-03-181-4/+3
|
* fdisk: move 2k ptes[] array into bb_common_bufsiz1Denis Vlasenko2007-03-181-25/+32
|
* mkfs_minix: stop using lots of bss/data.Denis Vlasenko2007-03-151-178/+190
| | | | | data -3500 bytes, code -300 bytes keep_data_small: expand/fix
* swapon: reinstate hole check but reduce it to warningDenis Vlasenko2007-03-141-2/+2
| | | | inode_hash: remove unused variable
* fsck_minix: stop using large buffers in bssDenis Vlasenko2007-03-131-12/+26
|
* swapon: random shrinkageDenis Vlasenko2007-03-121-5/+4
|