]>
granicus.if.org Git - psmisc/log
Werner Fink [Wed, 7 Sep 2011 09:04:35 +0000 (11:04 +0200)]
Add another 2 for thread brackets in pstree.c
Signed-off-by: Werner Fink <werner@suse.de>
Werner Fink [Wed, 7 Sep 2011 08:03:32 +0000 (10:03 +0200)]
Remove doubled file content of src/lists.h
Craig Small [Mon, 25 Jul 2011 11:42:42 +0000 (21:42 +1000)]
Patch to make against cygwin
Craig Small [Mon, 18 Jul 2011 11:23:30 +0000 (21:23 +1000)]
conditionally compile in fork for stat
Craig Small [Thu, 23 Jun 2011 12:15:12 +0000 (22:15 +1000)]
Really apply the fuser -s patch
Craig Small [Mon, 20 Jun 2011 12:01:10 +0000 (22:01 +1000)]
Added lists.h to fuser sources
With no lists.h make distcheck fails, now it works.
Craig Small [Mon, 20 Jun 2011 11:48:00 +0000 (21:48 +1000)]
more language po fixes
Craig Small [Mon, 20 Jun 2011 11:45:39 +0000 (21:45 +1000)]
language updates and fixes
Language po files updated
fuser doesn't complain if /proc/#/fd disappears SF#
3310990
Craig Small [Sun, 19 Jun 2011 04:14:22 +0000 (14:14 +1000)]
fuser -k return and fuser.1 ipv6 addresses
fuser understands IPv6 addresses, removed comment in fuser.1 that it
doesn't Debian #609904
fuser -k only returns 0 if you kill something.
Craig Small [Sun, 19 Jun 2011 01:16:43 +0000 (11:16 +1000)]
2 Fixes for Debian Bug#623425
Both patches are by Jonathan Nieder <jrnieder@gmail.com>
Ever since psmisc 22.4 (2007-04-08), "killall <path>" compares
the target of the /proc/<pid>/exe link to <path> when comparison
of inode numbers fails. But the code to do this has two problems:
- readlink does not NUL-terminate, but we use strcmp to
compare strings. Probably this hasn't been a problem so far
because (1) the on-stack buffer happened to have zeroes in the
right places or (2) some implementations of readlink might
happen to NUL-terminate their result when convenient anyway.
- it relies on PATH_MAX to determine the size of the buffer,
so the code fails to build from source on platforms (like the
Hurd) that have no global PATH_MAX.
Fix both by using a buffer of size strlen("<path>") + 1 and comparing
the link target to <path> with memcmp after checking that it fit in
the buffer.
For consistency with the surrounding code, the pid is considered not
to match if malloc or readlink fails.
---------------
The Hurd has most of the expected /proc/<pid> hierarchy but no
/proc/self. Without this change, running "sleep 10 & killall sleep"
on that platform produces the confusing message:
/proc is empty (not mounted ?)
Craig Small [Tue, 22 Feb 2011 09:35:14 +0000 (20:35 +1100)]
Added SF patches and bug reports
* Applied patch from Werner Fink to avoid stat(2) on NFS mounts
* Zeros process group memory - Patch by jgorig SF#
3152925 RH#666213
* fuser -m -s flags work - Patch by jgorig SF#
31110178 RH#651794
* fuser silent if /proc/swaps not available SF#
3072134
* ppc 64 support for peekfd by jgorig SF#
3166444
* jiffies now ULL in killall SF#
3138538
* pstree can show parents of a process. Patch supplied by Curtis Hawthorne SF#
3135157
Werner Fink [Fri, 15 Oct 2010 08:51:54 +0000 (10:51 +0200)]
Fix a regression caused by git commit
c4fdae52e4fe6f which reintroduces sf#
1948351 .
Werner Fink [Tue, 21 Sep 2010 07:04:16 +0000 (09:04 +0200)]
Add an option -w to fuser to be able to send signals
to processes which have write access to an open file
or directory. This option is silently ignored if -k is
not present too.
Signed-off-by: Werner Fink <werner@suse.de>
Werner Fink [Mon, 20 Sep 2010 12:35:39 +0000 (14:35 +0200)]
Merge branch 'master' of ssh://wfink@psmisc.git.sourceforge.net/gitroot/psmisc/psmisc
Craig Small [Sat, 11 Sep 2010 07:25:09 +0000 (17:25 +1000)]
Werner's patch SF#
3063450
Werner Fink [Fri, 10 Sep 2010 09:18:53 +0000 (11:18 +0200)]
Fix file descriptor as well as memory leaks in fuser.
Strip @ symbol from file names read from /proc/net/unix.
This close the openSuSE bugs #536209, #529520, and #417841.
Craig Small [Mon, 6 Sep 2010 03:49:56 +0000 (13:49 +1000)]
Updated to 22.14 working version
Craig Small [Mon, 6 Sep 2010 03:31:36 +0000 (13:31 +1000)]
Updated po files from TP website
Craig Small [Wed, 14 Jul 2010 08:25:02 +0000 (18:25 +1000)]
configure.ac fixes for peekfd on mipsel and x86_64
Craig Small [Wed, 14 Jul 2010 06:51:55 +0000 (16:51 +1000)]
22.12 release
Craig Small [Tue, 15 Jun 2010 12:47:33 +0000 (22:47 +1000)]
Last 22.12 release, waiting for tp
Updated the po files, waiting for translations
peekfd off-by-one patch applied
Craig Small [Thu, 8 Apr 2010 12:45:32 +0000 (22:45 +1000)]
Added ignore files
Craig Small [Thu, 8 Apr 2010 12:24:23 +0000 (22:24 +1000)]
Removed CVS files
Craig Small [Thu, 8 Apr 2010 11:18:05 +0000 (11:18 +0000)]
Updated po files from translation website
Craig Small [Mon, 11 Jan 2010 11:16:37 +0000 (11:16 +0000)]
Updated po files for: Dutch, Basque, Swedish, Czech, Polish and Russian
Craig Small [Mon, 4 Jan 2010 10:39:43 +0000 (10:39 +0000)]
fuser -k fixed now too
Craig Small [Mon, 4 Jan 2010 10:11:38 +0000 (10:11 +0000)]
Fixed fuser signal option
Craig Small [Mon, 28 Dec 2009 02:55:00 +0000 (02:55 +0000)]
updated to 22.10 and fuser wont kill itself
Craig Small [Sun, 27 Dec 2009 07:19:51 +0000 (07:19 +0000)]
Added prtstat.h to dist files
Craig Small [Sun, 27 Dec 2009 00:04:29 +0000 (00:04 +0000)]
more fixes for fuser getopt
Craig Small [Sat, 26 Dec 2009 22:55:43 +0000 (22:55 +0000)]
mention gentoo bug # in changelog
Craig Small [Sat, 26 Dec 2009 22:49:09 +0000 (22:49 +0000)]
Stop pstree --help stop
Reworked fuser option handling to get -KILL back working
Craig Small [Fri, 18 Dec 2009 12:47:05 +0000 (12:47 +0000)]
adjusted some killall sizes
Craig Small [Fri, 18 Dec 2009 12:34:16 +0000 (12:34 +0000)]
more work on the o and y options for killall
Craig Small [Wed, 16 Dec 2009 06:55:44 +0000 (06:55 +0000)]
minor prtstat changes and killall ages
Craig Small [Tue, 15 Dec 2009 12:22:53 +0000 (12:22 +0000)]
more attempts are ungrouping threads with -a
Craig Small [Mon, 23 Nov 2009 10:20:35 +0000 (10:20 +0000)]
-M option for fuser
Craig Small [Fri, 13 Nov 2009 02:28:57 +0000 (02:28 +0000)]
fuser only kills normal processes, patch thanks to Erik Li SF#
2892724
Craig Small [Thu, 15 Oct 2009 00:28:13 +0000 (00:28 +0000)]
added cs.po and removed autom4te
Craig Small [Thu, 15 Oct 2009 00:26:47 +0000 (00:26 +0000)]
update basque and vietnamese PO files
Craig Small [Wed, 7 Oct 2009 00:54:53 +0000 (00:54 +0000)]
more prtstat coding
Craig Small [Tue, 6 Oct 2009 08:17:38 +0000 (08:17 +0000)]
first cut of prtstat
Craig Small [Wed, 26 Aug 2009 23:59:52 +0000 (23:59 +0000)]
missing option l back in fuser
Craig Small [Fri, 24 Jul 2009 22:41:18 +0000 (22:41 +0000)]
Added Czech file, last update for 22.8
Craig Small [Thu, 16 Jul 2009 01:53:33 +0000 (01:53 +0000)]
updated pstree.1 to have long options
Craig Small [Thu, 16 Jul 2009 01:29:04 +0000 (01:29 +0000)]
rc1 update of Italian, Polish, Indonesian, Swedish and Russian PO files
Craig Small [Wed, 15 Jul 2009 00:58:54 +0000 (00:58 +0000)]
made 22.8rc1 to punt to translators
Craig Small [Wed, 15 Jul 2009 00:53:47 +0000 (00:53 +0000)]
cranked over a make dist
Craig Small [Wed, 15 Jul 2009 00:52:17 +0000 (00:52 +0000)]
Updated Finnish, Italian and Vietnamese PO files
Craig Small [Fri, 10 Jul 2009 06:45:14 +0000 (06:45 +0000)]
* Applied patch from Kari Hautio for lazy umount'ed filesystems SF#25456
32
* Applied patch from Anonymous SF submitter to fix killall -l
Fixes SF#
2002570
* fuser will print mounts,nfs exports and swaps with -v Debian #356655
* pstree and fuser have long options Debian #517412
Craig Small [Thu, 9 Jul 2009 03:34:42 +0000 (03:34 +0000)]
remove AC_PROG_CXX from configure.ac SF#
2789801
Craig Small [Thu, 9 Jul 2009 03:27:41 +0000 (03:27 +0000)]
off by one malloc prob in pstree buffer
Craig Small [Sun, 10 May 2009 06:35:18 +0000 (06:35 +0000)]
22.7 release with new config files
Craig Small [Mon, 4 May 2009 12:54:30 +0000 (12:54 +0000)]
Updated Polish, Russian, Swedish and Indonesian PO files
Craig Small [Sun, 26 Apr 2009 01:08:34 +0000 (01:08 +0000)]
rc1 created for translators
Craig Small [Thu, 26 Mar 2009 23:24:32 +0000 (23:24 +0000)]
Added Chinese (traditional) PO file
Craig Small [Tue, 16 Dec 2008 10:15:16 +0000 (10:15 +0000)]
* Patch from Arnaud Giersch to fix udp ports in fuser Debian #502208
* pstree man page mentions -Z may not be available Debian #478327
* pstree handles UTF-8 lengths much better Debian #413503
* killall says no process found when process not found Debian #500097
* pstree makes a bigger buffer for -al flags Debian #352603
Craig Small [Fri, 5 Dec 2008 11:23:13 +0000 (11:23 +0000)]
Added Dons pstree patch
Craig Small [Mon, 10 Nov 2008 21:36:44 +0000 (21:36 +0000)]
Indonesian PO file updated
quantumg [Wed, 26 Mar 2008 03:03:33 +0000 (03:03 +0000)]
Now you're just getting picky.
quantumg [Wed, 26 Mar 2008 02:51:15 +0000 (02:51 +0000)]
another oops.
quantumg [Wed, 26 Mar 2008 01:43:20 +0000 (01:43 +0000)]
Another oops.
quantumg [Wed, 26 Mar 2008 01:22:26 +0000 (01:22 +0000)]
Fix short form switch for following child processes.
Craig Small [Sun, 18 Nov 2007 21:54:18 +0000 (21:54 +0000)]
Updated Hungarian po file
Craig Small [Sun, 18 Nov 2007 21:47:36 +0000 (21:47 +0000)]
pstree patch from Marcus
Craig Small [Mon, 12 Nov 2007 15:40:39 +0000 (15:40 +0000)]
fuser -m with sockets
Craig Small [Mon, 12 Nov 2007 15:23:34 +0000 (15:23 +0000)]
updated german and french po files
Craig Small [Wed, 7 Nov 2007 00:24:50 +0000 (00:24 +0000)]
Updated po files and removed oldfuser
Craig Small [Sun, 4 Nov 2007 07:25:43 +0000 (07:25 +0000)]
changed autoconf check for user.h
Craig Small [Sun, 4 Nov 2007 06:04:51 +0000 (06:04 +0000)]
Minor fix in fuser includes
Craig Small [Wed, 4 Jul 2007 02:25:00 +0000 (02:25 +0000)]
ppc patch for peekfd
Craig Small [Sun, 24 Jun 2007 23:38:29 +0000 (23:38 +0000)]
more cvs stuffarounds
Craig Small [Sun, 24 Jun 2007 23:37:48 +0000 (23:37 +0000)]
more cvs stuffarounds
Craig Small [Sun, 24 Jun 2007 23:32:33 +0000 (23:32 +0000)]
updated peekfd.1
Craig Small [Sun, 24 Jun 2007 23:29:22 +0000 (23:29 +0000)]
adjusted cvsignore
Craig Small [Sun, 24 Jun 2007 23:28:30 +0000 (23:28 +0000)]
chinese po file
Craig Small [Thu, 21 Jun 2007 00:20:35 +0000 (00:20 +0000)]
Added x86_64 support for peekfd
Craig Small [Tue, 12 Jun 2007 22:59:11 +0000 (22:59 +0000)]
Added chinese simplified po file
Craig Small [Thu, 31 May 2007 13:30:08 +0000 (13:30 +0000)]
Dutch po file
Craig Small [Thu, 31 May 2007 12:39:14 +0000 (12:39 +0000)]
Vietnamese po file
Craig Small [Thu, 31 May 2007 12:36:49 +0000 (12:36 +0000)]
peekfd intl and args fixes
Craig Small [Wed, 30 May 2007 22:33:28 +0000 (22:33 +0000)]
Italian and Polish po files
Craig Small [Sun, 29 Apr 2007 23:05:33 +0000 (23:05 +0000)]
killall message change
Craig Small [Sun, 29 Apr 2007 22:58:02 +0000 (22:58 +0000)]
applied Bennos NLS patch
Craig Small [Sun, 29 Apr 2007 22:53:27 +0000 (22:53 +0000)]
rolled up to 22.6 as it is released
Craig Small [Tue, 17 Apr 2007 23:23:52 +0000 (23:23 +0000)]
added configure.ac and removed configure.in
Craig Small [Tue, 17 Apr 2007 23:21:43 +0000 (23:21 +0000)]
conditionally compile peekfd
Craig Small [Tue, 17 Apr 2007 22:23:02 +0000 (22:23 +0000)]
Tagged up to version 22.5
Craig Small [Wed, 11 Apr 2007 23:20:00 +0000 (23:20 +0000)]
fuser -n tcp ,,x works for ipv6 and 4
Craig Small [Tue, 10 Apr 2007 22:55:34 +0000 (22:55 +0000)]
ignore peekfd binary and vim swap files
Craig Small [Tue, 10 Apr 2007 22:54:00 +0000 (22:54 +0000)]
Remote tcp ports working, still to fix ipv6 remote ports
Craig Small [Sun, 8 Apr 2007 08:08:53 +0000 (08:08 +0000)]
karels fix and i fixed peekfd
quantumg [Thu, 15 Mar 2007 11:50:36 +0000 (11:50 +0000)]
Added man page for peekfd.
Added README comment for peekfd.
Fixed spelling issue.
Craig Small [Thu, 1 Mar 2007 22:55:59 +0000 (22:55 +0000)]
Added peekfd and updated the autotools
Craig Small [Wed, 27 Sep 2006 22:44:05 +0000 (22:44 +0000)]
Updated to ver 22.4
Added ru.po
Applied patch for tcp checks in fuser, like i should of done in 22.3
Craig Small [Thu, 3 Aug 2006 03:08:40 +0000 (03:08 +0000)]
ifdefed the nfs stuff for now
Craig Small [Thu, 25 May 2006 00:07:29 +0000 (00:07 +0000)]
updated swedish po file
Craig Small [Thu, 25 May 2006 00:05:41 +0000 (00:05 +0000)]
added ja and hu po files
Craig Small [Thu, 25 May 2006 00:03:20 +0000 (00:03 +0000)]
sync to new server
Craig Small [Wed, 29 Mar 2006 10:32:59 +0000 (10:32 +0000)]
po files and fixed tcp port command line