Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package forkstat for openSUSE:Factory 
checked in at 2026-04-01 19:52:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/forkstat (Old)
 and      /work/SRC/openSUSE:Factory/.forkstat.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "forkstat"

Wed Apr  1 19:52:14 2026 rev:19 rq:1344052 version:0.04.00

Changes:
--------
--- /work/SRC/openSUSE:Factory/forkstat/forkstat.changes        2024-05-16 
17:19:31.745390044 +0200
+++ /work/SRC/openSUSE:Factory/.forkstat.new.21863/forkstat.changes     
2026-04-01 19:53:46.940990249 +0200
@@ -1,0 +2,8 @@
+Tue Mar 31 13:33:56 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 0.04.00
+  * Manual: minor tweaks for lintian clean builds.
+  * Manual: rework table headings.
+  * Add support for PROC_EVENT_NONZERO_EXIT events.
+
+-------------------------------------------------------------------

Old:
----
  forkstat-0.03.02.tar.gz

New:
----
  forkstat-0.04.00.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ forkstat.spec ++++++
--- /var/tmp/diff_new_pack.jpDGgL/_old  2026-04-01 19:53:49.197083958 +0200
+++ /var/tmp/diff_new_pack.jpDGgL/_new  2026-04-01 19:53:49.221084955 +0200
@@ -1,8 +1,8 @@
 #
 # spec file for package forkstat
 #
-# Copyright (c) 2024 SUSE LLC
-# Copyright (c) 2017-2020, Martin Hauke <[email protected]>
+# Copyright (c) 2026 SUSE LLC and contributors
+# Copyright (c) 2017-2026, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:           forkstat
-Version:        0.03.02
+Version:        0.04.00
 Release:        0
 Summary:        Process fork/exec/exit monitoring tool
 License:        GPL-2.0-or-later

++++++ forkstat-0.03.02.tar.gz -> forkstat-0.04.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.03.02/Makefile 
new/forkstat-0.04.00/Makefile
--- old/forkstat-0.03.02/Makefile       2024-01-12 10:26:20.000000000 +0100
+++ new/forkstat-0.04.00/Makefile       2025-04-16 11:12:08.000000000 +0200
@@ -1,6 +1,6 @@
 #
 # Copyright (C) 2014-2021 Canonical, Ltd.
-# Copyright (C) 2021-2024 Colin Ian King
+# Copyright (C) 2021-2025 Colin Ian King
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -17,7 +17,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 
USA.
 #
 
-VERSION=0.03.02
+VERSION=0.04.00
 #
 # Version "Perspicacious Process Peeker"
 #
@@ -35,9 +35,10 @@
 
 export DEB_BUILD_HARDENING=1
 
