busybox/procps
Maksym Kryzhanovskyy fef9ee7072 fuser: code shrink, fixing default signal, exitcode and PID display
Defult signal is KILL, not TERM.
We used to not display PIDs with -k but without -s, but
upstream (fuser from PSmisc 22.7) still shows PIDs.
Filtering out of our own PID was buggy.

function                                             old     new   delta
fuser_main                                           669     918    +249
search_dev_inode                                      67      74      +7
add_pid                                               38      39      +1
scan_pid_maps                                        225     222      -3
add_inode                                             91      88      -3
packed_usage                                       27047   27039      -8
scan_dir_links                                       102      76     -26
scan_link                                             78      46     -32
file_to_dev_inode                                     64       -     -64
scan_proc_net                                        307       -    -307
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 3/5 up/down: 257/-443)         Total: -186 bytes

Signed-off-by: Maksym Kryzhanovskyy <xmaks@email.cz>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-05-22 20:41:08 +02:00
..
Config.in ps,top: add an option to show threads. +260 bytes of code 2009-09-19 22:29:42 +02:00
free.c free: silence warning about unused argv 2010-02-26 09:28:30 +01:00
fuser.c fuser: code shrink, fixing default signal, exitcode and PID display 2010-05-22 20:41:08 +02:00
Kbuild pgrep,pkill: new applets by Loic Grenie <loic.grenie@gmail.com> 2007-09-29 22:26:01 +00:00
kill.c *: merge some common strings 2010-03-23 16:25:17 +01:00
nmeter.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
pgrep.c *: style fixes. no code changes (verified with objdump) 2010-01-28 02:24:24 +01:00
pidof.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
ps.c fix typo in commented-out code 2010-05-04 14:59:01 +02:00
ps.posix ps: add documentation on POSIX ps 2006-11-05 00:47:38 +00:00
renice.c - first pass to unify/cleanup uid handling (-236b) 2008-07-21 14:41:33 +00:00
sysctl.c sysctl: tiny code shrink 2010-03-27 05:02:00 +01:00
top.c consolidate ESC sequences 2010-05-16 23:42:13 +02:00
uptime.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
watch.c consolidate ESC sequences 2010-05-16 23:42:13 +02:00