Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2023-01-09 17:23:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trinity" Mon Jan 9 17:23:41 2023 rev:72 rq:1056974 version:1.9+git.20230108 Changes: -------- --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2022-11-28 11:07:36.579902802 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new.32243/trinity.changes 2023-01-09 17:23:42.875128575 +0100 @@ -1,0 +2,7 @@ +Mon Jan 09 07:05:48 UTC 2023 - jsl...@suse.cz + +- Update to version 1.9+git.20230108: + * fix: previous_op_count may more than op_count case process data compete. I met this under mips64 debian + * drop decnet + +------------------------------------------------------------------- Old: ---- trinity-1.9+git.20220913.obscpio New: ---- trinity-1.9+git.20230108.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ trinity.spec ++++++ --- /var/tmp/diff_new_pack.6t2zaE/_old 2023-01-09 17:23:43.427131699 +0100 +++ /var/tmp/diff_new_pack.6t2zaE/_new 2023-01-09 17:23:43.431131721 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: trinity -Version: 1.9+git.20220913 +Version: 1.9+git.20230108 Release: 0 Summary: A Linux System call fuzz tester License: GPL-2.0-only ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.6t2zaE/_old 2023-01-09 17:23:43.471131948 +0100 +++ /var/tmp/diff_new_pack.6t2zaE/_new 2023-01-09 17:23:43.475131970 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kernelslacker/trinity</param> - <param name="changesrevision">e63e484304de349150298c2e9fad38dfeae0b1cb</param></service></servicedata> + <param name="changesrevision">09ddd021db5673074e05f980e998a640ec7a4df9</param></service></servicedata> (No newline at EOF) ++++++ trinity-1.9+git.20220913.obscpio -> trinity-1.9+git.20230108.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20220913/include/net.h new/trinity-1.9+git.20230108/include/net.h --- old/trinity-1.9+git.20220913/include/net.h 2022-09-13 06:46:16.000000000 +0200 +++ new/trinity-1.9+git.20230108/include/net.h 2023-01-08 22:15:21.000000000 +0100 @@ -80,7 +80,6 @@ extern const struct netproto proto_atmsvc; extern const struct netproto proto_x25; extern const struct netproto proto_rose; -extern const struct netproto proto_decnet; extern const struct netproto proto_llc; extern const struct netproto proto_netlink; extern const struct netproto proto_packet; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20220913/main.c new/trinity-1.9+git.20230108/main.c --- old/trinity-1.9+git.20220913/main.c 2022-09-13 06:46:16.000000000 +0200 +++ new/trinity-1.9+git.20230108/main.c 2023-01-08 22:15:21.000000000 +0100 @@ -39,7 +39,11 @@ { unsigned int i; - if (shm->stats.op_count < shm->stats.previous_op_count) { + unsigned long current_previous_op_count = shm->stats.previous_op_count; + unsigned long current_op_count = shm->stats.op_count; + + //if (shm->stats.op_count < shm->stats.previous_op_count) { + if (current_op_count < current_previous_op_count) { output(0, "Execcount went backwards! (old:%ld new:%ld):\n", shm->stats.previous_op_count, shm->stats.op_count); panic(EXIT_SHM_CORRUPTION); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20220913/net/proto-decnet.c new/trinity-1.9+git.20230108/net/proto-decnet.c --- old/trinity-1.9+git.20220913/net/proto-decnet.c 2022-09-13 06:46:16.000000000 +0200 +++ new/trinity-1.9+git.20230108/net/proto-decnet.c 1970-01-01 01:00:00.000000000 +0100 @@ -1,59 +0,0 @@ -#include <sys/types.h> -#include <sys/socket.h> -#include <sys/un.h> -#include <netinet/in.h> -#include <linux/dn.h> -#include <stdlib.h> -#include "net.h" -#include "random.h" -#include "utils.h" // RAND_ARRAY -#include "compat.h" - -static void decnet_gen_sockaddr(struct sockaddr **addr, socklen_t *addrlen) -{ - struct sockaddr_dn *dn; - unsigned int i; - - dn = zmalloc(sizeof(struct sockaddr_dn)); - - dn->sdn_family = PF_DECnet; - dn->sdn_flags = rnd(); - dn->sdn_objnum = rnd(); - dn->sdn_objnamel = rnd() % 16; - for (i = 0; i < dn->sdn_objnamel; i++) - dn->sdn_objname[i] = rnd(); - dn->sdn_add.a_len = RAND_BOOL(); - dn->sdn_add.a_addr[0] = rnd(); - dn->sdn_add.a_addr[1] = rnd(); - *addr = (struct sockaddr *) dn; - *addrlen = sizeof(struct sockaddr_dn); -} - -static const unsigned int decnet_opts[] = { - SO_CONDATA, SO_CONACCESS, SO_PROXYUSR, SO_LINKINFO, - DSO_CONDATA, DSO_DISDATA, DSO_CONACCESS, DSO_ACCEPTMODE, - DSO_CONACCEPT, DSO_CONREJECT, DSO_LINKINFO, DSO_STREAM, - DSO_SEQPACKET, DSO_MAXWINDOW, DSO_NODELAY, DSO_CORK, - DSO_SERVICES, DSO_INFO -}; - -static void decnet_setsockopt(struct sockopt *so, __unused__ struct socket_triplet *triplet) -{ - so->level = SOL_DECNET; - so->optname = RAND_ARRAY(decnet_opts); - - // TODO: set optlen correctly -} - -static struct socket_triplet decnet_triplets[] = { - { .family = PF_DECnet, .protocol = DNPROTO_NSP, .type = SOCK_SEQPACKET }, - { .family = PF_DECnet, .protocol = DNPROTO_NSP, .type = SOCK_STREAM }, -}; - -const struct netproto proto_decnet = { - .name = "decnet", - .setsockopt = decnet_setsockopt, - .gen_sockaddr = decnet_gen_sockaddr, - .valid_triplets = decnet_triplets, - .nr_triplets = ARRAY_SIZE(decnet_triplets), -}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20220913/net/proto-unix.c new/trinity-1.9+git.20230108/net/proto-unix.c --- old/trinity-1.9+git.20220913/net/proto-unix.c 2022-09-13 06:46:16.000000000 +0200 +++ new/trinity-1.9+git.20230108/net/proto-unix.c 2023-01-08 22:15:21.000000000 +0100 @@ -2,7 +2,6 @@ #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> -#include <linux/dn.h> #include <stdlib.h> #include "net.h" #include "random.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20220913/net/protocols.c new/trinity-1.9+git.20230108/net/protocols.c --- old/trinity-1.9+git.20220913/net/protocols.c 2022-09-13 06:46:16.000000000 +0200 +++ new/trinity-1.9+git.20230108/net/protocols.c 2023-01-08 22:15:21.000000000 +0100 @@ -18,7 +18,6 @@ #ifdef USE_IPV6 [PF_INET6] = { .proto = &proto_inet6 }, #endif - [PF_DECnet] = { .proto = &proto_decnet }, [PF_PACKET] = { .proto = &proto_packet }, #ifdef USE_NETECONET [PF_ECONET] = { .proto = &proto_econet }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20220913/shm.c new/trinity-1.9+git.20230108/shm.c --- old/trinity-1.9+git.20220913/shm.c 2022-09-13 06:46:16.000000000 +0200 +++ new/trinity-1.9+git.20230108/shm.c 2023-01-08 22:15:21.000000000 +0100 @@ -49,6 +49,7 @@ shm->debug = TRUE; shm->stats.op_count = 0; + shm->stats.previous_op_count = 0; shm->seed = init_seed(seed); ++++++ trinity.obsinfo ++++++ --- /var/tmp/diff_new_pack.6t2zaE/_old 2023-01-09 17:23:43.695133215 +0100 +++ /var/tmp/diff_new_pack.6t2zaE/_new 2023-01-09 17:23:43.699133238 +0100 @@ -1,5 +1,5 @@ name: trinity -version: 1.9+git.20220913 -mtime: 1663044376 -commit: e63e484304de349150298c2e9fad38dfeae0b1cb +version: 1.9+git.20230108 +mtime: 1673212521 +commit: 09ddd021db5673074e05f980e998a640ec7a4df9