forked from pool/forkstat
Compare commits
37 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7a0607d57d | |||
| 120999b270 | |||
| 1536a2597b | |||
| 328cd48b03 | |||
| 787f32937d | |||
| 704b74c2fe | |||
| b0951b7d68 | |||
| c69e378520 | |||
| 4f94b86f1a | |||
| 1a1b15e6f8 | |||
| 2b26f057d5 | |||
| af0f25e52c | |||
|
|
f479c5ea00 | ||
|
|
c7dedf9dc9 | ||
| bc3b7bd604 | |||
| 7648259c5f | |||
| 2dc1364e2e | |||
| 0e22117b3f | |||
| 84113a39d3 | |||
|
|
af2e7b2728 | ||
| 67463818ec | |||
| b7f43b658a | |||
| 7caf6555a3 | |||
| 77b7bf52ea | |||
| 8f44ffa45b | |||
|
|
f0dfb8f410 | ||
| deafdef1ae | |||
|
|
b6ab568544 | ||
| dd06b1a501 | |||
| aba2183709 | |||
| 125c22318b | |||
|
|
97a918b147 | ||
| dee9b6aa82 | |||
|
|
d32f94b038 | ||
| 9d65f4e5cf | |||
| a906cda606 | |||
| 854f792c2f |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:185675738490149a36779c1e7f3a3288e87d24837924e5b531a10f0cf6c5b589
|
|
||||||
size 42664
|
|
||||||
3
forkstat-0.03.02.tar.gz
Normal file
3
forkstat-0.03.02.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:eaa4d69d674cf8871db01272d1d7d82005cc5595f83ed948e5fd24d571c78cd2
|
||||||
|
size 189866
|
||||||
238
forkstat.changes
238
forkstat.changes
@@ -1,3 +1,241 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 9 18:48:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.03.02:
|
||||||
|
* Makefile: remove snap from make dist rule
|
||||||
|
* debian/rules: update hardening flags
|
||||||
|
* Update copyright to 2024
|
||||||
|
* Check for array bounds limit while parsing pid length string
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 17 17:02:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.03.01:
|
||||||
|
* Makefile: bump version
|
||||||
|
* debian/control: update standards version to 4.6.2
|
||||||
|
* Manual: update copyright
|
||||||
|
* forkstat: add -p process group id filtering option
|
||||||
|
* forkstat: handle empty arg in argv[], replace with ' '
|
||||||
|
* forkstat: make cmdline buffer 64K, allocate on heap
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 22 16:33:18 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.03.00
|
||||||
|
|
||||||
|
* Remove redundant null check on ptr
|
||||||
|
* Update copyright
|
||||||
|
* forkstat: remove redundant assignment to ptr
|
||||||
|
* Add STAT_NONE to event_t enum and use it instead of 0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 7 18:17:09 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 0.02.16
|
||||||
|
* forkstat: handle weird comm field in /proc/$PID/stat
|
||||||
|
* conditionally build in helper functions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 17 12:41:40 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.02.15:
|
||||||
|
* add missing memory initialization to zero
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 8 10:41:16 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Drop SLE12 compat ifdef
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 29 11:33:06 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 0.02.14
|
||||||
|
* Add effictive user id (EUID) for -x option
|
||||||
|
- Supplement against bash-completion, not bash
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 26 13:39:08 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 0.02.13
|
||||||
|
* Add bash completion
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 15 09:47:15 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 0.02.12
|
||||||
|
* Remove no-op free_proc_comm call on an unknown comm field
|
||||||
|
* Return no info rather than NULL if proc_info_get returns NULL
|
||||||
|
* Re-work unknown cmdline information
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 27 09:40:34 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 0.02.11
|
||||||
|
* fix off-by-one end of string strncpy bug in tty name copying
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 7 18:40:25 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 0.02.10
|
||||||
|
* Fix spelling mistake in manual
|
||||||
|
* Update copyright year
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 12 12:32:24 UTC 2019 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 0.02.09
|
||||||
|
* Manual: update date
|
||||||
|
* Add -X option, fix up short getopts help with missing options
|
||||||
|
* forkstat: add in -c option in help info
|
||||||
|
- Update to version 0.02.08
|
||||||
|
* Reduce scope of pointer ptr
|
||||||
|
* Use unsigned int for %u format specifiers
|
||||||
|
* Add -c comm field info, also track comm field changes in proc info
|
||||||
|
- Update to version 0.02.07
|
||||||
|
* remove '\r' and '\n' from command line process name
|
||||||
|
- Update to version 0.02.06
|
||||||
|
* Add some extra paranoid clearing of tty and strncpy length,
|
||||||
|
fixes potential buffer overrun
|
||||||
|
* Add caching of dev to tty name lookup to fix expensive lookups
|
||||||
|
* Add caching of uid to name lookup, print username rather than uids
|
||||||
|
to fix expensive lookups
|
||||||
|
* forkstat: pack structs a little more efficiently to save memory
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 13 18:19:50 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 0.02.05
|
||||||
|
* Makefile: bump version
|
||||||
|
* Manual, change -e all to -E in example to show alternate form
|
||||||
|
* Reformat some lines, comments and overly wide scanf
|
||||||
|
* Minor code clean ups
|
||||||
|
* Ensure all fields in no_info are initialized
|
||||||
|
* Manual: Fix process table information formatting
|
||||||
|
* Voidify function returns
|
||||||
|
* Add more constifications
|
||||||
|
* Add -E (enable all events) option
|
||||||
|
* PROC_EVENT_COREDUMP has been introduced in kernel version 3.10
|
||||||
|
* Replace curved corner glyph with square corner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 11 07:47:25 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 0.02.04
|
||||||
|
* Makefile: bump version
|
||||||
|
* Add .travis.yml to make dist rule
|
||||||
|
* Makefile + debian/watch: produce a .xz tarball
|
||||||
|
* Fix checking on zero sized reads
|
||||||
|
* Add detection of first time all alive processes were started
|
||||||
|
* Use UTF-16 codes for glyphs
|
||||||
|
* Add travis build yaml file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 9 07:37:14 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 0.02.03
|
||||||
|
* Makefile: bump version
|
||||||
|
* debian/control: update debhelper to >= 11
|
||||||
|
* debian/compat: update to 11
|
||||||
|
* debian/copyright: replace http with https for secure URL
|
||||||
|
* debian/control: remove trailing line
|
||||||
|
* Add -g option to mini-help
|
||||||
|
* Add -g glyph annotations
|
||||||
|
* Add faster container check for systemd based systems
|
||||||
|
* Add snapcraft plugins
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 31 19:29:12 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.02.02
|
||||||
|
* Makefile: bump version
|
||||||
|
* ensure tty string never overflows, fixes gcc warning
|
||||||
|
* include <sys/uio.h> to fix clang warning
|
||||||
|
* Add -x option into mini help
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 5 21:27:17 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.02.01
|
||||||
|
* Makefile: bump version
|
||||||
|
* debian/control: update Standards-Version to 4.1.2
|
||||||
|
* ensure tty string never overflows, fixes gcc warning
|
||||||
|
* include <sys/uio.h> to fix clang warning
|
||||||
|
* Add -x option into mini help
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 25 19:12:00 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.02.00
|
||||||
|
* Makefile: update version and change codename
|
||||||
|
* Minor tweaks to the manual, cosmetic changes
|
||||||
|
* Move arrays to end of stacks to help avoid any stack smashing
|
||||||
|
* Minor source clean-up
|
||||||
|
* Avoid TOCTOU race on stat + open
|
||||||
|
* Use alternative ptrace pid info
|
||||||
|
* Add -x extra UID and TTY information option
|
||||||
|
* Add uid/sid event tracing
|
||||||
|
* Display name of events on -e option when invalid event used
|
||||||
|
* Add ptrace event spying
|
||||||
|
* Fix realtime flag opts mask
|
||||||
|
* Fix -r help option
|
||||||
|
* Add extra spacing in heading as it is offset by one after PID
|
||||||
|
* Remove old set_priority code now that -r replaces it
|
||||||
|
* Manpage: fix pdf warning:
|
||||||
|
* Makefile: add pdf man page rule and add .PHONEYs
|
||||||
|
* Add Philipp Gesang to the man page for kudos for contributions.
|
||||||
|
* Add -r real time scheduling option
|
||||||
|
* Put help options into one large printf statement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 22 08:15:16 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.01.19
|
||||||
|
* Makefile: bump version again
|
||||||
|
* Debian/control: update standards version to 4.0.0
|
||||||
|
* Update man page date
|
||||||
|
* forkstat: add flag for line buffered output
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 20 14:58:59 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.01.18
|
||||||
|
* Makefile: bump version
|
||||||
|
* Only add proc_info if strtol parses pid correctly.
|
||||||
|
* snapcraft: add default type and grade keys
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 10 14:53:13 UTC 2017 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- update to version 0.01.17
|
||||||
|
* Makefile: bump version
|
||||||
|
* Manual: update copyright year and manual date
|
||||||
|
* Makefile: add snapcraft to make dist rule
|
||||||
|
* Add variable pid size handling.
|
||||||
|
* Remove redundant free on a null pointer
|
||||||
|
* Add snapcraft
|
||||||
|
* Update copyright year
|
||||||
|
* Manual: expand width of columns to 5i
|
||||||
|
|
||||||
|
- update to version 0.01.16
|
||||||
|
* Makefile: bump version
|
||||||
|
* Make kernel_tasks const
|
||||||
|
* unconstify arg in parse_ev to fix pedantic build warning
|
||||||
|
* Clean up formatting on ev_map table
|
||||||
|
* constify s1 and s2
|
||||||
|
* Makefile: add PEDANTIC build flags
|
||||||
|
|
||||||
|
- update to version 0.01.15
|
||||||
|
* Makefile: bump version
|
||||||
|
* forkstat: make counters size_t
|
||||||
|
* forkstat: voidify return from fclose
|
||||||
|
* Debian: fix spelling mistake in changelog
|
||||||
|
|
||||||
|
- update to version 0.01.14
|
||||||
|
* Makefile: bump version
|
||||||
|
* debian/control: update Standards-Version to 3.9.8
|
||||||
|
* debian/rules: make build reproducible (Closes: #833439)
|
||||||
|
* Update copyright year to 2016
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 18 10:39:31 UTC 2016 - mardnh@gmx.de
|
Thu Feb 18 10:39:31 UTC 2016 - mardnh@gmx.de
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
#
|
#
|
||||||
# spec file for package forkstat
|
# spec file for package forkstat
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015, Martin Hauke <mardnh@gmx.de>
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
# Copyright (c) 2017-2020, Martin Hauke <mardnh@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,39 +13,51 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: forkstat
|
Name: forkstat
|
||||||
Version: 0.01.13
|
Version: 0.03.02
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Process fork/exec/exit monitoring tool
|
Summary: Process fork/exec/exit monitoring tool
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: System/Monitoring
|
Group: System/Monitoring
|
||||||
Url: http://kernel.ubuntu.com/~cking/forkstat/
|
URL: https://github.com/ColinIanKing/forkstat
|
||||||
Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.gz
|
Source: https://github.com/ColinIanKing/forkstat/archive/refs/tags/V%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Forkstat monitors process fork(), exec() and exit() activity. It is useful for
|
Forkstat monitors process fork(), exec() and exit() activity. It is useful for
|
||||||
monitoring system behaviour and to track down rogue processes that are spawning
|
monitoring system behaviour and to track down rogue processes that are spawning
|
||||||
off processes and potentially abusing the system.
|
off processes and potentially abusing the system.
|
||||||
|
|
||||||
|
%package bash-completion
|
||||||
|
Summary: Bash Completion for %{name}
|
||||||
|
Group: System/Benchmark
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: bash-completion
|
||||||
|
Supplements: (forkstat and bash-completion)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description bash-completion
|
||||||
|
Bash completion script for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%%doc COPYING
|
|
||||||
%{_bindir}/forkstat
|
%{_bindir}/forkstat
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/forkstat.8%{?ext_man}
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%{_datadir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user