aboutsummaryrefslogtreecommitdiff
path: root/procps/fuser.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* fuser: bugfixes and shrink. It was assuming that xmalloc zeroes returned area!Denis Vlasenko2008-03-171-221/+179
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta scan_dir_links - 106 +106 add_inode - 89 +89 scan_link - 78 +78 file_to_dev_inode - 64 +64 search_dev_inode - 63 +63 add_pid - 39 +39 packed_usage 23948 23928 -20 fuser_add_pid 49 - -49 fuser_file_to_dev_inode 64 - -64 fuser_search_dev_inode 77 - -77 fuser_scan_link 91 - -91 fuser_scan_dir_links 108 - -108 fuser_add_inode 124 - -124 fuser_main 1450 1243 -207 ------------------------------------------------------------------------------ (add/remove: 6/6 grow/shrink: 0/2 up/down: 439/-740) Total: -301 bytes text data bss dec hex filename 798327 658 7428 806413 c4e0d busybox_old 797988 658 7428 806074 c4cba busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-1/+1
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko2007-04-111-99/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* style fixesDenis Vlasenko2006-12-261-2/+2
| | | | last xcalloc replaced by xzalloc
* fix recognitions of -SIGname signalsDenis Vlasenko2006-12-231-1/+2
| | | | (fix by Jacques LUDER <jacques.luder@thalesgroup.com>)
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-1/+1
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-2/+2
|
* These should have been part of 15767 too.Rob Landley2006-08-031-1/+1
|
* A couple things that got tangled up in my tree, easier to check in both thanRob Landley2006-07-121-18/+4
| | | | | | | | | | | | | | untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-1/+2
| | | | and eventual platform specific includes in early.
* Jason Schoon writes: Attached is a patch to display the usage message if ↵Mike Frysinger2006-04-211-0/+3
| | | | fuser is called with no arguments, rather than doing no work and failing silently.
* More "extern" removals from Robert P. DayRob Landley2006-03-141-4/+8
|
* rfelker writes in Bug 738: sys/sysmacros.h is needed for makedevMike Frysinger2006-02-191-0/+1
|
* fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen2006-01-301-2/+2
|
* just whitespaceTim Riker2006-01-251-74/+74
|
* compile on 2.96 for a while longer -- no floating declarations.Paul Fox2006-01-201-6/+4
|
* Please don't use if(asprintf(&t)<0) free(t); Use concat_subpath_file() for ↵"Vladimir N. Oleynik"2005-10-281-34/+21
| | | | scan dir. Added losed chdir(".."). Removed warnings for 64-bit inode size. Why use memcpy and do not let? Very strange code for me
* New applet, fuser, from Tony J. White. (Needs some cleanup.)Rob Landley2005-10-281-0/+386