-BINDIR=/usr/bin
-MANDIR=/usr/share/man/man8
-BASHDIR=/usr/share/bash-completion/completions
+PREFIX=/usr
+BINDIR=$(PREFIX)/bin
+MANDIR=$(PREFIX)/share/man/man8
+BASHDIR=$(PREFIX)/share/bash-completion/completions
 
 forkstat: forkstat.o
        $(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ $(LDFLAGS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.03.02/debian/changelog 
new/forkstat-0.04.00/debian/changelog
--- old/forkstat-0.03.02/debian/changelog       2024-01-12 10:26:20.000000000 
+0100
+++ new/forkstat-0.04.00/debian/changelog       2025-04-16 11:12:08.000000000 
+0200
@@ -1,3 +1,13 @@
+forkstat (0.04.00-1) unstable; urgency=medium
+
+  * Makefile: bump version
+  * Manual: minor tweaks for lintian clean builds
+  * Manual: rework table headings
+  * debian/control: update standards version to 4.7.2
+  * Add support for PROC_EVENT_NONZERO_EXIT events
+
+ -- Colin Ian King <[email protected]>  Wed, 16 Apr 2025 09:50:24 +0100
+
 forkstat (0.03.02-1) unstable; urgency=medium
 
   * Makefile: bump version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.03.02/debian/control 
new/forkstat-0.04.00/debian/control
--- old/forkstat-0.03.02/debian/control 2024-01-12 10:26:20.000000000 +0100
+++ new/forkstat-0.04.00/debian/control 2025-04-16 11:12:08.000000000 +0200
@@ -3,7 +3,7 @@
 Section: admin
 Priority: optional
 Maintainer: Colin Ian King <[email protected]>
-Standards-Version: 4.6.2
+Standards-Version: 4.7.2
 Build-Depends: debhelper (>= 13),
                debhelper-compat (=13)
 Homepage: https://github.com/ColinIanKing/forkstat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.03.02/forkstat.8 
new/forkstat-0.04.00/forkstat.8
--- old/forkstat-0.03.02/forkstat.8     2024-01-12 10:26:20.000000000 +0100
+++ new/forkstat-0.04.00/forkstat.8     2025-04-16 11:12:08.000000000 +0200
@@ -2,7 +2,7 @@
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 .\" other parameters are allowed: see man(7), man(1)
-.TH FORKSTAT 8 "12 January 2024"
+.TH FORKSTAT 8 "16 April 2025"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
@@ -15,29 +15,30 @@
 .\" .br        insert line break
 .\" .sp <n>    insert n+1 empty lines
 .\" for manpage-specific macros, see man(7)
+.nr TW 0
 .SH NAME
 forkstat \- a tool to show process fork/exec/exit activity
 .br
-
 .SH SYNOPSIS
 .B forkstat
 .RI [ options ]
 .br
-
 .SH DESCRIPTION
 Forkstat is a program that logs process fork(), exec(), exit(), coredump and
 process name change activity.
 It is useful for monitoring system behaviour and to track down rogue processes
 that are spawning off processes and potentially abusing the system.
-
+.sp
 Note that forkstat uses the Linux netlink connector to gather process activity
 and this may miss events if the system is overly busy. Netlink connector also 
requires
 root privilege.
-
+.sp
 Forkstat will display several columns of process related information:
+.sp
 .TS
-l l.
-\fBTitle       Description\fR
+lB lB
+l lx.
+Title  Description
 Time   When the fork/exec/exit event occurred.
 Event  Type of event.
 PID    Process or thread ID.
@@ -63,14 +64,17 @@
 specify duration in seconds to run forkstat.
 .TP
 .B \-e
-specify events to trace as a comma separated list. By default the fork, exec 
and exit 
+specify events to trace as a comma separated list. By default the fork, exec 
and exit
 events are traced. Available events are:
+.sp
 .TS
-l lw(4i).
-\fBEvent       Description\fR
+lB lB
+l lx.
+Event  Description
 fork   forks
 exec   execs
 exit   exits
+exitnonzero    non-zero exits
 core   core dumps
 comm   process name changes in comm field
 clone  clone (normally on thread creation)
@@ -84,7 +88,7 @@
 enable all events, equivalent to \-e all
 .TP
 .B \-g
-show glyph annotations of events, useful for easier identification of 
+show glyph annotations of events, useful for easier identification of
 different events.
 .TP
 .B \-h
@@ -150,7 +154,7 @@
 This manual page was written by Colin Ian King <[email protected]>,
 for the Ubuntu project (but may be used by others).
 .SH COPYRIGHT
-Copyright \(co 2014-2021 Canonical Ltd, Copyright \(co 2021-2024 Colin Ian 
King.
+Copyright \(co 2014-2021 Canonical Ltd, Copyright \(co 2021-2025 Colin Ian 
King.
 .br
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/forkstat-0.03.02/forkstat.c 
new/forkstat-0.04.00/forkstat.c
--- old/forkstat-0.03.02/forkstat.c     2024-01-12 10:26:20.000000000 +0100
+++ new/forkstat-0.04.00/forkstat.c     2025-04-16 11:12:08.000000000 +0200
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2014-2021 Canonical Ltd.
- * Copyright (C) 2021-2024 Colin Ian King.
+ * Copyright (C) 2021-2025 Colin Ian King.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -85,7 +85,8 @@
 #define OPT_EV_PTRC            (0x04000000)    /* Ptrace event */
 #define OPT_EV_UID             (0x08000000)    /* UID event */
 #define OPT_EV_SID             (0x10000000)    /* SID event */
-#define OPT_EV_MASK            (0x1ff00000)    /* Event mask */
+#define OPT_EV_NONZERO_EXIT    (0x20000000)    /* Exit event, non-zero exit */
+#define OPT_EV_MASK            (0x3ff00000)    /* Event mask */
 #define OPT_EV_ALL             (OPT_EV_MASK)   /* All events */
 
 #define        GOT_TGID                (0x01)
@@ -139,6 +140,7 @@
        STAT_PTRC,              /* Ptrace */
        STAT_UID,               /* UID change */
        STAT_SID,               /* SID change */
+       STAT_NONZERO_EXIT,      /* Non-zero exit */
        STAT_LAST,              /* Always last sentinal */
        STAT_NONE
 } event_t;
@@ -166,17 +168,18 @@
 
 /* Mapping of event names to option flags and event_t types */
 static const ev_map_t ev_map[] = {
-       { "fork", "Fork",       OPT_EV_FORK,    STAT_FORK },
-       { "exec", "Exec",       OPT_EV_EXEC,    STAT_EXEC },
-       { "exit", "Exit",       OPT_EV_EXIT,    STAT_EXIT },
-       { "core", "Coredump",   OPT_EV_CORE,    STAT_CORE },
-       { "comm", "Comm",       OPT_EV_COMM,    STAT_COMM },
-       { "clone","Clone",      OPT_EV_CLNE,    STAT_CLNE },
-       { "ptrce","Ptrace",     OPT_EV_PTRC,    STAT_PTRC },
-       { "uid",  "Uid",        OPT_EV_UID,     STAT_UID  },
-       { "sid",  "Sid",        OPT_EV_SID,     STAT_SID  },
-       { "all",  "",           OPT_EV_ALL,     STAT_NONE },
-       { NULL,   NULL,         0,              STAT_NONE }
+       { "fork",       "Fork",         OPT_EV_FORK,            STAT_FORK },
+       { "exec",       "Exec",         OPT_EV_EXEC,            STAT_EXEC },
+       { "exit",       "Exit",         OPT_EV_EXIT,            STAT_EXIT },
+       { "core",       "Coredump",     OPT_EV_CORE,            STAT_CORE },
+       { "comm",       "Comm",         OPT_EV_COMM,            STAT_COMM },
+       { "clone",      "Clone",        OPT_EV_CLNE,            STAT_CLNE },
+       { "ptrce",      "Ptrace",       OPT_EV_PTRC,            STAT_PTRC },
+       { "uid",        "Uid",          OPT_EV_UID,             STAT_UID  },
+       { "sid",        "Sid",          OPT_EV_SID,             STAT_SID  },
+       { "nonzeroexit","NonzeroExit",  OPT_EV_NONZERO_EXIT,    
STAT_NONZERO_EXIT },
+       { "all",        "",             OPT_EV_ALL,             STAT_NONE },
+       { NULL,         NULL,           0,                      STAT_NONE },
 };
 
 #define KERN_TASK_INFO(str)    { str, sizeof(str) - 1 }
@@ -1673,6 +1676,9 @@
                                                info1->kernel_thread ? "]" : 
"");
                                }
                                break;
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
+                       case PROC_EVENT_NONZERO_EXIT:
+#endif
                        case PROC_EVENT_EXIT:
                                
proc_stats_account(proc_ev->event_data.exit.process_pid, STAT_EXIT);
                                if (!(opt_flags & OPT_QUIET) && (opt_flags & 
OPT_EV_EXIT)) {

Reply via email to