commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2020-03-11 18:48:30 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.3160 (New) Package is "trinity" Wed Mar 11 18:48:30 2020 rev:63 rq:783355 version:1.9+git.20200228 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2020-02-18 10:40:16.284928101 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new.3160/trinity.changes 2020-03-11 18:50:43.931551094 +0100 @@ -1,0 +2,8 @@ +Tue Mar 10 12:05:09 UTC 2020 - Martin Pluskal + +- Update to version 1.9+git.20200228: + * new io_uring_register opcodes +- Change compression to gz form faster builds +- Small package cleanup + +--- Old: trinity-1.9+git.20200130.obscpio New: trinity-1.9+git.20200228.obscpio Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.1kEz48/_old 2020-03-11 18:50:45.483551788 +0100 +++ /var/tmp/diff_new_pack.1kEz48/_new 2020-03-11 18:50:45.483551788 +0100 @@ -17,12 +17,12 @@ Name: trinity -Version:1.9+git.20200130 +Version:1.9+git.20200228 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only URL:http://codemonkey.org.uk/projects/trinity/ -Source0:%{name}-%{version}.tar.xz +Source0:%{name}-%{version}.tar.gz %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -31,18 +31,18 @@ Trinity differs is that the arguments it passes are not purely random. %prep -%autosetup -p1 +%autosetup %build export CFLAGS="%{optflags}" # Not autotools configure ./configure # disable -Werror by setting DEVEL to 0 -make %{?_smp_mflags} DEVEL=0 V=1 +%make_build DEVEL=0 %install -make DESTDIR=%{buildroot}%{_prefix} install -install -D -p -m 0644 trinity.1 \ +%make_install DESTDIR=%{buildroot}%{_prefix} +install -Dpm 0644 trinity.1 \ %{buildroot}%{_mandir}/man1/trinity.1 %files ++ _service ++ --- /var/tmp/diff_new_pack.1kEz48/_old 2020-03-11 18:50:45.511551800 +0100 +++ /var/tmp/diff_new_pack.1kEz48/_new 2020-03-11 18:50:45.511551800 +0100 @@ -10,7 +10,6 @@ *.tar -xz +gz - ++ _servicedata ++ --- /var/tmp/diff_new_pack.1kEz48/_old 2020-03-11 18:50:45.523551805 +0100 +++ /var/tmp/diff_new_pack.1kEz48/_new 2020-03-11 18:50:45.527551807 +0100 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - e53e25cc8dd5bdb5f7d9b4247de9e9921eec81d8 \ No newline at end of file + 4d2343bd18c7b4db4c59e7a03aac702218305dd0 \ No newline at end of file ++ trinity-1.9+git.20200130.obscpio -> trinity-1.9+git.20200228.obscpio ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20200130/syscalls/io_uring_register.c new/trinity-1.9+git.20200228/syscalls/io_uring_register.c --- old/trinity-1.9+git.20200130/syscalls/io_uring_register.c 2020-01-31 07:11:00.0 +0100 +++ new/trinity-1.9+git.20200228/syscalls/io_uring_register.c 2020-02-28 20:06:19.0 +0100 @@ -9,6 +9,12 @@ #define IORING_UNREGISTER_FILES 3 #define IORING_REGISTER_EVENTFD 4 #define IORING_UNREGISTER_EVENTFD 5 +#define IORING_REGISTER_FILES_UPDATE6 +#define IORING_REGISTER_EVENTFD_ASYNC 7 +#define IORING_REGISTER_PROBE 8 +#define IORING_REGISTER_PERSONALITY 9 +#define IORING_UNREGISTER_PERSONALITY 10 + static unsigned long io_uring_register_opcodes[] = { IORING_REGISTER_BUFFERS, @@ -17,6 +23,11 @@ IORING_UNREGISTER_FILES, IORING_REGISTER_EVENTFD, IORING_UNREGISTER_EVENTFD, + IORING_REGISTER_FILES_UPDATE, + IORING_REGISTER_EVENTFD_ASYNC, + IORING_REGISTER_PROBE, + IORING_REGISTER_PERSONALITY, + IORING_UNREGISTER_PERSONALITY, }; struct syscallentry syscall_io_uring_register = { ++ trinity.obsinfo ++ --- /var/tmp/diff_new_pack.1kEz48/_old 2020-03-11 18:50:45.687551879 +0100 +++ /var/tmp/diff_new_pack.1kEz48/_new 2020-03-11 18:50:45.687551879 +0100 @@ -1,5 +1,5 @@ name: trinity -version: 1.9+git.20200130 -mtime: 1580451060 -commit: e53e25cc8dd5bdb5f7d9b4247de9e9921eec81d8 +version: 1.9+git.20200228 +mtime: 1582916779 +commit: 4d2343bd18c7b4db4c59e7a03aac702218305dd0
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2020-02-18 10:39:05 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.26092 (New) Package is "trinity" Tue Feb 18 10:39:05 2020 rev:62 rq:774848 version:1.9+git.20200130 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2020-01-22 22:46:20.784577910 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new.26092/trinity.changes 2020-02-18 10:40:16.284928101 +0100 @@ -1,0 +2,15 @@ +Mon Feb 17 12:03:52 UTC 2020 - Martin Pluskal + +- Update to version 1.9+git.20200130: + * Fix build with GCC 10. + * remove more udp detritus + * Remove leftover udp.h include. + * remove dead var + * remove all the udp logging + * Remove unnecessary abstraction. + * syscalls: remove arch_prctl from x86_32 + * modify_ldt: include linux/types.h before ASSEMBLY == 1 + * Remove DEVEL crud + * update TCP setsockopts + +--- Old: trinity-1.9+git.20191230.obscpio New: _servicedata trinity-1.9+git.20200130.obscpio Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.mjn17r/_old 2020-02-18 10:40:20.304936303 +0100 +++ /var/tmp/diff_new_pack.mjn17r/_new 2020-02-18 10:40:20.304936303 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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.20191230 +Version:1.9+git.20200130 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only ++ _servicedata ++ git://github.com/kernelslacker/trinity e53e25cc8dd5bdb5f7d9b4247de9e9921eec81d8++ trinity-1.9+git.20191230.obscpio -> trinity-1.9+git.20200130.obscpio ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20191230/include/logfile.h new/trinity-1.9+git.20200130/include/logfile.h --- old/trinity-1.9+git.20191230/include/logfile.h 2019-12-31 01:04:36.0 +0100 +++ new/trinity-1.9+git.20200130/include/logfile.h 2020-01-31 07:11:00.0 +0100 @@ -5,7 +5,7 @@ FILE *find_logfile_handle(void); void synclogs(void); -FILE *mainlogfile; +extern FILE *mainlogfile; void open_main_logfile(void); void close_logfile(FILE **handle); ++ trinity.obsinfo ++ --- /var/tmp/diff_new_pack.mjn17r/_old 2020-02-18 10:40:20.580936866 +0100 +++ /var/tmp/diff_new_pack.mjn17r/_new 2020-02-18 10:40:20.580936866 +0100 @@ -1,5 +1,5 @@ name: trinity -version: 1.9+git.20191230 -mtime: 1577750676 -commit: 1c734c75dfed9706c58e6213848dd7111ddb5b47 +version: 1.9+git.20200130 +mtime: 1580451060 +commit: e53e25cc8dd5bdb5f7d9b4247de9e9921eec81d8
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2020-01-22 22:46:09 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.26092 (New) Package is "trinity" Wed Jan 22 22:46:09 2020 rev:61 rq:766313 version:1.9+git.20191230 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2019-11-27 13:56:44.972263926 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new.26092/trinity.changes 2020-01-22 22:46:20.784577910 +0100 @@ -1,0 +2,11 @@ +Wed Jan 22 10:41:26 UTC 2020 - tchva...@suse.com + +- Update to version 1.9+git.20191230: + * remove more udp detritus + * Remove leftover udp.h include. + * remove dead var + * remove all the udp logging + * Remove unnecessary abstraction. +- Switch to the obs_scm from tar_scm + +--- Old: _servicedata trinity-1.9+git.20191119.tar.xz New: trinity-1.9+git.20191230.obscpio trinity.obsinfo Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.eHYy4c/_old 2020-01-22 22:46:21.884578464 +0100 +++ /var/tmp/diff_new_pack.eHYy4c/_new 2020-01-22 22:46:21.908578475 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,11 @@ # -%define version_unconverted 1.9+git.20191119 Name: trinity -Version:1.9+git.20191119 +Version:1.9+git.20191230 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only -Group: Development/Tools/Other URL:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz ++ _service ++ --- /var/tmp/diff_new_pack.eHYy4c/_old 2020-01-22 22:46:22.084578564 +0100 +++ /var/tmp/diff_new_pack.eHYy4c/_new 2020-01-22 22:46:22.088578567 +0100 @@ -1,14 +1,16 @@ - + git://github.com/kernelslacker/trinity git enable trinity 1.9+git.%cd - + + + *.tar xz - + ++ trinity.obsinfo ++ name: trinity version: 1.9+git.20191230 mtime: 1577750676 commit: 1c734c75dfed9706c58e6213848dd7111ddb5b47
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2019-11-27 13:55:48 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.26869 (New) Package is "trinity" Wed Nov 27 13:55:48 2019 rev:60 rq:751195 version:1.9+git.20191119 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2019-11-18 20:11:33.085556501 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new.26869/trinity.changes 2019-11-27 13:56:44.972263926 +0100 @@ -1,0 +2,9 @@ +Wed Nov 20 08:00:22 UTC 2019 - jsl...@suse.com + +- Update to version 1.9+git.20191119: + * syscalls: remove arch_prctl from x86_32 + * modify_ldt: include linux/types.h before ASSEMBLY == 1 +- drop 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch and + 0001-syscalls-remove-arch_prctl-from-x86_32.patch (upstream) + +--- Old: 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch 0001-syscalls-remove-arch_prctl-from-x86_32.patch trinity-1.9+git.20190801.tar.xz New: trinity-1.9+git.20191119.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.xCD0tH/_old 2019-11-27 13:56:46.816263148 +0100 +++ /var/tmp/diff_new_pack.xCD0tH/_new 2019-11-27 13:56:46.820263146 +0100 @@ -16,17 +16,15 @@ # -%define version_unconverted 1.9+git.20190801 +%define version_unconverted 1.9+git.20191119 Name: trinity -Version:1.9+git.20190801 +Version:1.9+git.20191119 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only Group: Development/Tools/Other URL:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -Patch0: 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch -Patch1: 0001-syscalls-remove-arch_prctl-from-x86_32.patch %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls ++ _servicedata ++ --- /var/tmp/diff_new_pack.xCD0tH/_old 2019-11-27 13:56:46.856263131 +0100 +++ /var/tmp/diff_new_pack.xCD0tH/_new 2019-11-27 13:56:46.860263129 +0100 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - f93256fb0da5c376ed790e10f6fa98d107877dfb \ No newline at end of file + af355e9497b60a14187cc97b1625deafa22c38ec \ No newline at end of file ++ trinity-1.9+git.20190801.tar.xz -> trinity-1.9+git.20191119.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190801/include/syscalls-i386.h new/trinity-1.9+git.20191119/include/syscalls-i386.h --- old/trinity-1.9+git.20190801/include/syscalls-i386.h2019-08-02 02:17:51.0 +0200 +++ new/trinity-1.9+git.20191119/include/syscalls-i386.h2019-11-19 16:18:11.0 +0100 @@ -395,7 +395,7 @@ { .entry = _pkey_alloc }, { .entry = _pkey_free }, { .entry = _statx }, - { .entry = _arch_prctl }, + { .entry = NULL }, /* we don't care about arch_prctl */ { .entry = _io_pgetevents }, { .entry = _rseq }, { .entry = _semget }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190801/syscalls/x86/modify_ldt.c new/trinity-1.9+git.20191119/syscalls/x86/modify_ldt.c --- old/trinity-1.9+git.20190801/syscalls/x86/modify_ldt.c 2019-08-02 02:17:51.0 +0200 +++ new/trinity-1.9+git.20191119/syscalls/x86/modify_ldt.c 2019-11-19 16:18:11.0 +0100 @@ -6,6 +6,7 @@ */ #include #include +#include /* before __ASSEMBLY__ == 1 */ #define __ASSEMBLY__ 1 #include #include "sanitise.h"
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2019-11-18 20:11:17 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.26869 (New) Package is "trinity" Mon Nov 18 20:11:17 2019 rev:59 rq:749253 version:1.9+git.20190801 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2019-08-28 18:37:44.609260112 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new.26869/trinity.changes 2019-11-18 20:11:33.085556501 +0100 @@ -1,0 +2,6 @@ +Mon Nov 18 09:13:22 UTC 2019 - Jiri Slaby + +- add 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch and + 0001-syscalls-remove-arch_prctl-from-x86_32.patch to fix build + +--- New: 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch 0001-syscalls-remove-arch_prctl-from-x86_32.patch Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.qHhQms/_old 2019-11-18 20:11:34.341555861 +0100 +++ /var/tmp/diff_new_pack.qHhQms/_new 2019-11-18 20:11:34.36848 +0100 @@ -25,6 +25,8 @@ Group: Development/Tools/Other URL:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz +Patch0: 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch +Patch1: 0001-syscalls-remove-arch_prctl-from-x86_32.patch %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -33,7 +35,7 @@ Trinity differs is that the arguments it passes are not purely random. %prep -%setup -q +%autosetup -p1 %build export CFLAGS="%{optflags}" ++ 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch ++ From: Jiri Slaby Date: Mon, 18 Nov 2019 10:07:40 +0100 Subject: modify_ldt: include linux/types.h before ASSEMBLY == 1 Patch-mainline: submitted 2019/11/18 References: build fix Otherwise we see a lot of: In file included from /usr/include/bits/statx.h:30, from /usr/include/sys/stat.h:446, from include/files.h:3, from include/shm.h:6, from syscalls/x86/modify_ldt.c:12: /usr/include/linux/stat.h:57:2: error: unknown type name '__s64' 57 | __s64 tv_sec; | ^ /usr/include/linux/stat.h:58:2: error: unknown type name '__u32' 58 | __u32 tv_nsec; | ^ Signed-off-by: Jiri Slaby --- syscalls/x86/modify_ldt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/syscalls/x86/modify_ldt.c b/syscalls/x86/modify_ldt.c index f2eaf065df94..0221561a5a45 100644 --- a/syscalls/x86/modify_ldt.c +++ b/syscalls/x86/modify_ldt.c @@ -6,6 +6,7 @@ */ #include #include +#include /* before __ASSEMBLY__ == 1 */ #define __ASSEMBLY__ 1 #include #include "sanitise.h" -- 2.24.0 ++ 0001-syscalls-remove-arch_prctl-from-x86_32.patch ++ From: Jiri Slaby Date: Mon, 18 Nov 2019 10:17:06 +0100 Subject: syscalls: remove arch_prctl from x86_32 Patch-mainline: submitted 2019/11/18 References: build fix It's not defined there: /usr/lib/gcc/i586-suse-linux/9/../../../../i586-suse-linux/bin/ld: tables.o:(.data.rel+0x600): undefined reference to `syscall_arch_prctl' Signed-off-by: Jiri Slaby --- include/syscalls-i386.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/syscalls-i386.h b/include/syscalls-i386.h index 844ef68b27f9..1d365ed7367f 100644 --- a/include/syscalls-i386.h +++ b/include/syscalls-i386.h @@ -395,7 +395,6 @@ struct syscalltable syscalls_i386[] = { { .entry = _pkey_alloc }, { .entry = _pkey_free }, { .entry = _statx }, - { .entry = _arch_prctl }, { .entry = _io_pgetevents }, { .entry = _rseq }, { .entry = _semget }, -- 2.24.0
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2019-08-28 18:37:31 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.7948 (New) Package is "trinity" Wed Aug 28 18:37:31 2019 rev:58 rq:726676 version:1.9+git.20190801 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2019-07-18 15:20:12.576146318 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new.7948/trinity.changes 2019-08-28 18:37:44.609260112 +0200 @@ -1,0 +2,10 @@ +Wed Aug 28 07:05:26 UTC 2019 - Martin Pluskal + +- Update to version 1.9+git.20190801: + * Remove DEVEL crud + * update TCP setsockopts + * Add SO_DETACH_REUSEPORT_BPF + * update x86-32 syscalls + * add new 5.3 syscalls + +--- Old: trinity-1.9+git.20190701.tar.xz New: trinity-1.9+git.20190801.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.U3y0pe/_old 2019-08-28 18:37:46.953259704 +0200 +++ /var/tmp/diff_new_pack.U3y0pe/_new 2019-08-28 18:37:46.953259704 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.9+git.20190701 +%define version_unconverted 1.9+git.20190801 Name: trinity -Version:1.9+git.20190701 +Version:1.9+git.20190801 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only ++ _servicedata ++ --- /var/tmp/diff_new_pack.U3y0pe/_old 2019-08-28 18:37:46.989259698 +0200 +++ /var/tmp/diff_new_pack.U3y0pe/_new 2019-08-28 18:37:46.989259698 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 28c9d12aed813412b617de36ad68bf61219c16f1 \ No newline at end of file + f93256fb0da5c376ed790e10f6fa98d107877dfb \ No newline at end of file ++ trinity-1.9+git.20190701.tar.xz -> trinity-1.9+git.20190801.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190701/Makefile new/trinity-1.9+git.20190801/Makefile --- old/trinity-1.9+git.20190701/Makefile 2019-07-01 16:01:32.0 +0200 +++ new/trinity-1.9+git.20190801/Makefile 2019-08-02 02:17:51.0 +0200 @@ -1,11 +1,5 @@ VERSION="2019.06" -ifeq (,$(findstring pre,$(VERSION))) -DEVEL = 0 -else -DEVEL = 1 -endif - INSTALL_PREFIX ?= $(DESTDIR) INSTALL_PREFIX ?= $(HOME) NR_CPUS := $(shell grep -c ^processor /proc/cpuinfo) @@ -22,14 +16,6 @@ CCSTD := $(shell if $(CC) -std=gnu11 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-std=gnu11"; else echo "-std=gnu99"; fi) CFLAGS += $(CCSTD) -# -Werror only enabled during development, and on gcc 7+ -ifeq ($(DEVEL), 1) -CPP_MAJOR := $(shell $(CPP) -dumpversion 2>&1 | cut -d'.' -f1) -CPP_MINOR := $(shell $(CPP) -dumpversion 2>&1 | cut -d'.' -f2) -WERROR := $(shell if [ $(CPP_MAJOR) -ge 7 ] ; then echo "-Werror"; else echo ""; fi) -CFLAGS += $(WERROR) -endif - ifneq ($(SYSROOT),) CFLAGS += --sysroot=$(SYSROOT) endif @@ -59,9 +45,6 @@ ifneq ($(shell $(CC) -v 2>&1 | grep -c "clang"), 1) CFLAGS += -Wlogical-op CFLAGS += -Wstrict-aliasing=3 -ifeq ($(DEVEL), 0) -CFLAGS += -Wno-maybe-uninitialized -endif endif # Sometimes useful for debugging. more useful with clang than gcc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190701/include/compat.h new/trinity-1.9+git.20190801/include/compat.h --- old/trinity-1.9+git.20190701/include/compat.h 2019-07-01 16:01:32.0 +0200 +++ new/trinity-1.9+git.20190801/include/compat.h 2019-08-02 02:17:51.0 +0200 @@ -582,6 +582,10 @@ #define SO_SNDTIMEO_NEW 67 #endif +#ifndef SO_DETACH_REUSEPORT_BPF +#define SO_DETACH_REUSEPORT_BPF 68 +#endif + /* linux/tcp.h */ @@ -654,6 +658,26 @@ #define TCP_MD5SIG_EXT 32 #endif +#ifndef TCP_FASTOPEN_KEY +#define TCP_FASTOPEN_KEY33 /* Set the key for Fast Open (cookie) */ +#endif + +#ifndef TCP_FASTOPEN_NO_COOKIE +#define TCP_FASTOPEN_NO_COOKIE 34 /* Enable TFO without a TFO cookie */ +#endif + +#ifndef TCP_ZEROCOPY_RECEIVE +#define TCP_ZEROCOPY_RECEIVE35 +#endif + +#ifndef TCP_INQ +#define TCP_INQ 36 /* Notify bytes available to read as a cmsg on read */ +#endif + +#ifndef TCP_TX_DELAY +#define TCP_TX_DELAY 37 +#endif + /* linux/if_packet.h */ #ifndef PACKET_VNET_HDR #define PACKET_VNET_HDR15 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190701/include/syscalls-i386.h new/trinity-1.9+git.20190801/include/syscalls-i386.h ---
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2019-06-27 15:26:18 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.4615 (New) Package is "trinity" Thu Jun 27 15:26:18 2019 rev:56 rq:712154 version:1.9+git.20190614 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2019-06-19 21:01:57.518166617 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new.4615/trinity.changes 2019-06-27 15:26:19.777604575 +0200 @@ -1,0 +2,8 @@ +Wed Jun 26 14:20:56 UTC 2019 - Martin Pluskal + +- Update to version 1.9+git.20190614: + * memfd build fixes for modern glibc + * cppcheck fixes + * strncpy -> memcpy + +--- Old: trinity-1.9+git.20190124.tar.xz New: trinity-1.9+git.20190614.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.yyLD2C/_old 2019-06-27 15:26:20.177605077 +0200 +++ /var/tmp/diff_new_pack.yyLD2C/_new 2019-06-27 15:26:20.181605082 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.9+git.20190124 +%define version_unconverted 1.9+git.20190614 Name: trinity -Version:1.9+git.20190124 +Version:1.9+git.20190614 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only ++ _servicedata ++ --- /var/tmp/diff_new_pack.yyLD2C/_old 2019-06-27 15:26:20.217605127 +0200 +++ /var/tmp/diff_new_pack.yyLD2C/_new 2019-06-27 15:26:20.217605127 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 865d3fc2e9d402bf5c213706dc97939569fd606b \ No newline at end of file + 2d0c1817b57022072d2b7dae9ad8f1ac3127cd13 \ No newline at end of file ++ trinity-1.9+git.20190124.tar.xz -> trinity-1.9+git.20190614.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190124/fds/memfd.c new/trinity-1.9+git.20190614/fds/memfd.c --- old/trinity-1.9+git.20190124/fds/memfd.c2019-01-24 21:43:11.0 +0100 +++ new/trinity-1.9+git.20190614/fds/memfd.c2019-06-14 18:40:20.0 +0200 @@ -18,6 +18,8 @@ #include "udp.h" #ifndef USE_MEMFD_CREATE + +#ifndef MFD_ALLOW_SEALING static int memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) { #ifdef SYS_memfd_create @@ -27,6 +29,7 @@ #endif } #endif +#endif static void memfd_destructor(struct object *obj) { @@ -45,7 +48,7 @@ init_msgobjhdr(, OBJ_CREATED_MEMFD, global, obj); objmsg.fd = mo->fd; len = strlen(mo->name); - strncpy(objmsg.name, mo->name, len); + memcpy(objmsg.name, mo->name, len); objmsg.flags = mo->flags; sendudp((char *) , sizeof(objmsg)); } @@ -58,7 +61,7 @@ 0, MFD_CLOEXEC, MFD_CLOEXEC | MFD_ALLOW_SEALING, - MFD_ALLOW_SEALING, + MFD_ALLOW_SEALING, MFD_HUGETLB, }; head = get_objhead(OBJ_GLOBAL, OBJ_FD_MEMFD); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190124/include/memfd.h new/trinity-1.9+git.20190614/include/memfd.h --- old/trinity-1.9+git.20190124/include/memfd.h2019-01-24 21:43:11.0 +0100 +++ new/trinity-1.9+git.20190614/include/memfd.h2019-06-14 18:40:20.0 +0200 @@ -3,6 +3,7 @@ #ifndef MFD_CLOEXEC #define MFD_CLOEXEC 0x0001U #define MFD_ALLOW_SEALING 0x0002U +#define MFD_HUGETLB0x0004U #endif // FIXME: Keep all this here until glibc supports it. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190124/mm/maps.c new/trinity-1.9+git.20190614/mm/maps.c --- old/trinity-1.9+git.20190124/mm/maps.c 2019-01-24 21:43:11.0 +0100 +++ new/trinity-1.9+git.20190614/mm/maps.c 2019-06-14 18:40:20.0 +0200 @@ -72,7 +72,7 @@ init_msgobjhdr(, OBJ_CREATED_MAP, global, obj); objmsg.start = m->ptr; len = strlen(m->name); - strncpy(objmsg.name, m->name, len); + memcpy(objmsg.name, m->name, len); memset(objmsg.name + len, 0, MAPS_NAME_MAX_LEN - len); objmsg.prot = m->prot; objmsg.type = m->type; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20190124/pathnames.c new/trinity-1.9+git.20190614/pathnames.c --- old/trinity-1.9+git.20190124/pathnames.c2019-01-24 21:43:11.0 +0100 +++ new/trinity-1.9+git.20190614/pathnames.c2019-06-14 18:40:20.0 +0200 @@ -117,7 +117,7 @@
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2019-06-19 21:01:54 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new.4811 (New) Package is "trinity" Wed Jun 19 21:01:54 2019 rev:55 rq:706046 version:1.9+git.20190124 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2018-10-04 19:03:10.487097308 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new.4811/trinity.changes 2019-06-19 21:01:57.518166617 +0200 @@ -1,0 +2,11 @@ +Tue Mar 12 07:34:11 UTC 2019 - jsl...@suse.com + +- Update to version 1.9+git.20190124: + * Begin 1.10 + * 1.9 release + * Compile fix missing bits of commit that added the new syscalls. + * proto-rds: include libc network headers first + * Silence spew from fds/bpf.c + * add skeletons for io_pgetevents & rseq + +--- Old: trinity-1.9+git.20180921.tar.xz New: trinity-1.9+git.20190124.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.Cwwzh2/_old 2019-06-19 21:01:58.150167147 +0200 +++ /var/tmp/diff_new_pack.Cwwzh2/_new 2019-06-19 21:01:58.154167151 +0200 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define version_unconverted 1.9+git.20180921 +%define version_unconverted 1.9+git.20190124 Name: trinity -Version:1.9+git.20180921 +Version:1.9+git.20190124 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only ++ _servicedata ++ --- /var/tmp/diff_new_pack.Cwwzh2/_old 2019-06-19 21:01:58.206167194 +0200 +++ /var/tmp/diff_new_pack.Cwwzh2/_new 2019-06-19 21:01:58.206167194 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 9f6f9f916da3b42cef2e7c30101ff4b0397df736 \ No newline at end of file + 865d3fc2e9d402bf5c213706dc97939569fd606b \ No newline at end of file ++ trinity-1.9+git.20180921.tar.xz -> trinity-1.9+git.20190124.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180921/Makefile new/trinity-1.9+git.20190124/Makefile --- old/trinity-1.9+git.20180921/Makefile 2018-09-21 07:52:35.0 +0200 +++ new/trinity-1.9+git.20190124/Makefile 2019-01-24 21:43:11.0 +0100 @@ -1,4 +1,4 @@ -VERSION="1.9pre" +VERSION="1.10pre" ifeq (,$(findstring pre,$(VERSION))) DEVEL = 0 @@ -46,6 +46,8 @@ CFLAGS += -Wno-format-nonliteral CFLAGS += -Wstrict-prototypes -Wmissing-prototypes CFLAGS += -fsigned-char +# BPF spew. +CFLAGS += -Wno-missing-field-initializers # needed for show_backtrace() to work correctly. LDFLAGS += -rdynamic diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180921/include/syscalls-x86_64.h new/trinity-1.9+git.20190124/include/syscalls-x86_64.h --- old/trinity-1.9+git.20180921/include/syscalls-x86_64.h 2018-09-21 07:52:35.0 +0200 +++ new/trinity-1.9+git.20190124/include/syscalls-x86_64.h 2019-01-24 21:43:11.0 +0100 @@ -344,4 +344,6 @@ { .entry = _pkey_alloc }, { .entry = _pkey_free }, { .entry = _statx }, + { .entry = _io_pgetevents }, + { .entry = _rseq }, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180921/net/proto-rds.c new/trinity-1.9+git.20190124/net/proto-rds.c --- old/trinity-1.9+git.20180921/net/proto-rds.c2018-09-21 07:52:35.0 +0200 +++ new/trinity-1.9+git.20190124/net/proto-rds.c2019-01-24 21:43:11.0 +0100 @@ -1,12 +1,12 @@ #ifdef USE_RDS #include #include -#include #include #include "net.h" #include "compat.h" #include "random.h" #include "utils.h" // RAND_ARRAY +#include static void rds_gen_sockaddr(struct sockaddr **addr, socklen_t *addrlen) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180921/syscalls/io_pgetevents.c new/trinity-1.9+git.20190124/syscalls/io_pgetevents.c --- old/trinity-1.9+git.20180921/syscalls/io_pgetevents.c 1970-01-01 01:00:00.0 +0100 +++ new/trinity-1.9+git.20190124/syscalls/io_pgetevents.c 2019-01-24 21:43:11.0 +0100 @@ -0,0 +1,25 @@ +/* + * SYSCALL_DEFINE6(io_pgetevents, + *
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2018-10-04 19:03:06 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Thu Oct 4 19:03:06 2018 rev:54 rq:639945 version:1.9+git.20180921 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2018-08-29 12:26:23.427552760 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2018-10-04 19:03:10.487097308 +0200 @@ -1,0 +2,6 @@ +Thu Sep 27 10:54:25 UTC 2018 - Martin Pluskal + +- Update to version 1.9+git.20180921: + * Fixed trinity compile issue as on gcc gcc (Ubuntu 8.2.0-6ubuntu1) 8.2.0 it failed as -Werror=format-overflow= while assigning a array variable as size over flow + +--- Old: trinity-1.9+git.20180827.tar.xz New: trinity-1.9+git.20180921.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.BNS286/_old 2018-10-04 19:03:11.719096009 +0200 +++ /var/tmp/diff_new_pack.BNS286/_new 2018-10-04 19:03:11.723096005 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.9+git.20180827 +%define version_unconverted 1.9+git.20180921 Name: trinity -Version:1.9+git.20180827 +Version:1.9+git.20180921 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only ++ _servicedata ++ --- /var/tmp/diff_new_pack.BNS286/_old 2018-10-04 19:03:11.759095967 +0200 +++ /var/tmp/diff_new_pack.BNS286/_new 2018-10-04 19:03:11.763095963 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - a5f32b9714613404e9f4699d720f2bb033b4 \ No newline at end of file + 9f6f9f916da3b42cef2e7c30101ff4b0397df736 \ No newline at end of file ++ trinity-1.9+git.20180827.tar.xz -> trinity-1.9+git.20180921.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180827/syscalls/perf_event_open.c new/trinity-1.9+git.20180921/syscalls/perf_event_open.c --- old/trinity-1.9+git.20180827/syscalls/perf_event_open.c 2018-08-27 06:35:20.0 +0200 +++ new/trinity-1.9+git.20180921/syscalls/perf_event_open.c 2018-09-21 07:52:35.0 +0200 @@ -278,10 +278,10 @@ DIR *dir,*event_dir,*format_dir; struct dirent *entry,*event_entry,*format_entry; char dir_name[BUFSIZ] = ""; - char event_name[BUFSIZ] = ""; + char event_name[BUFSIZ+7] = ""; char event_value[BUFSIZ] = ""; - char temp_name[BUFSIZ] = ""; - char format_name[BUFSIZ] = ""; + char temp_name[BUFSIZ*2] = ""; + char format_name[BUFSIZ+7] = ""; char format_value[BUFSIZ] = ""; int type,pmu_num=0,format_num=0,generic_num=0; FILE *fff;
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2018-08-29 12:26:20 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Aug 29 12:26:20 2018 rev:53 rq:631918 version:1.9+git.20180827 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2018-06-28 15:14:58.215422363 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2018-08-29 12:26:23.427552760 +0200 @@ -1,0 +2,8 @@ +Mon Aug 27 09:12:38 UTC 2018 - mplus...@suse.com + +- Update to version 1.9+git.20180827: + * Check if VIDIOC_RESERVED is defined. +- Do not build with -Werror (this Workarounds various build + failures). + +--- Old: trinity-1.9+git.20180608.tar.xz New: trinity-1.9+git.20180827.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.T9Hr6i/_old 2018-08-29 12:26:23.943553891 +0200 +++ /var/tmp/diff_new_pack.T9Hr6i/_new 2018-08-29 12:26:23.943553891 +0200 @@ -12,20 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # 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/ # -%define version_unconverted 1.9+git.20180608 +%define version_unconverted 1.9+git.20180827 Name: trinity -Version:1.9+git.20180608 +Version:1.9+git.20180827 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only Group: Development/Tools/Other -Url:http://codemonkey.org.uk/projects/trinity/ +URL:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -ExcludeArch:%ix86 %arm %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -37,16 +36,11 @@ %setup -q %build -%if 0%{?suse_version} > 1500 -# the warning from gcc8 seems to be false positive causing build failures -# remove the -Wno-error when fixed (in gcc or in trinity) -export CFLAGS="%{optflags} -Wno-error=format-overflow" -%else export CFLAGS="%{optflags}" -%endif # Not autotools configure ./configure -make %{?_smp_mflags} V=1 +# disable -Werror by setting DEVEL to 0 +make %{?_smp_mflags} DEVEL=0 V=1 %install make DESTDIR=%{buildroot}%{_prefix} install ++ _servicedata ++ --- /var/tmp/diff_new_pack.T9Hr6i/_old 2018-08-29 12:26:23.987553987 +0200 +++ /var/tmp/diff_new_pack.T9Hr6i/_new 2018-08-29 12:26:23.991553995 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 1b2d43cb383cef86a05acb2df046ce5e9b17a7fe \ No newline at end of file + a5f32b9714613404e9f4699d720f2bb033b4 \ No newline at end of file ++ trinity-1.9+git.20180608.tar.xz -> trinity-1.9+git.20180827.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180608/ioctls/videodev2.c new/trinity-1.9+git.20180827/ioctls/videodev2.c --- old/trinity-1.9+git.20180608/ioctls/videodev2.c 2018-06-08 17:02:07.0 +0200 +++ new/trinity-1.9+git.20180827/ioctls/videodev2.c 2018-08-27 06:35:20.0 +0200 @@ -5,7 +5,9 @@ static const struct ioctl videodev2_ioctls[] = { IOCTL(VIDIOC_QUERYCAP), +#ifdef VIDIOC_RESERVED IOCTL(VIDIOC_RESERVED), +#endif IOCTL(VIDIOC_ENUM_FMT), IOCTL(VIDIOC_G_FMT), IOCTL(VIDIOC_S_FMT),
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2018-06-28 15:14:53 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Thu Jun 28 15:14:53 2018 rev:52 rq:619542 version:1.9+git.20180608 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2018-04-11 14:05:01.440227099 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2018-06-28 15:14:58.215422363 +0200 @@ -1,0 +2,18 @@ +Mon Jun 18 08:07:12 UTC 2018 - jsl...@suse.com + +- workaround build with gcc8 + +--- +Tue Jun 12 08:49:35 UTC 2018 - pdos...@suse.com + +- Update to version 1.9+git.20180608: + * configure: fix build with kernel headers v4.17+ + * trinity: check pidstatfile before fclose + +--- +Wed May 30 13:44:02 UTC 2018 - mplus...@suse.com + +- Update to version 1.9+git.20180413: + * parisc-specific updates + +--- Old: trinity-1.9+git.20180402.tar.xz New: trinity-1.9+git.20180608.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.09bFOV/_old 2018-06-28 15:14:59.947419191 +0200 +++ /var/tmp/diff_new_pack.09bFOV/_new 2018-06-28 15:14:59.947419191 +0200 @@ -16,14 +16,14 @@ # -%define version_unconverted 1.9+git.20180402 +%define version_unconverted 1.9+git.20180608 Name: trinity -Version:1.9+git.20180402 +Version:1.9+git.20180608 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0-only Group: Development/Tools/Other -URL:http://codemonkey.org.uk/projects/trinity/ +Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz ExcludeArch:%ix86 %arm @@ -37,7 +37,13 @@ %setup -q %build +%if 0%{?suse_version} > 1500 +# the warning from gcc8 seems to be false positive causing build failures +# remove the -Wno-error when fixed (in gcc or in trinity) +export CFLAGS="%{optflags} -Wno-error=format-overflow" +%else export CFLAGS="%{optflags}" +%endif # Not autotools configure ./configure make %{?_smp_mflags} V=1 ++ _servicedata ++ --- /var/tmp/diff_new_pack.09bFOV/_old 2018-06-28 15:14:59.995419103 +0200 +++ /var/tmp/diff_new_pack.09bFOV/_new 2018-06-28 15:14:59.995419103 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 43e56140a547c82aacbcfbb77f36ba2dd211a938 \ No newline at end of file + 1b2d43cb383cef86a05acb2df046ce5e9b17a7fe \ No newline at end of file ++ trinity-1.9+git.20180402.tar.xz -> trinity-1.9+git.20180608.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180402/configure new/trinity-1.9+git.20180608/configure --- old/trinity-1.9+git.20180402/configure 2018-04-02 19:56:53.0 +0200 +++ new/trinity-1.9+git.20180608/configure 2018-06-08 17:02:07.0 +0200 @@ -316,6 +316,7 @@ check_header linux/caif/caif_socket.h USE_CAIF check_header linux/fsmap.h USE_FSMAP check_header linux/if_alg.h USE_IF_ALG +check_header linux/irda.h USE_IRDA check_header linux/rds.h USE_RDS check_header linux/vfio.h USE_VFIO check_header drm/drm.h USE_DRM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180402/include/arch-parisc.h new/trinity-1.9+git.20180608/include/arch-parisc.h --- old/trinity-1.9+git.20180402/include/arch-parisc.h 2018-04-02 19:56:53.0 +0200 +++ new/trinity-1.9+git.20180608/include/arch-parisc.h 2018-06-08 17:02:07.0 +0200 @@ -16,9 +16,9 @@ #define PAGE_SHIFT 12 #define PTE_FILE_MAX_BITS (32 - 11) -#define PTRACE_GETREGS 0 -#define PTRACE_GETFPREGS 0 -#define PTRACE_SETREGS 0 -#define PTRACE_SETFPREGS 0 +#define PTRACE_GETREGS 18 +#define PTRACE_GETFPREGS 14 +#define PTRACE_SETREGS 19 +#define PTRACE_SETFPREGS 15 #define SYSCALLS syscalls_parisc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180402/include/syscalls-parisc.h new/trinity-1.9+git.20180608/include/syscalls-parisc.h --- old/trinity-1.9+git.20180402/include/syscalls-parisc.h 2018-04-02 19:56:53.0 +0200 +++ new/trinity-1.9+git.20180608/include/syscalls-parisc.h 2018-06-08 17:02:07.0 +0200 @@ -354,4 +354,11 @@ { .entry = NULL }, #endif { .entry = _execveat }, +
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2018-04-11 14:02:54 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Apr 11 14:02:54 2018 rev:51 rq:595312 version:1.9+git.20180402 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2018-03-11 15:26:09.673256693 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2018-04-11 14:05:01.440227099 +0200 @@ -1,0 +2,13 @@ +Tue Apr 10 12:29:57 UTC 2018 - mplus...@suse.com + +- Update to version 1.9+git.20180402: + * Fix pthread undefined references + * short-circuit log handle discovery if logging disabled + * mlock: move MLOCK_ONFAULT to compat.h + * memfd: fix build with glibc 2.27 +- Drop no longer needed patches: + * memfd-do-not-redefine-memfd_create.patch + * mlock-move-MLOCK_ONFAULT-to-compat.h.patch +- Run spec-cleaner + +--- Old: memfd-do-not-redefine-memfd_create.patch mlock-move-MLOCK_ONFAULT-to-compat.h.patch trinity-1.9+git.20180228.tar.xz New: trinity-1.9+git.20180402.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.o9CGDZ/_old 2018-04-11 14:05:02.392192698 +0200 +++ /var/tmp/diff_new_pack.o9CGDZ/_new 2018-04-11 14:05:02.392192698 +0200 @@ -16,17 +16,15 @@ # -%define version_unconverted 1.9+git.20180228 +%define version_unconverted 1.9+git.20180402 Name: trinity -Version:1.9+git.20180228 +Version:1.9+git.20180402 Release:0 Summary:A Linux System call fuzz tester -License:GPL-2.0 +License:GPL-2.0-only Group: Development/Tools/Other -Url:http://codemonkey.org.uk/projects/trinity/ +URL:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -Patch0: memfd-do-not-redefine-memfd_create.patch -Patch1: mlock-move-MLOCK_ONFAULT-to-compat.h.patch ExcludeArch:%ix86 %arm %description @@ -37,8 +35,6 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build export CFLAGS="%{optflags}" @@ -52,9 +48,9 @@ %{buildroot}%{_mandir}/man1/trinity.1 %files -%defattr(-,root,root) -%doc README COPYING +%license COPYING +%doc README %{_bindir}/trinity -%{_mandir}/man1/trinity.1%{ext_man} +%{_mandir}/man1/trinity.1%{?ext_man} %changelog ++ _servicedata ++ --- /var/tmp/diff_new_pack.o9CGDZ/_old 2018-04-11 14:05:02.444190819 +0200 +++ /var/tmp/diff_new_pack.o9CGDZ/_new 2018-04-11 14:05:02.448190675 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - c07cd60f942e2b4b96bd9a401d3129760a6ac308 \ No newline at end of file + 43e56140a547c82aacbcfbb77f36ba2dd211a938 \ No newline at end of file ++ trinity-1.9+git.20180228.tar.xz -> trinity-1.9+git.20180402.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180228/configure new/trinity-1.9+git.20180402/configure --- old/trinity-1.9+git.20180228/configure 2018-03-01 05:54:30.0 +0100 +++ new/trinity-1.9+git.20180402/configure 2018-04-02 19:56:53.0 +0200 @@ -289,6 +289,29 @@ fi # +# Does glibc provide memfd_create() syscall wrapper +# +echo -n "[*] Checking if glibc provides memfd_create.. " +rm -f "$TMP" || exit 1 + +cat >"$TMP.c" << EOF +#include + +void main() +{ + memfd_create(); +} +EOF + +${CC} ${CFLAGS} "$TMP.c" -o "$TMP" &>"$TMP.log" +if [ ! -x "$TMP" ]; then + echo $RED "[NO]" $COL_RESET +else + echo $GREEN "[YES]" $COL_RESET + echo "#define USE_MEMFD_CREATE 1" >> $CONFIGH +fi + +# check_header linux/caif/caif_socket.h USE_CAIF check_header linux/fsmap.h USE_FSMAP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20180228/fds/memfd.c new/trinity-1.9+git.20180402/fds/memfd.c --- old/trinity-1.9+git.20180228/fds/memfd.c2018-03-01 05:54:30.0 +0100 +++ new/trinity-1.9+git.20180402/fds/memfd.c2018-04-02 19:56:53.0 +0200 @@ -5,6 +5,7 @@ #include #include #include +#include #include "fd.h" #include "memfd.h" @@ -16,6 +17,7 @@ #include "trinity.h" #include "udp.h" +#ifndef USE_MEMFD_CREATE static int memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) { #ifdef SYS_memfd_create @@ -24,6 +26,7 @@ return -ENOSYS; #endif } +#endif
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2018-03-11 15:25:56 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Sun Mar 11 15:25:56 2018 rev:50 rq:585238 version:1.9+git.20180228 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2018-02-09 15:51:10.867558336 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2018-03-11 15:26:09.673256693 +0100 @@ -1,0 +2,14 @@ +Sat Mar 10 07:18:00 UTC 2018 - jsl...@suse.com + +- Update to version 1.9+git.20180228: + * suppress packed warning + * add sgxv2 + * add ioctl pattern for sgx driver + * trinity: Add support for s390_sthyi svc + * trinity: Add support for s390_guarded_storage svc + * trinity: Add support for s390_pci_mmio_read and write + * trinity: Add support for runtime_instr svc +- add memfd-do-not-redefine-memfd_create.patch +- add mlock-move-MLOCK_ONFAULT-to-compat.h.patch + +--- Old: trinity-1.9+git.20180206.tar.xz New: memfd-do-not-redefine-memfd_create.patch mlock-move-MLOCK_ONFAULT-to-compat.h.patch trinity-1.9+git.20180228.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.7h7cHC/_old 2018-03-11 15:26:10.361232012 +0100 +++ /var/tmp/diff_new_pack.7h7cHC/_new 2018-03-11 15:26:10.361232012 +0100 @@ -16,15 +16,17 @@ # -%define version_unconverted 1.9+git.20180206 +%define version_unconverted 1.9+git.20180228 Name: trinity -Version:1.9+git.20180206 +Version:1.9+git.20180228 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other -URL:http://codemonkey.org.uk/projects/trinity/ +Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz +Patch0: memfd-do-not-redefine-memfd_create.patch +Patch1: mlock-move-MLOCK_ONFAULT-to-compat.h.patch ExcludeArch:%ix86 %arm %description @@ -35,6 +37,8 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build export CFLAGS="%{optflags}" ++ _servicedata ++ --- /var/tmp/diff_new_pack.7h7cHC/_old 2018-03-11 15:26:10.405230434 +0100 +++ /var/tmp/diff_new_pack.7h7cHC/_new 2018-03-11 15:26:10.409230291 +0100 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - b9a7bd002a384513f230ffa21cc785e7dbf32fdb \ No newline at end of file + c07cd60f942e2b4b96bd9a401d3129760a6ac308 \ No newline at end of file ++ memfd-do-not-redefine-memfd_create.patch ++ From: Jiri SlabyDate: Sat, 10 Mar 2018 08:14:35 +0100 Subject: memfd: do not redefine memfd_create Patch-mainline: submitted on 10/03/2018 memfd_create got defined in mman-shared.h and we get errors now: fds/memfd.c:19:12: error: static declaration of 'memfd_create' follows non-static declaration static int memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) ^~~~ In file included from /usr/include/bits/mman-linux.h:115:0, from /usr/include/bits/mman.h:45, from /usr/include/sys/mman.h:41, from include/utils.h:4, from include/syscall.h:7, from include/child.h:7, from include/fd.h:3, from fds/memfd.c:9: /usr/include/bits/mman-shared.h:46:5: note: previous declaration of 'memfd_create' was here int memfd_create (const char *__name, unsigned int __flags) __THROW; ^~~~ So define the local "memfd_create" as "trin_memfd_create" instead. Signed-off-by: Jiri Slaby --- fds/memfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fds/memfd.c b/fds/memfd.c index 210678e4571c..9d04bf97c632 100644 --- a/fds/memfd.c +++ b/fds/memfd.c @@ -16,7 +16,7 @@ #include "trinity.h" #include "udp.h" -static int memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) +static int trin_memfd_create(__unused__ const char *uname, __unused__ unsigned int flag) { #ifdef SYS_memfd_create return syscall(SYS_memfd_create, uname, flag); @@ -69,7 +69,7 @@ static int open_memfd_fds(void) sprintf(namestr, "memfd%u", i + 1); - fd = memfd_create(namestr, flags[i]); + fd = trin_memfd_create(namestr, flags[i]); if (fd < 0) continue; -- 2.16.2 ++ mlock-move-MLOCK_ONFAULT-to-compat.h.patch ++ From: Jiri Slaby Date: Sat, 10 Mar 2018 08:23:03 +0100 Subject: mlock: move
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2018-02-09 15:51:10 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Fri Feb 9 15:51:10 2018 rev:49 rq:574232 version:1.9+git.20180206 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2018-01-10 23:38:28.554711365 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2018-02-09 15:51:10.867558336 +0100 @@ -1,0 +2,12 @@ +Thu Feb 8 12:27:26 UTC 2018 - mplus...@suse.com + +- Update to version 1.9+git.20180206: + * trinity: Add support for readdir svc + * trinity: Add support for copy_file_range svc + * trinity: Add support for mlock2 svc + * trinity: Add support for statx svc + * trinity: Add support for preadv2/pwritev2 svcs + * trinity: Update and comment on s390 system call table + * trinity: Fix compile error on linux 4.15 kernel + +--- Old: trinity-1.9+git.20171219.tar.xz New: trinity-1.9+git.20180206.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.R38PgM/_old 2018-02-09 15:51:11.599532047 +0100 +++ /var/tmp/diff_new_pack.R38PgM/_new 2018-02-09 15:51:11.603531903 +0100 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.9+git.20171219 +%define version_unconverted 1.9+git.20180206 Name: trinity -Version:1.9+git.20171219 +Version:1.9+git.20180206 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.R38PgM/_old 2018-02-09 15:51:11.643530467 +0100 +++ /var/tmp/diff_new_pack.R38PgM/_new 2018-02-09 15:51:11.647530323 +0100 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 00a1a514288e645690a46afaad87c1080da4960f \ No newline at end of file + b9a7bd002a384513f230ffa21cc785e7dbf32fdb \ No newline at end of file ++ trinity-1.9+git.20171219.tar.xz -> trinity-1.9+git.20180206.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.9+git.20171219/include/syscalls-s390.h new/trinity-1.9+git.20180206/include/syscalls-s390.h --- old/trinity-1.9+git.20171219/include/syscalls-s390.h2017-12-19 21:41:13.0 +0100 +++ new/trinity-1.9+git.20180206/include/syscalls-s390.h2018-02-06 16:06:28.0 +0100 @@ -7,7 +7,7 @@ #include "syscalls/syscalls.h" struct syscalltable syscalls_s390[] = { - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 0 unused system call */ { .entry = _exit }, { .entry = _fork }, { .entry = _read }, @@ -24,8 +24,8 @@ { .entry = _mknod }, { .entry = _chmod }, { .entry = _lchown16 }, - { .entry = _ni_syscall }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 17 unused system call */ + { .entry = _ni_syscall }, /* No 18 unused system call */ { .entry = _lseek }, { .entry = _getpid }, { .entry = _mount }, @@ -35,14 +35,14 @@ { .entry = _stime }, { .entry = _ptrace }, { .entry = _alarm }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 28 unused system call */ { .entry = _pause }, { .entry = _utime }, - { .entry = _ni_syscall }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 31 unused system call */ + { .entry = _ni_syscall }, /* No 32 unused system call */ { .entry = _access }, { .entry = _nice }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 35 unused system call */ { .entry = _sync }, { .entry = _kill }, { .entry = _rename }, @@ -51,7 +51,7 @@ { .entry = _dup }, { .entry = _pipe }, { .entry = _times }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 44 unused system call */ { .entry = _brk }, { .entry = _setgid16 }, { .entry = _getgid16 }, @@ -60,13 +60,13 @@ { .entry = _getegid16 }, { .entry = _acct }, { .entry = _umount }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 53 unused system call */ { .entry = _ioctl }, { .entry = _fcntl }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall }, /* No 56 unused system call */ { .entry = _setpgid }, - { .entry = _ni_syscall }, - { .entry = _ni_syscall }, + { .entry = _ni_syscall
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2018-01-10 23:38:28 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Jan 10 23:38:28 2018 rev:48 rq:563296 version:1.9+git.20171219 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-11-29 10:54:26.272780025 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2018-01-10 23:38:28.554711365 +0100 @@ -1,0 +2,11 @@ +Wed Jan 10 10:12:33 UTC 2018 - mplus...@suse.com + +- Update to version 1.9+git.20171219: + * document why we take that rec->lock in the extrafork path + * compat: handle removed autofs macros + * fd logging -> object logging + * Begin 1.9 +- Drop not needed patch: + * compat-handle-removed-autofs-macros.patch + +--- Old: compat-handle-removed-autofs-macros.patch trinity-1.8+git.20171103.tar.xz New: trinity-1.9+git.20171219.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.nzxGb3/_old 2018-01-10 23:38:29.102685657 +0100 +++ /var/tmp/diff_new_pack.nzxGb3/_new 2018-01-10 23:38:29.102685657 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,15 @@ # -%define version_unconverted 1.8+git.20171103 +%define version_unconverted 1.9+git.20171219 Name: trinity -Version:1.8+git.20171103 +Version:1.9+git.20171219 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other -Url:http://codemonkey.org.uk/projects/trinity/ +URL:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -Patch0: compat-handle-removed-autofs-macros.patch ExcludeArch:%ix86 %arm %description @@ -36,7 +35,6 @@ %prep %setup -q -%patch0 -p1 %build export CFLAGS="%{optflags}" ++ _service ++ --- /var/tmp/diff_new_pack.nzxGb3/_old 2018-01-10 23:38:29.130684344 +0100 +++ /var/tmp/diff_new_pack.nzxGb3/_new 2018-01-10 23:38:29.130684344 +0100 @@ -4,7 +4,7 @@ git enable trinity -1.8+git.%cd +1.9+git.%cd *.tar ++ _servicedata ++ --- /var/tmp/diff_new_pack.nzxGb3/_old 2018-01-10 23:38:29.146683593 +0100 +++ /var/tmp/diff_new_pack.nzxGb3/_new 2018-01-10 23:38:29.150683406 +0100 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 6ddabfd29480a6a526895a578c56bc8051228c15 \ No newline at end of file + 00a1a514288e645690a46afaad87c1080da4960f \ No newline at end of file ++ trinity-1.8+git.20171103.tar.xz -> trinity-1.9+git.20171219.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.8+git.20171103/Documentation/TODO new/trinity-1.9+git.20171219/Documentation/TODO --- old/trinity-1.8+git.20171103/Documentation/TODO 2017-11-03 16:14:07.0 +0100 +++ new/trinity-1.9+git.20171219/Documentation/TODO 2017-12-19 21:41:13.0 +0100 @@ -1,3 +1,7 @@ +* Object logging. + - Attach an operation history to each object to be dumped at post-mortem time. + - Will need a comms channel from children->main. pipe? unix socket? + * Various syscall improvements. - brk could be smarter about existing brk - Revisit fuzzing ptrace. @@ -229,8 +233,6 @@ they dominate over the /dev entries. - more fd 'types' (fanotify_init) - need a way to go from fd to string describing what it is. for post-mortem - - Attach an operation history to each fd for post-mortem. -Maybe we need an fd container struct ? - deregister fd providers if init of one fails - separate fd lists for dirs vs files - make fd providers take array to fillin & num of fds as params. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.8+git.20171103/Makefile new/trinity-1.9+git.20171219/Makefile --- old/trinity-1.8+git.20171103/Makefile 2017-11-03 16:14:07.0 +0100 +++ new/trinity-1.9+git.20171219/Makefile 2017-12-19 21:41:13.0 +0100 @@ -1,4 +1,4 @@ -VERSION="1.8" +VERSION="1.9pre" ifeq (,$(findstring pre,$(VERSION))) DEVEL = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-11-29 10:54:18 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Nov 29 10:54:18 2017 rev:47 rq:546177 version:1.8+git.20171103 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-11-10 14:57:45.663288964 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-11-29 10:54:26.272780025 +0100 @@ -1,0 +2,6 @@ +Tue Nov 28 09:14:12 UTC 2017 - jsl...@suse.com + +- add compat-handle-removed-autofs-macros.patch to fix factory + build failure + +--- New: compat-handle-removed-autofs-macros.patch Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.UKgXx5/_old 2017-11-29 10:54:26.880757968 +0100 +++ /var/tmp/diff_new_pack.UKgXx5/_new 2017-11-29 10:54:26.884757822 +0100 @@ -25,6 +25,7 @@ Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz +Patch0: compat-handle-removed-autofs-macros.patch ExcludeArch:%ix86 %arm %description @@ -35,6 +36,7 @@ %prep %setup -q +%patch0 -p1 %build export CFLAGS="%{optflags}" ++ compat-handle-removed-autofs-macros.patch ++ From: Jiri SlabyDate: Tue, 28 Nov 2017 08:58:04 +0100 Subject: compat: handle removed autofs macros Patch-mainline: no In file included from ioctls/autofs.c:4:0: ioctls/autofs.c:241:8: error: 'AUTOFS_IOC_EXPIRE_INDIRECT' undeclared here (not in a function); did you mean 'AUTOFS_IOC_EXPIRE_CMD'? IOCTL(AUTOFS_IOC_EXPIRE_INDIRECT), ^ include/ioctls.h:53:15: note: in definition of macro 'IOCTL' { .request = _request, .name = #_request, } ^~~~ ioctls/autofs.c:242:8: error: 'AUTOFS_IOC_EXPIRE_DIRECT' undeclared here (not in a function); did you mean 'AUTOFS_IOC_EXPIRE_INDIRECT'? IOCTL(AUTOFS_IOC_EXPIRE_DIRECT), ^ include/ioctls.h:53:15: note: in definition of macro 'IOCTL' { .request = _request, .name = #_request, } ^~~~ Define them as AUTOFS_IOC_EXPIRE_MULTI as they used to be. Signed-off-by: Jiri Slaby --- include/compat.h | 8 ioctls/autofs.c | 1 + 2 files changed, 9 insertions(+) diff --git a/include/compat.h b/include/compat.h index 10065ceca5f6..fc9a1b95ac4c 100644 --- a/include/compat.h +++ b/include/compat.h @@ -1209,3 +1209,11 @@ struct kvm_get_htab_fd { #ifndef SO_IP_SET #define SO_IP_SET 83 #endif + +/* linux/auto_fs4.h */ +#ifndef AUTOFS_IOC_EXPIRE_INDIRECT +#define AUTOFS_IOC_EXPIRE_INDIRECT AUTOFS_IOC_EXPIRE_MULTI +#endif +#ifndef AUTOFS_IOC_EXPIRE_DIRECT +#define AUTOFS_IOC_EXPIRE_DIRECT AUTOFS_IOC_EXPIRE_MULTI +#endif diff --git a/ioctls/autofs.c b/ioctls/autofs.c index 04a3eb811326..a39c056b 100644 --- a/ioctls/autofs.c +++ b/ioctls/autofs.c @@ -8,6 +8,7 @@ #include "shm.h" #include "syscall.h" #include "utils.h" +#include "compat.h" /* include/linux/auto_dev-ioctl.h */ /* -- 2.15.0
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-11-10 14:57:31 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Fri Nov 10 14:57:31 2017 rev:46 rq:540176 version:1.8+git.20171103 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-10-26 18:45:58.327504239 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-11-10 14:57:45.663288964 +0100 @@ -1,0 +2,13 @@ +Thu Nov 09 10:07:14 UTC 2017 - lcavaj...@suse.com + +- Update to version 1.8+git.20171103: + * add SO_ZEROCOPY + * add statx for i386 + * add MSG_ZEROCOPY + * add new madvise flags + * update hashes + * perf_event_open: update features to 4.14-rc6 + * TODO: some extra cmdline args + * 1.8 release + +--- Old: trinity-1.7+git.20171006.tar.xz New: trinity-1.8+git.20171103.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.CqNHk3/_old 2017-11-10 14:57:46.679252215 +0100 +++ /var/tmp/diff_new_pack.CqNHk3/_new 2017-11-10 14:57:46.679252215 +0100 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20171006 +%define version_unconverted 1.8+git.20171103 Name: trinity -Version:1.7+git.20171006 +Version:1.8+git.20171103 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.CqNHk3/_old 2017-11-10 14:57:46.711251058 +0100 +++ /var/tmp/diff_new_pack.CqNHk3/_new 2017-11-10 14:57:46.715250914 +0100 @@ -4,7 +4,7 @@ git enable trinity -1.7+git.%cd +1.8+git.%cd *.tar ++ _servicedata ++ --- /var/tmp/diff_new_pack.CqNHk3/_old 2017-11-10 14:57:46.735250191 +0100 +++ /var/tmp/diff_new_pack.CqNHk3/_new 2017-11-10 14:57:46.735250191 +0100 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - d4cb8d894ba32d1417ef8eb422515abb64ddf111 \ No newline at end of file + 6ddabfd29480a6a526895a578c56bc8051228c15 \ No newline at end of file ++ trinity-1.7+git.20171006.tar.xz -> trinity-1.8+git.20171103.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20171006/Documentation/TODO new/trinity-1.8+git.20171103/Documentation/TODO --- old/trinity-1.7+git.20171006/Documentation/TODO 2017-10-06 19:58:50.0 +0200 +++ new/trinity-1.8+git.20171103/Documentation/TODO 2017-11-03 16:14:07.0 +0100 @@ -206,8 +206,11 @@ - function that takes a void * and outputs what it is (mapping, page_* etc) (searches various lists etc) -* --dry-run mode. +* Extra command line args. + --dry-run mode. need to work around segv's when we do things like mmap->post and register null maps. + --disable-fault-injection + --pause (reinstate the old code to pause for a second after a syscall) * fd handling improvements. - kill off NR_FILE_FDS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20171006/Makefile new/trinity-1.8+git.20171103/Makefile --- old/trinity-1.7+git.20171006/Makefile 2017-10-06 19:58:50.0 +0200 +++ new/trinity-1.8+git.20171103/Makefile 2017-11-03 16:14:07.0 +0100 @@ -1,4 +1,4 @@ -VERSION="1.8pre" +VERSION="1.8" ifeq (,$(findstring pre,$(VERSION))) DEVEL = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20171006/include/compat.h new/trinity-1.8+git.20171103/include/compat.h --- old/trinity-1.7+git.20171006/include/compat.h 2017-10-06 19:58:50.0 +0200 +++ new/trinity-1.8+git.20171103/include/compat.h 2017-11-03 16:14:07.0 +0100 @@ -138,6 +138,12 @@ #ifndef MADV_DODUMP #define MADV_DODUMP 17 #endif +#ifndef MADV_WIPEONFORK +#define MADV_WIPEONFORK 18 +#endif +#ifndef MADV_KEEPONFORK +#define MADV_KEEPONFORK 19 +#endif /* bits/socket.h */ @@ -250,6 +256,10 @@ #define MSG_BATCH 0x4 #endif +#ifndef MSG_ZEROCOPY +#define MSG_ZEROCOPY 0x400 +#endif + #ifndef MSG_CMSG_CLOEXEC #define MSG_CMSG_CLOEXEC 0x4000 #endif @@ -525,7 +535,9 @@ #define SO_PEERGROUPS 59 #endif - +#ifndef SO_ZEROCOPY +#define SO_ZEROCOPY60 +#endif /* linux/tcp.h */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20171006/include/perf_event.h new/trinity-1.8+git.20171103/include/perf_event.h --- old/trinity-1.7+git.20171006/include/perf_event.h 2017-10-06
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-10-26 18:45:41 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Thu Oct 26 18:45:41 2017 rev:45 rq:536715 version:1.7+git.20171006 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-10-11 23:02:53.684850415 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-10-26 18:45:58.327504239 +0200 @@ -1,0 +2,7 @@ +Thu Oct 19 06:35:55 UTC 2017 - jsl...@suse.com + +- Update to version 1.7+git.20171006: + * ignore possible error codes like ERESTARTSYS + * Fix up null ptr deref when no -l arg. + +--- Old: trinity-1.7+git.20170918.tar.xz New: trinity-1.7+git.20171006.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.ipwinT/_old 2017-10-26 18:45:59.407453832 +0200 +++ /var/tmp/diff_new_pack.ipwinT/_new 2017-10-26 18:45:59.411453645 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170918 +%define version_unconverted 1.7+git.20171006 Name: trinity -Version:1.7+git.20170918 +Version:1.7+git.20171006 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.ipwinT/_old 2017-10-26 18:45:59.455451592 +0200 +++ /var/tmp/diff_new_pack.ipwinT/_new 2017-10-26 18:45:59.459451405 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 2c49c862df82f311ae4791827542053ce8fe7bad \ No newline at end of file + d4cb8d894ba32d1417ef8eb422515abb64ddf111 \ No newline at end of file ++ trinity-1.7+git.20170918.tar.xz -> trinity-1.7+git.20171006.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170918/log-files.c new/trinity-1.7+git.20171006/log-files.c --- old/trinity-1.7+git.20170918/log-files.c2017-09-19 02:16:24.0 +0200 +++ new/trinity-1.7+git.20171006/log-files.c2017-10-06 19:58:50.0 +0200 @@ -15,11 +15,16 @@ static FILE *open_logfile(const char *logfilename) { FILE *file; - char *fullpath; - int len = strlen(logging_args) + strlen(logfilename) + 2; + char *fullpath, *p; + int len = strlen(logfilename) + 2; - fullpath = zmalloc(len); - snprintf(fullpath, len, "%s/%s", logging_args, logfilename); + if (logging_args) + len += strlen(logging_args); + + p = fullpath = zmalloc(len); + if (logging_args) + p += snprintf(fullpath, strlen(logging_args) + 2, "%s/", logging_args); + p += snprintf(p, strlen(logfilename) + 1, "%s", logfilename); unlink(fullpath); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170918/syscall.c new/trinity-1.7+git.20171006/syscall.c --- old/trinity-1.7+git.20170918/syscall.c 2017-09-19 02:16:24.0 +0200 +++ new/trinity-1.7+git.20171006/syscall.c 2017-10-06 19:58:50.0 +0200 @@ -278,7 +278,13 @@ if (err < NR_ERRNOS) { entry->errnos[err]++; } else { - printf("errno out of range: %d:%s\n", err, strerror(err)); + // "These should never be seen by user programs." + // But trinity isn't a 'normal' user program, we're doing + // stuff that libc hides from apps. + if (err < 512 || err > 530) + printf("errno out of range after doing %s: %d:%s\n", + entry->name, + err, strerror(err)); } shm->stats.failures++; }
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-10-11 23:02:53 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Oct 11 23:02:53 2017 rev:44 rq:533154 version:1.7+git.20170918 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-08-30 16:23:33.662469525 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-10-11 23:02:53.684850415 +0200 @@ -1,0 +2,20 @@ +Thu Sep 21 07:28:54 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170918: + * output a packet count for debugging + * net/proto-rds.c: rds_setsockopt() stub not needed + * proto-rds: fix missing includes + * syscalls-mips: split header + * mips[o32]: add missing syscalls + * mips: add n32 and 64 ABIs + * reinstate the log-to-file code for now. + * fix the case where -l is passed a directory. + * remove duplicate LOGGING_DISABLED checks + * make output() aware that LOGGING_UDP is a thing + * remove logfiles_opened + * update some documentation regarding logging + * update the TODO some. + * add a script I use to monitor when the kernel interfaces change + * add hashcheck use to TODO + +--- Old: trinity-1.7+git.20170825.tar.xz New: trinity-1.7+git.20170918.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.isgvk8/_old 2017-10-11 23:02:54.652808007 +0200 +++ /var/tmp/diff_new_pack.isgvk8/_new 2017-10-11 23:02:54.660807657 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170825 +%define version_unconverted 1.7+git.20170918 Name: trinity -Version:1.7+git.20170825 +Version:1.7+git.20170918 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.isgvk8/_old 2017-10-11 23:02:54.748803801 +0200 +++ /var/tmp/diff_new_pack.isgvk8/_new 2017-10-11 23:02:54.748803801 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - c988a3c1d4c7d065b0e3345d050370d86f3d6831 \ No newline at end of file + 2c49c862df82f311ae4791827542053ce8fe7bad \ No newline at end of file ++ trinity-1.7+git.20170825.tar.xz -> trinity-1.7+git.20170918.tar.xz ++ 2779 lines of diff (skipped)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-08-30 16:22:27 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Aug 30 16:22:27 2017 rev:43 rq:519315 version:1.7+git.20170825 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-08-16 16:15:23.407264461 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-08-30 16:23:33.662469525 +0200 @@ -1,0 +2,18 @@ +Tue Aug 29 11:15:31 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170825: + * add RENAME_WHITEOUT + * econet: make optional + * ax25: make optional + * change include -> + * ipx: make optional + * replace __WORDSIZE with WORD_BIT + * types.h: change __uint32_t -> uint32_t + * syscalls/select: ensure __NFDBITS is defined + * fix includes + * pathnames: add missing nftw defines + * Fix version.h generation + * syscall: ensure a child is not killed with a lock held + * Add SIGILL as a potential child exit signal + +--- Old: trinity-1.7+git.20170813.tar.xz New: trinity-1.7+git.20170825.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.MFkDmd/_old 2017-08-30 16:23:34.822306375 +0200 +++ /var/tmp/diff_new_pack.MFkDmd/_new 2017-08-30 16:23:34.826305812 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170813 +%define version_unconverted 1.7+git.20170825 Name: trinity -Version:1.7+git.20170813 +Version:1.7+git.20170825 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.MFkDmd/_old 2017-08-30 16:23:34.882297936 +0200 +++ /var/tmp/diff_new_pack.MFkDmd/_new 2017-08-30 16:23:34.882297936 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 2ce77d8b298b883836867414fc5d71bf0ae0f548 \ No newline at end of file + c988a3c1d4c7d065b0e3345d050370d86f3d6831 \ No newline at end of file ++ trinity-1.7+git.20170813.tar.xz -> trinity-1.7+git.20170825.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170813/Makefile new/trinity-1.7+git.20170825/Makefile --- old/trinity-1.7+git.20170813/Makefile 2017-08-13 23:55:08.0 +0200 +++ new/trinity-1.7+git.20170825/Makefile 2017-08-25 17:32:31.0 +0200 @@ -72,9 +72,6 @@ all: trinity -version: - @scripts/gen-versionh.sh - test: @if [ ! -f config.h ]; then echo "[1;31mRun configure.sh first.[0m" ; exit; fi @@ -92,6 +89,8 @@ syscalls/x86/i386/*.c;; \ esac) +VERSION_H := include/version.h + HEADERS:= $(patsubst %.h,%.h,$(wildcard *.h)) $(patsubst %.h,%.h,$(wildcard syscalls/*.h)) $(patsubst %.h,%.h,$(wildcard ioctls/*.h)) SRCS := $(wildcard *.c) \ @@ -118,13 +117,16 @@ -include $(SRCS:%.c=$(DEPDIR)/%.d) -trinity: version test $(OBJS) $(HEADERS) +$(VERSION_H): scripts/gen-versionh.sh Makefile $(wildcard .git) + @scripts/gen-versionh.sh + +trinity: test $(OBJS) $(HEADERS) $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o trinity $(OBJS) $(LDLIBS) @mkdir -p tmp df = $(DEPDIR)/$(*D)/$(*F) -%.o : %.c +%.o : %.c | $(VERSION_H) $(QUIET_CC)$(CC) $(CFLAGS) -o $@ -c $< @mkdir -p $(DEPDIR)/$(*D) @$(CC) -MM $(CFLAGS) $*.c > $(df).d @@ -141,7 +143,7 @@ @rm -f tags @rm -rf $(DEPDIR)/* @rm -rf trinity-coverity.tar.xz cov-int - @rm -f include/version.h + @rm -f $(VERSION_H) tag: @git tag -a v$(VERSION) -m "$(VERSION) release." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170813/configure new/trinity-1.7+git.20170825/configure --- old/trinity-1.7+git.20170813/configure 2017-08-13 23:55:08.0 +0200 +++ new/trinity-1.7+git.20170825/configure 2017-08-25 17:32:31.0 +0200 @@ -305,6 +305,9 @@ check_header netatalk/at.h USE_APPLETALK check_header netrom/netrom.h USE_NETROM check_header netrose/rose.h USE_ROSE +check_header neteconet/ec.h USE_NETECONET +check_header netax25/ax25.h USE_NETAX25 +check_header netipx/ipx.h USE_IPX rm -f "$TMP" "$TMP.log" "$TMP.c" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170813/include/arch-sh.h new/trinity-1.7+git.20170825/include/arch-sh.h --- old/trinity-1.7+git.20170813/include/arch-sh.h
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-08-16 16:15:07 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Aug 16 16:15:07 2017 rev:42 rq:516837 version:1.7+git.20170813 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-07-25 11:41:17.272789442 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-08-16 16:15:23.407264461 +0200 @@ -1,0 +2,9 @@ +Mon Aug 14 13:34:40 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170813: + * dump_pid_stack: fix uninitialised variable + * beginnings of TCP_ULP support. + * add tls header + * only Werror on gcc7+ + +--- Old: trinity-1.7+git.20170712.tar.xz New: trinity-1.7+git.20170813.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.dK7y8T/_old 2017-08-16 16:15:24.455117376 +0200 +++ /var/tmp/diff_new_pack.dK7y8T/_new 2017-08-16 16:15:24.467115691 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170712 +%define version_unconverted 1.7+git.20170813 Name: trinity -Version:1.7+git.20170712 +Version:1.7+git.20170813 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.dK7y8T/_old 2017-08-16 16:15:24.659088744 +0200 +++ /var/tmp/diff_new_pack.dK7y8T/_new 2017-08-16 16:15:24.671087060 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 37ae2cceddb7e4cd055b2cf40ad25d57e00c4f80 \ No newline at end of file + 2ce77d8b298b883836867414fc5d71bf0ae0f548 \ No newline at end of file ++ trinity-1.7+git.20170712.tar.xz -> trinity-1.7+git.20170813.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170712/Makefile new/trinity-1.7+git.20170813/Makefile --- old/trinity-1.7+git.20170712/Makefile 2017-07-12 23:06:12.0 +0200 +++ new/trinity-1.7+git.20170813/Makefile 2017-08-13 23:55:08.0 +0200 @@ -22,11 +22,11 @@ CCSTD := $(shell if $(CC) -std=gnu11 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-std=gnu11"; else echo "-std=gnu99"; fi) CFLAGS += $(CCSTD) -# -Werror only enabled during development, and on gcc 5.1+ +# -Werror only enabled during development, and on gcc 7+ ifeq ($(DEVEL), 1) CPP_MAJOR := $(shell $(CPP) -dumpversion 2>&1 | cut -d'.' -f1) CPP_MINOR := $(shell $(CPP) -dumpversion 2>&1 | cut -d'.' -f2) -WERROR := $(shell if [ $(CPP_MAJOR) -eq 5 -a $(CPP_MINOR) -ge 1 ] || [ $(CPP_MAJOR) -ge 6 ] ; then echo "-Werror"; else echo ""; fi) +WERROR := $(shell if [ $(CPP_MAJOR) -ge 7 ] ; then echo "-Werror"; else echo ""; fi) CFLAGS += $(WERROR) endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170712/include/compat.h new/trinity-1.7+git.20170813/include/compat.h --- old/trinity-1.7+git.20170712/include/compat.h 2017-07-12 23:06:12.0 +0200 +++ new/trinity-1.7+git.20170813/include/compat.h 2017-08-13 23:55:08.0 +0200 @@ -805,6 +805,10 @@ #define SOL_RFCOMM 18 #endif +#ifndef SOL_TLS +#define SOL_TLS282 +#endif + /* net/bluetooth/hci.h */ #ifndef HCI_DATA_DIR #define HCI_DATA_DIR1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170712/include/tls.h new/trinity-1.7+git.20170813/include/tls.h --- old/trinity-1.7+git.20170712/include/tls.h 1970-01-01 01:00:00.0 +0100 +++ new/trinity-1.7+git.20170813/include/tls.h 2017-08-13 23:55:08.0 +0200 @@ -0,0 +1,32 @@ +#pragma once + +/* From linux/tls.h */ +struct tls_crypto_info { + unsigned short version; + unsigned short cipher_type; +}; + +#define TLS_CIPHER_AES_GCM_128_IV_SIZE 8 +#define TLS_CIPHER_AES_GCM_128_KEY_SIZE 16 +#define TLS_CIPHER_AES_GCM_128_SALT_SIZE 4 +#define TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE 8 + +#define TLS_VERSION_MINOR(ver) ((ver) & 0xFF) +#define TLS_VERSION_MAJOR(ver) (((ver) >> 8) & 0xFF) +#define TLS_VERSION_NUMBER(id) id##_VERSION_MAJOR) & 0xFF) << 8) | \ + ((id##_VERSION_MINOR) & 0xFF)) +#define TLS_1_2_VERSION_MAJOR 0x3 +#define TLS_1_2_VERSION_MINOR 0x3 +#define TLS_1_2_VERSION TLS_VERSION_NUMBER(TLS_1_2) + +#define TLS_CIPHER_AES_GCM_128 51 + +#define TLS_TX 1 + +struct tls12_crypto_info_aes_gcm_128 { + struct tls_crypto_info info; + unsigned char
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-07-25 11:40:52 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Tue Jul 25 11:40:52 2017 rev:41 rq:512274 version:1.7+git.20170712 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-06-23 09:17:47.459300048 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-07-25 11:41:17.272789442 +0200 @@ -1,0 +2,17 @@ +Mon Jul 24 13:18:23 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170712: + * remove old debug leftover + * remove the syscall-in-subchild code. + * make the new seed be sequential (sort of) + * move the 'are we done' check to the generic child code. + * Include sys/io.h for UIO_MAXIOV symbol. + * ioctls/vfs.c: add more ioctls from linux/fs.h + * ioctls/vfs.c: FS_IOC_GETFSMAP + * get_syscall_entry: remove SYSCALL_OFFSET + * add new TCP setsockopts + * update setsockopt options + * special case tls for TCP_ULP + * update netlink protocols + +--- Old: trinity-1.7+git.20170612.tar.xz New: trinity-1.7+git.20170712.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.8aQP2v/_old 2017-07-25 11:41:17.828710955 +0200 +++ /var/tmp/diff_new_pack.8aQP2v/_new 2017-07-25 11:41:17.832710391 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170612 +%define version_unconverted 1.7+git.20170712 Name: trinity -Version:1.7+git.20170612 +Version:1.7+git.20170712 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.8aQP2v/_old 2017-07-25 11:41:17.884703050 +0200 +++ /var/tmp/diff_new_pack.8aQP2v/_new 2017-07-25 11:41:17.888702485 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - f21c0a62f708688f3df574911525e2b14be01d5e \ No newline at end of file + 37ae2cceddb7e4cd055b2cf40ad25d57e00c4f80 \ No newline at end of file ++ trinity-1.7+git.20170612.tar.xz -> trinity-1.7+git.20170712.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170612/child.c new/trinity-1.7+git.20170712/child.c --- old/trinity-1.7+git.20170612/child.c2017-06-12 21:21:10.0 +0200 +++ new/trinity-1.7+git.20170712/child.c2017-07-12 23:06:12.0 +0200 @@ -527,6 +527,13 @@ if (ops->flags & ONESHOT) loops = 0; + + if (syscalls_todo) { + if (shm->stats.op_count >= syscalls_todo) { + shm->exit_reason = EXIT_REACHED_COUNT; + goto out; + } + } } enable_coredumps(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170612/childops/random-syscall.c new/trinity-1.7+git.20170712/childops/random-syscall.c --- old/trinity-1.7+git.20170612/childops/random-syscall.c 2017-06-12 21:21:10.0 +0200 +++ new/trinity-1.7+git.20170712/childops/random-syscall.c 2017-07-12 23:06:12.0 +0200 @@ -110,53 +110,9 @@ rec->nr = syscallnr; unlock(>lock); - if (syscalls_todo) { - if (shm->stats.op_count >= syscalls_todo) { - shm->exit_reason = EXIT_REACHED_COUNT; - return FAIL; - } - } - return TRUE; } -/* -static bool do_syscall_in_child(struct syscallrecord *rec, struct childdata *child) -{ - pid_t pid; - - pid = fork(); - if (pid == 0) { - // child - do_syscall(rec); - _exit(EXIT_SUCCESS); - } else if (pid > 0) { - // parent - int childret = 0; - int childstatus; - - // wait for child to exit, or kill it. - while (childret == 0) { - - clock_gettime(CLOCK_MONOTONIC, >tp); - - if (pid_alive(pid) == TRUE) { - kill_pid(pid); - childret = waitpid(pid, , WUNTRACED | WCONTINUED | WNOHANG); - if (childret == 0) - usleep(1); - } - } - // and do the same work in the parent. - do_syscall(rec); - return TRUE; - }
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-06-23 09:17:45 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Fri Jun 23 09:17:45 2017 rev:40 rq:504038 version:1.7+git.20170612 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-05-20 10:13:42.715470746 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-06-23 09:17:47.459300048 +0200 @@ -1,0 +2,23 @@ +Fri Jun 16 09:17:12 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170612: + * mark the sync syscalls as expensive + * reduce the likelyhood that we call expensive syscalls. + +--- +Sun May 28 11:43:25 UTC 2017 - opensuse-packag...@opensuse.org + +- Update to version 1.7+git.20170525: + * add incoming packets to the correct place in the list. + * add the last op_nr to the childexited message + * add a flag to mark when we're expecting a spawn message. + * only process CHILD_EXITED messages if the opnr is current + * maintain a count of packets processed each scan of the child list. + * childhdr is already set at this point. + * use a single thread to process all child packets + * optimize packet rx list walk + * drop duplicate packets instead of adding them to the list. + * fix up cppcheck signedness warnings + * replace state machine with simpler drain logic + +--- Old: trinity-1.7+git.20170512.tar.xz New: trinity-1.7+git.20170612.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.dgfJiU/_old 2017-06-23 09:17:48.751117514 +0200 +++ /var/tmp/diff_new_pack.dgfJiU/_new 2017-06-23 09:17:48.755116949 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170512 +%define version_unconverted 1.7+git.20170612 Name: trinity -Version:1.7+git.20170512 +Version:1.7+git.20170612 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.dgfJiU/_old 2017-06-23 09:17:48.807109602 +0200 +++ /var/tmp/diff_new_pack.dgfJiU/_new 2017-06-23 09:17:48.807109602 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - a81fba1701ad9250f91f87c7748940525eaaffa4 \ No newline at end of file + f21c0a62f708688f3df574911525e2b14be01d5e \ No newline at end of file ++ trinity-1.7+git.20170512.tar.xz -> trinity-1.7+git.20170612.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170512/childops/random-syscall.c new/trinity-1.7+git.20170612/childops/random-syscall.c --- old/trinity-1.7+git.20170512/childops/random-syscall.c 2017-05-12 20:11:06.0 +0200 +++ new/trinity-1.7+git.20170612/childops/random-syscall.c 2017-06-12 21:21:10.0 +0200 @@ -71,6 +71,7 @@ static bool set_syscall_nr(struct syscallrecord *rec) { + struct syscallentry *entry; unsigned int syscallnr; bool do32; @@ -97,6 +98,12 @@ goto retry; } + entry = get_syscall_entry(syscallnr, do32); + if (entry->flags & EXPENSIVE) { + if (!ONE_IN(1000)) + goto retry; + } + /* critical section for shm updates. */ lock(>lock); rec->do32bit = do32; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170512/include/syscall.h new/trinity-1.7+git.20170612/include/syscall.h --- old/trinity-1.7+git.20170512/include/syscall.h 2017-05-12 20:11:06.0 +0200 +++ new/trinity-1.7+git.20170612/include/syscall.h 2017-06-12 21:21:10.0 +0200 @@ -171,6 +171,7 @@ #define NEED_ALARM (1<<5) #define EXTRA_FORK (1<<6) #define IGNORE_ENOSYS (1<<7) +#define EXPENSIVE (1<<8) void do_syscall(struct syscallrecord *rec); void handle_syscall_ret(struct syscallrecord *rec); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170512/include/udp.h new/trinity-1.7+git.20170612/include/udp.h --- old/trinity-1.7+git.20170512/include/udp.h 2017-05-12 20:11:06.0 +0200 +++ new/trinity-1.7+git.20170612/include/udp.h 2017-06-12 21:21:10.0 +0200 @@ -96,6 +96,7 @@ struct msg_childexited { struct trinity_msgchildhdr hdr; + unsigned long op_nr; }; struct msg_childsignalled { diff -urN '--exclude=CVS'
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-05-20 10:13:37 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Sat May 20 10:13:37 2017 rev:39 rq:495855 version:1.7+git.20170512 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-05-16 14:42:54.082130303 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-05-20 10:13:42.715470746 +0200 @@ -1,0 +2,34 @@ +Thu May 18 11:59:33 UTC 2017 - vsis...@suse.com + +- Update to version 1.7+git.20170512: + * create a thread per child queue + * change decoders to return strings + * mutex needs to protect list walks, not just removal. + * add a server/ copy of zmalloc + * support user CFLAGS in Makefiles + * fix potential use-before-init + * move some udp related server functions to their own file + * output decoded packets to logfiles. + * remove the 'stash' copy of the syscall rec + * print where handshakes came from + * tweak socket buffer sizes. + * timestamp syscall operations. + * timestamp all child messages + * only print setsockopt success if it actually succeeded + * server side packet ordering. + * reset the expected sequence number when a child is respawned + * after iterating the child list once, sleep. + * no implied ordering between packets on spawn/exit/signal + * detect pid changes in child messages + * scope reduction + * misc cleanup + * more cppcheck cleanups + * dump errno if write() to logfile fails + * maintain a packets pending count + * copy incoming packet timestamp into the packet header + * log the last operation number a child did when we get a signal + * use pthread_yield rather than sleep + * send the SIGALARM message from the child that just received it. + * bump the expected sequence nr if we got a SIGALARM + +--- Old: trinity-1.7+git.20170506.tar.xz New: trinity-1.7+git.20170512.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.oAEAvk/_old 2017-05-20 10:13:43.303387679 +0200 +++ /var/tmp/diff_new_pack.oAEAvk/_new 2017-05-20 10:13:43.307387114 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170506 +%define version_unconverted 1.7+git.20170512 Name: trinity -Version:1.7+git.20170506 +Version:1.7+git.20170512 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.oAEAvk/_old 2017-05-20 10:13:43.351380898 +0200 +++ /var/tmp/diff_new_pack.oAEAvk/_new 2017-05-20 10:13:43.351380898 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - f3764ffc7f46a7aae442a6d9cfb216a72db2d73f \ No newline at end of file + a81fba1701ad9250f91f87c7748940525eaaffa4 \ No newline at end of file ++ trinity-1.7+git.20170506.tar.xz -> trinity-1.7+git.20170512.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170506/Makefile new/trinity-1.7+git.20170512/Makefile --- old/trinity-1.7+git.20170506/Makefile 2017-05-06 06:52:58.0 +0200 +++ new/trinity-1.7+git.20170512/Makefile 2017-05-12 20:11:06.0 +0200 @@ -16,7 +16,8 @@ CC := $(CROSS_COMPILE)$(CC) LD := $(CROSS_COMPILE)$(LD) -CFLAGS += -Wall -Wextra -g -O2 -I. -Iinclude/ -include config.h -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D__linux__ +CFLAGS ?= -g -O2 -D_FORTIFY_SOURCE=2 +CFLAGS += -Wall -Wextra -I. -Iinclude/ -include config.h -Wimplicit -D_GNU_SOURCE -D__linux__ CCSTD := $(shell if $(CC) -std=gnu11 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-std=gnu11"; else echo "-std=gnu99"; fi) CFLAGS += $(CCSTD) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20170506/child.c new/trinity-1.7+git.20170512/child.c --- old/trinity-1.7+git.20170506/child.c2017-05-06 06:52:58.0 +0200 +++ new/trinity-1.7+git.20170512/child.c2017-05-12 20:11:06.0 +0200 @@ -238,10 +238,7 @@ if (logging_enabled == FALSE) return; - childmsg.hdr.pid = pid; - childmsg.hdr.type = CHILD_SPAWNED; - childmsg.hdr.childno = childno; - + init_msgchildhdr(, CHILD_SPAWNED, pid, childno); sendudp((char *) , sizeof(childmsg)); } @@ -438,7 +435,10 @@ if (sigwas != SIGALRM) output(1, "[%d] Back from signal handler! (sig was %s)\n", getpid(), strsignal(sigwas)); - + else { +
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-05-16 14:42:52 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Tue May 16 14:42:52 2017 rev:38 rq:494115 version:1.7+git.20170506 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-04-12 18:24:16.933522024 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-05-16 14:42:54.082130303 +0200 @@ -1,0 +2,33 @@ +Mon May 8 16:48:14 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170506: + * Fix PowerPC compilation issue + * log which syscalls got enabled. + * add missing 'transmit and free udp packet' lines to uniarch table code. + * configure: fix cross compile detection of broken ipv6 headers + * fix off-by-one in dump_childnos() + * fix memory corruption in tables-uniarch:log_enabled_syscalls_uniarch + * reorder local/global definitions + * todo: iterate fd provider list in help text + * copy the ->dump method into the child object header + * remove a bunch of bogus __unused__ attributes + * if handshake fails, force a re-read from udp + * initial attempt at syscall arg logging over udp. + * introduce a trinity_msgchildhdr struct + * fix backwards ternary operators + * log seed/reseed events + * fix infinite loop in main + * don't spin on locks if we've already finished. + * split up the decode file + * do more dead child reaping when waiting for exit + * move socket setup to own function, cleaning up main() + * rewrite the handshake code to pass a struct + * num_children moved to the handshake message + * make ->dump silent when running with -q + * start moving towards separating queueing packets and decoding them + * initialize logging later. + * queue & decode child messages. + * use threads to separate 'add to queue' and 'decode queue'. + * shut up cppcheck: scope reduction + +--- Old: trinity-1.7+git.20170405.tar.xz New: trinity-1.7+git.20170506.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.mp8UUs/_old 2017-05-16 14:42:54.926011733 +0200 +++ /var/tmp/diff_new_pack.mp8UUs/_new 2017-05-16 14:42:54.930011171 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170405 +%define version_unconverted 1.7+git.20170506 Name: trinity -Version:1.7+git.20170405 +Version:1.7+git.20170506 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.mp8UUs/_old 2017-05-16 14:42:55.002001056 +0200 +++ /var/tmp/diff_new_pack.mp8UUs/_new 2017-05-16 14:42:55.002001056 +0200 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - c20a52694c3ce9d142325c483e24a895fd010d7d \ No newline at end of file + f3764ffc7f46a7aae442a6d9cfb216a72db2d73f \ No newline at end of file ++ trinity-1.7+git.20170405.tar.xz -> trinity-1.7+git.20170506.tar.xz ++ 2029 lines of diff (skipped)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-04-12 17:37:12 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Wed Apr 12 17:37:12 2017 rev:37 rq:486978 version:1.7+git.20170405 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-03-20 17:09:37.961278090 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-04-12 18:24:16.933522024 +0200 @@ -1,0 +2,96 @@ +Mon Apr 10 08:19:09 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170405: + * simple handshake over udp to logging server + * send a udp message to indicate main started + * have the logmsg type be the first byte + * move the message struct definition to udp.h + * fix missed variable replacement + * Initial logging server implementation. + * don't hardcode protocol version in server side. + * reset proto to v0 for now. + * move exit reasons to header + * shut down socket if handshake fails + * add logging of main exiting + * add server decoding of main exiting + * log child creation + * decode child started messages + * log child exiting + * decode child exiting + * log child signal messages + * decode child signal messages + * replace decode switch with table lookup + * remove old debugging message that now triggers all the time + * retry sending handshake up to 3 times before giving up. + * scope reduction + * fail hard if we get passed '-l off' + * micro-optimize the 'became tainted' case. + * fix swapped args + * update -l help text + * don't make locking failure fatal + * export logging_enabled and use it appropriately + * fix off-by-one in ip proto selection + * error handling cleanups for ftrace + * fix some ftrace resource leaks + * log where the shm starts/end + * remove dump_objects, and make add_object do the dumping. + * clean up bpf object creation logging + * remove duplicate logging from epollfd creation + * remove duplicate logging from eventfd creation + * remove duplicate logging from timerfd creation + * improve dump output for file fds + * only set up the pipe objhead once + * extend pipe object with additional info about creation + * perf fd destructor/dump were backwards. + * remove duplicate output from perf fd init + * enhance perf fd creation logging + * remove unused defines + * support continuations in output() + * copy, and log the perf event structure in the perf object. + * enhance testfile ->dump to log more info + * extended logging for epoll fd creation + * fix cut-n-paste error in inotify syscall ->post + * extended logging for eventfd + * quieten down the mm dumper + * fix 'always true' comparison by hoisting declaration + * fix leak of epoll object in failure path + * extended logging for timerfd objects + * extended logging for memfd objects + * extended logging for inotify objects + * extended logging for userfaultfd + * fanotify object extended logging + * cleanup ->dump of socket creation + * pass the global bool down to ->dump + * move MAX_PATH_LEN to header + * log files opened over udp + * split out the decoding from the server + * Check for btrfs_ioctl_defrag_range_args. + * drmfd dump needs to take the bool arg too. + * log and decode map objects + * remove __unused__ + * log & decode pipe objects + * mapping name can contain a path + * helper functions for msghdr init + * convert map dump to use init_msgobjhdr + * log & decode perf objects + * use init_msghdr for MAIN_ messages + * add init_childmsghdr helper + * log & decode epoll objects + * log & decode eventfd objects + * log & decode timerfd objects + * log & decode testfile objects + * log & decode memfd objects + * log & decode drm objects + * log & decode inotify objects + * log & decode userfault objects + * log & decode fanotify objects + * log & decode bpf map objects + * remove unused bpf fd in object struct + * log & decode socket objects + * log & decode futex objects + * log & decode sysvshm objects + * log & decode object destruction + * compile fixes + * pass the buffer down to the decode routines instead of using a global + +--- Old: trinity-1.7+git.20170315.tar.xz New: trinity-1.7+git.20170405.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.io2KyY/_old 2017-04-12 18:24:17.525438321 +0200 +++ /var/tmp/diff_new_pack.io2KyY/_new 2017-04-12 18:24:17.525438321 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20170315 +%define version_unconverted 1.7+git.20170405 Name:
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-03-20 17:09:36 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Mon Mar 20 17:09:36 2017 rev:36 rq:480675 version:1.7+git.20170315 Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2017-01-23 11:35:49.323218478 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-03-20 17:09:37.961278090 +0100 @@ -1,0 +2,68 @@ +Thu Mar 16 16:18:44 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170315: + * Add PF_KCM to domains list, so -E KCM works. + * missing include, compile fix + * remove some more leftover log-to-file code + * introduce some basic 'connect to udp server' code. + * move output() and friends to trinity.h + * log.c->output.c log.h->arg-decoder.h + * implement logging shutdown + * make sendudp less fatal on failure + * add ->dump member to objhead + * Add TCP_FASTOPEN_CONNECT + * skeletal support for AF_QIPCRTR + * skeletal support for PF_SMC + * add RTNLGRP_MPLS_NETCONF + * remove unnecessary macro hell + * Sometimes unshare various namespaces in child processes + * make iovec's with a single element half the time + * set iovec lens to '20' half the time. + * fds/drm.c: Increase buffer size. + * add some new BPF map types + * improve bpf sanitize to support more than just PROG_LOAD + * add BPF_OBJ_PIN/BPF_OBJ_GET + * bpf arg 1 is cmds, not flags + * compile fixes + * always include config.h + * bpf: set r2/r3 in all cases + * new BPF prog types + * split out the bpf attr generations per-case. + * unused fields are already zeroed, as this is zmalloc'd + * improve BPF_MAP_CREATE by setting reasonable types/size + * keep bpf keys in small range for now + * bpf: pass in the right size arg depending on which union we use + * basic statx coverage + * Check for bpf_prog_type BPF_PROG_TYPE_PERF_EVENT. + * prctl todo for later + * don't mess with ioperm + +--- +Sun Feb 12 13:33:29 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170210: + * Correctly handle an error during initialization of fd providers + * Correctly handle commas in fd provider mask + * Correctly handle failure to open the kernel taint file + * Fix glibc for linux < 4.5 using compat.h + * generate_socket can be static + * socket generation should signify success when no cache exists. + * Fix --enable-fds bash list expansion bug + * write_socket_to_cache can be static + * open_socket can be static + * add TFD_TIMER_ABSTIME & TFD_TIMER_CANCEL_ON_SET to timerfd_settime flags + * remove all the ANSI colour code stuff + * remove all the 'log to disk' code. + * Fix a rare double reap bug + * Makefile: use grep -c to avoid wc -l + * Makefile: use findstring to check if we are building in development mode + * Makefile: improve build time with immediate variables + * Makefile: -Werror also for gcc 6.x + * btrfs/ioctl.h is not really needed + * do a flush after rewinding the pid stat file. + * don't set dropprivs if we start up without any. + * get_domain_name returns strings without the PF_ + * if creation of a specific socket fails, bail out instead of retrying +- Cleanup spec file a bit + +--- Old: trinity-1.7+git.20170107.tar.xz New: trinity-1.7+git.20170315.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.eCNZVe/_old 2017-03-20 17:09:38.569192252 +0100 +++ /var/tmp/diff_new_pack.eCNZVe/_new 2017-03-20 17:09:38.573191687 +0100 @@ -16,22 +16,16 @@ # -%define version_unconverted 1.7+git.20170107 +%define version_unconverted 1.7+git.20170315 Name: trinity -Version:1.7+git.20170107 +Version:1.7+git.20170315 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -BuildRequires: gcc -# needed for btrfs/ioctl.h -BuildRequires: libbtrfs-devel -BuildRequires: linux-glibc-devel -BuildRequires: make -BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExcludeArch:%ix86 %arm %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -43,8 +37,6 @@ %setup -q %build -# use correct include -sed -i "s|nvme.h|nvme_ioctl.h|g" configure ioctls/nvme.c export CFLAGS="%{optflags}" # Not autotools configure ./configure @@ -52,7 +44,8 @@ %install make
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2017-01-23 11:35:48 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-12-29 22:51:07.438923953 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2017-01-23 11:35:49.323218478 +0100 @@ -1,0 +2,9 @@ +Sun Jan 08 09:51:43 UTC 2017 - mplus...@suse.com + +- Update to version 1.7+git.20170107: + * check that the mprotect succeeded before writing to page. + * optimize the case where we're dirtying a whole mapping. + * protocol is always unsigned. + * clear out any old state left in the postbuffer before we do a syscall. + +--- Old: trinity-1.7+git.20161222.tar.xz New: trinity-1.7+git.20170107.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.fiGTfg/_old 2017-01-23 11:35:49.891137940 +0100 +++ /var/tmp/diff_new_pack.fiGTfg/_new 2017-01-23 11:35:49.895137373 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20161222 +%define version_unconverted 1.7+git.20170107 Name: trinity -Version:1.7+git.20161222 +Version:1.7+git.20170107 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _servicedata ++ --- /var/tmp/diff_new_pack.fiGTfg/_old 2017-01-23 11:35:49.935131701 +0100 +++ /var/tmp/diff_new_pack.fiGTfg/_new 2017-01-23 11:35:49.939131134 +0100 @@ -1,4 +1,4 @@ git://github.com/kernelslacker/trinity - 7b0c4fea9d676996d942cfe4fd12bd2dd9d217c2 \ No newline at end of file + 14f78c74d14ce5a675d4598d7e25f6790dbfd3ee \ No newline at end of file ++ trinity-1.7+git.20161222.tar.xz -> trinity-1.7+git.20170107.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20161222/childops/random-syscall.c new/trinity-1.7+git.20170107/childops/random-syscall.c --- old/trinity-1.7+git.20161222/childops/random-syscall.c 2016-12-22 22:38:48.0 +0100 +++ new/trinity-1.7+git.20170107/childops/random-syscall.c 2017-01-08 04:45:22.0 +0100 @@ -183,8 +183,9 @@ if (set_syscall_nr(rec) == FAIL) return FAIL; - /* Generate arguments, print them out */ + memset(rec->postbuffer, 0, POSTBUFFER_LEN); + /* Generate arguments, print them out */ generate_syscall_args(rec); output_syscall_prefix(rec); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20161222/mm/fault-write.c new/trinity-1.7+git.20170107/mm/fault-write.c --- old/trinity-1.7+git.20161222/mm/fault-write.c 2016-12-22 22:38:48.0 +0100 +++ new/trinity-1.7+git.20170107/mm/fault-write.c 2017-01-08 04:45:22.0 +0100 @@ -9,10 +9,26 @@ #include "sanitise.h" // get_address #include "utils.h" -static void mark_page_rw(struct map *map, void *page) +static bool mark_map_rw(struct map *map) { - mprotect(page, page_size, PROT_READ|PROT_WRITE); + int ret; + ret = mprotect(map->ptr, map->size, PROT_READ|PROT_WRITE); + if (ret < 0) + return FALSE; + + map->prot = PROT_READ|PROT_WRITE; + return TRUE; +} + +static bool mark_page_rw(struct map *map, void *page) +{ + int ret; + ret = mprotect(page, page_size, PROT_READ|PROT_WRITE); + if (ret < 0) + return FALSE; + map->prot = PROT_READ|PROT_WRITE; + return TRUE; } static unsigned int nr_pages(struct map *map) @@ -25,19 +41,21 @@ char *p = map->ptr; unsigned long offset = (rnd() % map->size) & PAGE_MASK; - mark_page_rw(map, p + offset); - p[offset] = rnd(); + if (mark_page_rw(map, p + offset) == TRUE) + p[offset] = rnd(); } static void dirty_whole_mapping(struct map *map) { unsigned int i, nr; + if (mark_map_rw(map) == FALSE) + return; + nr = nr_pages(map); for (i = 0; i < nr; i++) { char *p = map->ptr + (i * page_size); - mark_page_rw(map, p); *p = rnd(); } } @@ -52,8 +70,8
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-11-13 23:01:42 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-11-05 21:26:05.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-11-13 23:02:51.0 +0100 @@ -1,0 +2,7 @@ +Sat Nov 12 14:40:55 UTC 2016 - mplus...@suse.com + +- Update to version 1.7+git.20161108: + * fix build when USE_BPF is not defined + * Some older distros apparently need types.h included here. + +--- Old: trinity-1.7+git.20161028.tar.xz New: trinity-1.7+git.20161108.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.NUUOSt/_old 2016-11-13 23:02:52.0 +0100 +++ /var/tmp/diff_new_pack.NUUOSt/_new 2016-11-13 23:02:52.0 +0100 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.7+git.20161028 +%define version_unconverted 1.7+git.20161108 Name: trinity -Version:1.7+git.20161028 +Version:1.7+git.20161108 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-1.7+git.20161028.tar.xz -> trinity-1.7+git.20161108.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20161028/ioctls/ext.c new/trinity-1.7+git.20161108/ioctls/ext.c --- old/trinity-1.7+git.20161028/ioctls/ext.c 2016-10-28 19:56:34.0 +0200 +++ new/trinity-1.7+git.20161108/ioctls/ext.c 2016-11-08 16:40:24.0 +0100 @@ -1,5 +1,6 @@ #include #include +#include #include #include "ioctls.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20161028/net/bpf.c new/trinity-1.7+git.20161108/net/bpf.c --- old/trinity-1.7+git.20161028/net/bpf.c 2016-10-28 19:56:34.0 +0200 +++ new/trinity-1.7+git.20161108/net/bpf.c 2016-11-08 16:40:24.0 +0100 @@ -8,6 +8,7 @@ #include #include "bpf.h" +#include "config.h" #include "debug.h" #include "log.h" #include "net.h" @@ -17,6 +18,7 @@ #include "utils.h" #include "compat.h" +#ifdef USE_BPF /** * BPF filters are used in networking such as in pf_packet, but also * in seccomp for application sand-boxing. Additionally, with arch @@ -885,3 +887,4 @@ if (dump_bpf) bpf_disasm_all(bpf->filter, bpf->len); } +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20161028/syscalls/prctl.c new/trinity-1.7+git.20161108/syscalls/prctl.c --- old/trinity-1.7+git.20161028/syscalls/prctl.c 2016-10-28 19:56:34.0 +0200 +++ new/trinity-1.7+git.20161108/syscalls/prctl.c 2016-11-08 16:40:24.0 +0100 @@ -45,9 +45,11 @@ #ifdef USE_SECCOMP static void do_set_seccomp(struct syscallrecord *rec) { - unsigned long *optval = NULL, optlen = 0; + unsigned long *optval = NULL, __unused__ optlen = 0; +#ifdef USE_BPF bpf_gen_seccomp(, ); +#endif rec->a2 = SECCOMP_MODE_FILTER; rec->a3 = (unsigned long) optval; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.7+git.20161028/syscalls/setsockopt.c new/trinity-1.7+git.20161108/syscalls/setsockopt.c --- old/trinity-1.7+git.20161028/syscalls/setsockopt.c 2016-10-28 19:56:34.0 +0200 +++ new/trinity-1.7+git.20161108/syscalls/setsockopt.c 2016-11-08 16:40:24.0 +0100 @@ -48,7 +48,9 @@ case SO_ATTACH_FILTER: { unsigned long *optval = NULL, optlen = 0; +#ifdef USE_BPF bpf_gen_filter(, ); +#endif so->optval = (unsigned long) optval; so->optlen = optlen;
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-11-05 21:26:04 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-10-20 23:10:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-11-05 21:26:05.0 +0100 @@ -1,0 +2,15 @@ +Wed Nov 02 16:54:45 UTC 2016 - mplus...@suse.com + +- Update to version 1.7+git.20161028: + * disable the mremap page-dirtying for now + * pick read/write dirtying based on PROT settings of mapping + * for now disable periodic dirtying of mappings. + * Sanity checks in pid_alive + * update find.sh to a more interesting example. + * kill_pid debugging + * consolidate the seed initialization into init_seed + * Add FALLOC_FL_UNSHARE_RANGE flag to fallocate + * 1.7 release. + * Move version back to devel + +--- Old: trinity-1.6+git.20161018.tar.xz New: trinity-1.7+git.20161028.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.7vJh31/_old 2016-11-05 21:26:06.0 +0100 +++ /var/tmp/diff_new_pack.7vJh31/_new 2016-11-05 21:26:06.0 +0100 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.6+git.20161018 +%define version_unconverted 1.7+git.20161028 Name: trinity -Version:1.6+git.20161018 +Version:1.7+git.20161028 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 @@ -28,6 +28,7 @@ BuildRequires: gcc # needed for btrfs/ioctl.h BuildRequires: libbtrfs-devel +BuildRequires: linux-glibc-devel BuildRequires: make BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ _service ++ --- /var/tmp/diff_new_pack.7vJh31/_old 2016-11-05 21:26:06.0 +0100 +++ /var/tmp/diff_new_pack.7vJh31/_new 2016-11-05 21:26:06.0 +0100 @@ -4,7 +4,7 @@ git enable trinity -1.6+git.%cd +1.7+git.%cd *.tar ++ trinity-1.6+git.20161018.tar.xz -> trinity-1.7+git.20161028.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20161018/Makefile new/trinity-1.7+git.20161028/Makefile --- old/trinity-1.6+git.20161018/Makefile 2016-10-19 01:17:03.0 +0200 +++ new/trinity-1.7+git.20161028/Makefile 2016-10-28 19:56:34.0 +0200 @@ -1,4 +1,4 @@ -VERSION="1.7pre" +VERSION="1.8pre" INSTALL_PREFIX ?= $(DESTDIR) INSTALL_PREFIX ?= $(HOME) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20161018/child.c new/trinity-1.7+git.20161028/child.c --- old/trinity-1.6+git.20161018/child.c2016-10-19 01:17:03.0 +0200 +++ new/trinity-1.7+git.20161028/child.c2016-10-28 19:56:34.0 +0200 @@ -357,8 +357,8 @@ check_parent_pid(); /* Every 100 iterations. */ - if (!(periodic_counter % 100)) - dirty_random_mapping(); +// if (!(periodic_counter % 100)) +// dirty_random_mapping(); if (periodic_counter == 1000) periodic_counter = 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20161018/fds/bpf.c new/trinity-1.7+git.20161028/fds/bpf.c --- old/trinity-1.6+git.20161018/fds/bpf.c 2016-10-19 01:17:03.0 +0200 +++ new/trinity-1.7+git.20161028/fds/bpf.c 2016-10-28 19:56:34.0 +0200 @@ -14,6 +14,7 @@ #include #include +#include "bpf.h" #include "fd.h" #include "log.h" #include "objects.h" @@ -99,7 +100,7 @@ return TRUE; } -static int get_rand_bpf_fd(void) +int get_rand_bpf_fd(void) { struct object *obj; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20161018/include/bpf.h new/trinity-1.7+git.20161028/include/bpf.h --- old/trinity-1.6+git.20161018/include/bpf.h 1970-01-01 01:00:00.0 +0100 +++ new/trinity-1.7+git.20161028/include/bpf.h 2016-10-28 19:56:34.0 +0200 @@ -0,0 +1,3 @@ +#pragma once + +int get_rand_bpf_fd(void); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20161018/mm/fault-read.c new/trinity-1.7+git.20161028/mm/fault-read.c --- old/trinity-1.6+git.20161018/mm/fault-read.c2016-10-19 01:17:03.0 +0200 +++ new/trinity-1.7+git.20161028/mm/fault-read.c2016-10-28 19:56:34.0 +0200 @@ -15,7 +15,7 @@
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-10-20 23:09:50 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-10-10 16:21:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-10-20 23:10:16.0 +0200 @@ -1,0 +2,15 @@ +Wed Oct 19 19:40:23 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20161018: + * don't use rewind() on /proc/pid/stat + * Fix up segfaults when encountering null entries in syscall tables. + * fix segfault in setsockopt() when called with --disable-fds=sockets + * add the 'special' ring-id's for keyctl + * generate random numbers in the -1..-10 range + * change the random munging a little + * silence cppcheck + * mark pages as PROT_READ before we fault them with a read + * remove the 'do syscall in a subchild' code for now. + * allow '0' as a file mode + +--- Old: trinity-1.6+git.20161005.tar.xz New: trinity-1.6+git.20161018.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.ltZxQe/_old 2016-10-20 23:10:17.0 +0200 +++ /var/tmp/diff_new_pack.ltZxQe/_new 2016-10-20 23:10:17.0 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.6+git.20161005 +%define version_unconverted 1.6+git.20161018 Name: trinity -Version:1.6+git.20161005 +Version:1.6+git.20161018 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-1.6+git.20161005.tar.xz -> trinity-1.6+git.20161018.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20161005/childops/random-syscall.c new/trinity-1.6+git.20161018/childops/random-syscall.c --- old/trinity-1.6+git.20161005/childops/random-syscall.c 2016-10-05 20:09:56.0 +0200 +++ new/trinity-1.6+git.20161018/childops/random-syscall.c 2016-10-19 01:17:03.0 +0200 @@ -136,6 +136,7 @@ return TRUE; } +/* static bool do_syscall_in_child(struct syscallrecord *rec, struct childdata *child) { pid_t pid; @@ -170,6 +171,7 @@ return FALSE; } } +*/ bool random_syscall(struct childdata *child) { @@ -191,12 +193,13 @@ stash = zmalloc(sizeof(struct syscallrecord)); memcpy(stash, rec, sizeof(struct syscallrecord)); - - if (RAND_BOOL()) { +/* + if (ONE_IN(100)) { if (do_syscall_in_child(rec, child) == FALSE) goto fail; } else - do_syscall(rec); +*/ + do_syscall(rec); check_sanity(rec, stash); @@ -205,7 +208,7 @@ handle_syscall_ret(rec); ret = TRUE; -fail: +//fail: free(stash); return ret; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20161005/fds/bpf.c new/trinity-1.6+git.20161018/fds/bpf.c --- old/trinity-1.6+git.20161005/fds/bpf.c 2016-10-05 20:09:56.0 +0200 +++ new/trinity-1.6+git.20161018/fds/bpf.c 2016-10-19 01:17:03.0 +0200 @@ -48,81 +48,50 @@ close(obj->bpf_map_fd); } +struct bpf_fd_types { + u32 map_type; + u32 key_size; + u32 value_size; + u32 max_entries; + u32 flags; + char name[32]; +}; + +static struct bpf_fd_types bpf_fds[] = { + { BPF_MAP_TYPE_HASH, sizeof(long long), sizeof(long long), 1024, 0, "hash" }, + { BPF_MAP_TYPE_ARRAY, sizeof(int), sizeof(long long), 256, 0, "array" }, + { BPF_MAP_TYPE_PROG_ARRAY, sizeof(int), sizeof(int), 4, 0, "prog_array" }, + { BPF_MAP_TYPE_PERF_EVENT_ARRAY, sizeof(int), sizeof(u32), 32, 0, "perf event array" }, + { BPF_MAP_TYPE_PERCPU_HASH, sizeof(u32), sizeof(u64) * PERF_MAX_STACK_DEPTH, 1, 0, "percpu hash" }, + { BPF_MAP_TYPE_PERCPU_ARRAY, sizeof(u32), sizeof(u64), 100, 0, "percpu array" }, + { BPF_MAP_TYPE_STACK_TRACE, sizeof(u32), sizeof(u64), 100, 0, "stack trace" }, +}; + static int open_bpf_fds(void) { struct objhead *head; - int fd, key; - long long value = 0; - struct object *obj; struct rlimit r = {1 << 20, 1 << 20}; + unsigned int i; setrlimit(RLIMIT_MEMLOCK, ); head = get_objhead(OBJ_GLOBAL, OBJ_FD_BPF_MAP); head->destroy = _destructor; - fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(long long), sizeof(long long), 1024, 0); - if (fd < 0) -
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-10-10 16:21:30 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-09-25 14:45:16.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-10-10 16:21:31.0 +0200 @@ -1,0 +2,15 @@ +Thu Oct 06 12:18:43 UTC 2016 - nmou...@suse.com + +- Update to version 1.6+git.20161005: + * add missing locking around state modification + * skip the sleep if the grandchild has already exited. + * reduce the amount of time we wait for the grandchild a little + * make enable_random_syscalls static + * annotate fadvise flags + * fix up some segfaults when --disable-fds=sockets is passed. + * move the reading of MemFree out to its own function for other uses. + * create a bpf fd of each type. + * add the newer bpf map types + * correct the params for BPF_MAP_TYPE_STACK_TRACE creation + +--- Old: trinity-1.6+git.20160913.tar.xz New: trinity-1.6+git.20161005.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.Xl0yrP/_old 2016-10-10 16:21:32.0 +0200 +++ /var/tmp/diff_new_pack.Xl0yrP/_new 2016-10-10 16:21:32.0 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.6+git.20160913 +%define version_unconverted 1.6+git.20161005 Name: trinity -Version:1.6+git.20160913 +Version:1.6+git.20161005 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-1.6+git.20160913.tar.xz -> trinity-1.6+git.20161005.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160913/fds/bpf.c new/trinity-1.6+git.20161005/fds/bpf.c --- old/trinity-1.6+git.20160913/fds/bpf.c 2016-09-13 17:18:12.0 +0200 +++ new/trinity-1.6+git.20161005/fds/bpf.c 2016-10-05 20:09:56.0 +0200 @@ -9,6 +9,10 @@ #include #include #include +#include +#include +#include +#include #include "fd.h" #include "log.h" @@ -19,23 +23,20 @@ #include "compat.h" #include "trinity.h" -static int bpf(__unused__ int cmd, __unused__ union bpf_attr *attr, __unused__ unsigned int size) +static int bpf(int cmd, union bpf_attr *attr, unsigned int size) { -#ifdef SYS_bpf - return syscall(SYS_bpf, cmd, attr, size); -#else - return -ENOSYS; -#endif + return syscall(__NR_bpf, cmd, attr, size); } static int bpf_create_map(enum bpf_map_type map_type, unsigned int key_size, - unsigned int value_size, unsigned int max_entries) + unsigned int value_size, unsigned int max_entries, int map_flags) { union bpf_attr attr = { .map_type= map_type, .key_size= key_size, .value_size = value_size, - .max_entries = max_entries + .max_entries = max_entries, + .map_flags = map_flags, }; return bpf(BPF_MAP_CREATE, , sizeof(attr)); @@ -53,21 +54,76 @@ int fd, key; long long value = 0; struct object *obj; + struct rlimit r = {1 << 20, 1 << 20}; + + setrlimit(RLIMIT_MEMLOCK, ); head = get_objhead(OBJ_GLOBAL, OBJ_FD_BPF_MAP); head->destroy = _destructor; - fd = bpf_create_map(BPF_MAP_TYPE_ARRAY,sizeof(key), sizeof(value), 256); + fd = bpf_create_map(BPF_MAP_TYPE_HASH, sizeof(long long), sizeof(long long), 1024, 0); if (fd < 0) - goto out; + goto fail_hash; + obj = alloc_object(); + obj->bpf_map_fd = fd; + add_object(obj, OBJ_GLOBAL, OBJ_FD_BPF_MAP); + output(2, "fd[%d] = bpf hash\n", fd); +fail_hash: + fd = bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(key), sizeof(value), 256, 0); + if (fd < 0) + goto fail_array; + obj = alloc_object(); + obj->bpf_map_fd = fd; + add_object(obj, OBJ_GLOBAL, OBJ_FD_BPF_MAP); + output(2, "fd[%d] = bpf array\n", fd); +fail_array: + + fd = bpf_create_map(BPF_MAP_TYPE_PROG_ARRAY, sizeof(int), sizeof(int), 4, 0); + if (fd < 0) + goto fail_progarray; + obj = alloc_object(); + obj->bpf_map_fd = fd; + add_object(obj, OBJ_GLOBAL, OBJ_FD_BPF_MAP); + output(2, "fd[%d] = bpf progarray\n", fd); +fail_progarray: + + fd = bpf_create_map(BPF_MAP_TYPE_PERF_EVENT_ARRAY, sizeof(int), sizeof(u32), 32, 0); + if (fd < 0) +
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-09-25 14:45:12 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-09-16 11:03:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-09-25 14:45:16.0 +0200 @@ -1,0 +2,6 @@ +Sun Sep 18 06:57:32 UTC 2016 - mplus...@suse.com + +- Simplify conditions +- Use correct header with nvme ioctls + +--- Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.z0IuBY/_old 2016-09-25 14:45:17.0 +0200 +++ /var/tmp/diff_new_pack.z0IuBY/_new 2016-09-25 14:45:17.0 +0200 @@ -26,13 +26,11 @@ Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz BuildRequires: gcc +# needed for btrfs/ioctl.h +BuildRequires: libbtrfs-devel BuildRequires: make BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} >= 1320 -# needed for btrfs/ioctl.h -BuildRequires: libbtrfs-devel -%endif %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -44,6 +42,8 @@ %setup -q %build +# use correct include +sed -i "s|nvme.h|nvme_ioctl.h|g" configure ioctls/nvme.c export CFLAGS="%{optflags}" # Not autotools configure ./configure
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-09-16 11:02:48 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-08-28 12:18:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-09-16 11:03:17.0 +0200 @@ -1,0 +2,7 @@ +Thu Sep 15 12:47:10 UTC 2016 - sle...@suse.de + +- Updated to 1.6+git.20160913 + * Removed Provides: 20160315 + * Removed Obsoletes: 20160315 + +--- Old: trinity-1.6+git.20160826.tar.xz New: trinity-1.6+git.20160913.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.00PBxC/_old 2016-09-16 11:03:19.0 +0200 +++ /var/tmp/diff_new_pack.00PBxC/_new 2016-09-16 11:03:19.0 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.6+git.20160826 +%define version_unconverted 1.6+git.20160913 Name: trinity -Version:1.6+git.20160826 +Version:1.6+git.20160913 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 @@ -28,10 +28,6 @@ BuildRequires: gcc BuildRequires: make BuildRequires: xz -# older packages which use old versioning scheme need to be obsoleted, -# this can be removed in the future -Provides: %{name} = 20160315 -Obsoletes: %{name} = 20160315 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1320 # needed for btrfs/ioctl.h ++ trinity-1.6+git.20160826.tar.xz -> trinity-1.6+git.20160913.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160826/include/params.h new/trinity-1.6+git.20160913/include/params.h --- old/trinity-1.6+git.20160826/include/params.h 2016-08-26 22:49:10.0 +0200 +++ new/trinity-1.6+git.20160913/include/params.h 2016-09-13 17:18:12.0 +0200 @@ -49,6 +49,7 @@ extern unsigned int random_selection_num; extern bool clowntown; +extern bool show_stats; extern unsigned int kernel_taint_mask; extern bool kernel_taint_param_occured; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160826/include/stats.h new/trinity-1.6+git.20160913/include/stats.h --- old/trinity-1.6+git.20160826/include/stats.h2016-08-26 22:49:10.0 +0200 +++ new/trinity-1.6+git.20160913/include/stats.h2016-09-13 17:18:12.0 +0200 @@ -10,3 +10,5 @@ /* Counts to tell if we're making progress or not. */ unsigned long previous_op_count;/* combined total of all children */ }; + +void dump_stats(void); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160826/include/syscall.h new/trinity-1.6+git.20160913/include/syscall.h --- old/trinity-1.6+git.20160826/include/syscall.h 2016-08-26 22:49:10.0 +0200 +++ new/trinity-1.6+git.20160913/include/syscall.h 2016-09-13 17:18:12.0 +0200 @@ -70,6 +70,8 @@ .values = vals, \ } +#define NR_ERRNOS 133 // Number in /usr/include/asm-generic/errno.h + struct results { union { // ARG_FD. -1 = Avoid. 0 = untested. 1 = Works. @@ -112,6 +114,9 @@ struct results results5; struct results results6; + unsigned int successes, failures, attempted; + unsigned int errnos[NR_ERRNOS]; + /* FIXME: At some point, if we grow more type specific parts here, * it may be worth union-ising this */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160826/include/tables.h new/trinity-1.6+git.20160913/include/tables.h --- old/trinity-1.6+git.20160826/include/tables.h 2016-08-26 22:49:10.0 +0200 +++ new/trinity-1.6+git.20160913/include/tables.h 2016-09-13 17:18:12.0 +0200 @@ -58,7 +58,6 @@ void sanity_check_tables(void); const char * print_syscall_name(unsigned int callno, bool is32bit); -void enable_random_syscalls(void); void enable_random_syscalls_biarch(void); void enable_random_syscalls_uniarch(void); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160826/main.c new/trinity-1.6+git.20160913/main.c --- old/trinity-1.6+git.20160826/main.c 2016-08-26 22:49:10.0 +0200 +++ new/trinity-1.6+git.20160913/main.c 2016-09-13 17:18:12.0 +0200 @@ -351,7 +351,7 @@ if
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-08-28 12:18:14 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-07-20 09:19:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-08-28 12:18:17.0 +0200 @@ -1,0 +2,15 @@ +Sat Aug 27 08:16:34 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160826: + * overwrite the correct pointer with the sockaddr + * Replace ->generate with lists of valid socket triplets + * add support for privileged sockets to the socket generator. + * use correct loop boundary for privileged sockets + * add PF_CAIF valid triplets + * add PF_DECnet socket triplets + * dummy entry for (dead) econet + * add valid protos for PF_KCM + * add PF_X25 valid triplet + * remove ->socket + +--- Old: trinity-1.6+git.20160706.tar.xz New: trinity-1.6+git.20160826.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.pcnWtf/_old 2016-08-28 12:18:17.0 +0200 +++ /var/tmp/diff_new_pack.pcnWtf/_new 2016-08-28 12:18:17.0 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 1.6+git.20160706 +%define version_unconverted 1.6+git.20160826 Name: trinity -Version:1.6+git.20160706 +Version:1.6+git.20160826 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-1.6+git.20160706.tar.xz -> trinity-1.6+git.20160826.tar.xz ++ 4579 lines of diff (skipped)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-07-20 09:19:12 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-06-21 12:29:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-07-20 09:19:20.0 +0200 @@ -1,0 +2,17 @@ +Sun Jul 17 13:06:16 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160706: + * check for potential failure to acquire testfile fd. + * fds/drm.c: Add forward declaration of struct. + * flesh out the bpf sanitiser a little. + * introduce object types for bpf maps & progs + * make the BPF_PROG_LOAD case look more sane + * bpf: only do bpf_gen_filter for BPF_PROG_TYPE_SOCKET_FILTER + * fix wrong variable name in childops wait + * if we use the fallback seed, don't use rand() yet. + * Before falling back to gtod, try getrandom() if available. + * net/proto-unix.c: set protocol to 0 in unix_rand_socket() +- Drop support for building on SLE-11 as builds are failing + anyways + +--- Old: trinity-1.6+git.20160603.tar.xz New: trinity-1.6+git.20160706.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.zCtSIL/_old 2016-07-20 09:19:22.0 +0200 +++ /var/tmp/diff_new_pack.zCtSIL/_new 2016-07-20 09:19:22.0 +0200 @@ -16,48 +16,27 @@ # -%define version_unconverted 1.6+git.20160603 - +%define version_unconverted 1.6+git.20160706 Name: trinity -Version:1.6+git.20160603 +Version:1.6+git.20160706 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -# SLE11-SP*, for -std=gnu11 -%if 0%{suse_version} == 1110 - -%if 0%{?product_libs_gcc_ver} == 48 -#SP4 -%define gcc_minor 8 -%else -#SP3 -%define gcc_minor 7 -%endif - -BuildRequires: gcc4%{gcc_minor} -%else BuildRequires: gcc -%endif - -%if 0%{suse_version} >= 1320 -# needed for btrfs/ioctl.h -BuildRequires: libbtrfs-devel -%endif -%if 0%{suse_version} >= 1330 -# builds for 32 bit architectures are failing on Tumbleweed -ExcludeArch:%ix86 %arm -%endif BuildRequires: make BuildRequires: xz - # older packages which use old versioning scheme need to be obsoleted, # this can be removed in the future Provides: %{name} = 20160315 Obsoletes: %{name} = 20160315 BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} >= 1320 +# needed for btrfs/ioctl.h +BuildRequires: libbtrfs-devel +%endif %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -69,16 +48,14 @@ %setup -q %build -%if 0%{suse_version} == 1110 -export CC=gcc-4.%{gcc_minor} -%endif export CFLAGS="%{optflags}" +# Not autotools configure ./configure make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot}/usr install -install -D -m 0644 trinity.1 %{buildroot}%{_mandir}/man1/trinity.1 +make DESTDIR=%{buildroot}%{_prefix} install +install -D -p -m 0644 trinity.1 %{buildroot}%{_mandir}/man1/trinity.1 %files %defattr(-,root,root) ++ trinity-1.6+git.20160603.tar.xz -> trinity-1.6+git.20160706.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160603/net/proto-unix.c new/trinity-1.6+git.20160706/net/proto-unix.c --- old/trinity-1.6+git.20160603/net/proto-unix.c 2016-06-12 18:30:20.0 +0200 +++ new/trinity-1.6+git.20160706/net/proto-unix.c 2016-07-06 17:56:46.0 +0200 @@ -24,7 +24,7 @@ static void unix_rand_socket(struct socket_triplet *st) { - st->protocol = PF_UNIX; + st->protocol = 0; switch (rnd() % 3) { case 0: st->type = SOCK_STREAM;
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-06-21 11:30:49 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-06-07 23:47:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-06-21 12:29:20.0 +0200 @@ -2 +2,9 @@ -Fri May 27 20:28:47 UTC 2016 - opensuse-packag...@opensuse.org +Sun Jun 12 16:30:20 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160603: + * if we use the fallback seed, don't use rand() yet. + * Before falling back to gtod, try getrandom() if available. +- Change _service to disabled + +--- +Fri May 27 20:28:47 UTC 2016 - mplus...@suse.com Old: trinity-1.6+git.20160526.tar.xz New: trinity-1.6+git.20160603.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.2Pl0oR/_old 2016-06-21 12:29:21.0 +0200 +++ /var/tmp/diff_new_pack.2Pl0oR/_new 2016-06-21 12:29:21.0 +0200 @@ -16,10 +16,10 @@ # -%define version_unconverted 1.6+git.20160526 +%define version_unconverted 1.6+git.20160603 Name: trinity -Version:1.6+git.20160526 +Version:1.6+git.20160603 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.2Pl0oR/_old 2016-06-21 12:29:21.0 +0200 +++ /var/tmp/diff_new_pack.2Pl0oR/_new 2016-06-21 12:29:21.0 +0200 @@ -1,14 +1,14 @@ - + git://github.com/kernelslacker/trinity git enable trinity 1.6+git.%cd - + *.tar xz - + ++ trinity-1.6+git.20160526.tar.xz -> trinity-1.6+git.20160603.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160526/include/random.h new/trinity-1.6+git.20160603/include/random.h --- old/trinity-1.6+git.20160526/include/random.h 2016-05-27 22:28:47.0 +0200 +++ new/trinity-1.6+git.20160603/include/random.h 2016-06-12 18:30:20.0 +0200 @@ -26,3 +26,12 @@ u64 rand64(void); unsigned long rand_single_bit(unsigned char size); unsigned long set_rand_bitmask(unsigned int num, const unsigned long *values); + +#ifndef SYS_getrandom +#ifdef __x86_64__ +#define SYS_getrandom 318 +#endif +#ifdef __i386__ +#define SYS_getrandom 355 +#endif +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160526/rand/seed.c new/trinity-1.6+git.20160603/rand/seed.c --- old/trinity-1.6+git.20160526/rand/seed.c2016-05-27 22:28:47.0 +0200 +++ new/trinity-1.6+git.20160603/rand/seed.c2016-06-12 18:30:20.0 +0200 @@ -45,12 +45,16 @@ struct timeval t; unsigned int r; - //printf("Fell back to gtod seed! errno:%s\n", strerror(errno)); - r = rnd(); - if (!(RAND_BOOL())) { - gettimeofday(, NULL); - r |= t.tv_usec; - } +#ifdef SYS_getrandom + int buf, ret; + + ret = syscall(SYS_getrandom, , 4, 0); + if (ret > 0) + return buf; +#endif + + gettimeofday(, NULL); + r = t.tv_sec * t.tv_usec; return r; }
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-06-07 23:47:40 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-05-23 16:39:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-06-07 23:47:41.0 +0200 @@ -1,0 +2,15 @@ +Fri May 27 20:28:47 UTC 2016 - opensuse-packag...@opensuse.org + +- Update to version 1.6+git.20160526: + * for each random syscall, do one in an extra child too. + * compile fix. + * fix memory leak on child fork failure. + * check for potential failure to acquire testfile fd. + * fds/drm.c: Add forward declaration of struct. + * flesh out the bpf sanitiser a little. + * introduce object types for bpf maps & progs + * make the BPF_PROG_LOAD case look more sane + * bpf: only do bpf_gen_filter for BPF_PROG_TYPE_SOCKET_FILTER + * fix wrong variable name in childops wait + +--- Old: trinity-1.6+git.20160520.tar.xz New: trinity-1.6+git.20160526.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.FaYqDk/_old 2016-06-07 23:47:42.0 +0200 +++ /var/tmp/diff_new_pack.FaYqDk/_new 2016-06-07 23:47:42.0 +0200 @@ -16,10 +16,10 @@ # -%define version_unconverted 1.6+git.20160520 +%define version_unconverted 1.6+git.20160526 Name: trinity -Version:1.6+git.20160520 +Version:1.6+git.20160526 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 @@ -48,7 +48,7 @@ %endif %if 0%{suse_version} >= 1330 # builds for 32 bit architectures are failing on Tumbleweed -Excludearch:%ix86 %arm +ExcludeArch:%ix86 %arm %endif BuildRequires: make BuildRequires: xz ++ trinity-1.6+git.20160520.tar.xz -> trinity-1.6+git.20160526.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160520/child.c new/trinity-1.6+git.20160526/child.c --- old/trinity-1.6+git.20160520/child.c2016-05-21 15:11:30.0 +0200 +++ new/trinity-1.6+git.20160526/child.c2016-05-27 22:28:47.0 +0200 @@ -55,12 +55,19 @@ .likelyhood = 10, .type = CHILD_READ_ALL_FILES }, -*/ { + { .name = "thrash_pid_files", .func = thrash_pidfiles, .likelyhood = 50, .type = CHILD_THRASH_PID }, + { + .name = "truncate_testfile", + .func = truncate_testfile, + .likelyhood = 10, + .type = CHILD_TRUNCATE_TESTFILE + }, +*/ }; static const struct child_funcs root_child_ops[] = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-1.6+git.20160520/childops/random-syscall.c new/trinity-1.6+git.20160526/childops/random-syscall.c --- old/trinity-1.6+git.20160520/childops/random-syscall.c 2016-05-21 15:11:30.0 +0200 +++ new/trinity-1.6+git.20160526/childops/random-syscall.c 2016-05-27 22:28:47.0 +0200 @@ -6,6 +6,8 @@ #include #include #include +#include +#include #include "arch.h" // biarch #include "child.h" @@ -137,6 +139,8 @@ bool random_syscall(struct childdata *child) { struct syscallrecord *rec, *stash; + pid_t pid; + int ret = FALSE; rec = >syscall; @@ -153,7 +157,27 @@ stash = zmalloc(sizeof(struct syscallrecord)); memcpy(stash, rec, sizeof(struct syscallrecord)); - do_syscall(rec); + pid = fork(); + if (pid == 0) { + // child + do_syscall(rec); + _exit(EXIT_SUCCESS); + } else if (pid > 0) { + // parent + int childret = 0; + int childstatus; + while (childret == 0) { + clock_gettime(CLOCK_MONOTONIC, >tp); + kill(pid, SIGKILL); + childret = waitpid(pid, , WUNTRACED | WCONTINUED | WNOHANG); + if (childret == 0) + usleep(100); + } + do_syscall(rec); + } else { + // fork failed + goto fail; + } check_sanity(rec, stash); @@ -161,7 +185,9 @@ handle_syscall_ret(rec); + ret = TRUE; +fail: free(stash); - return TRUE; + return ret; } diff -urN '--exclude=CVS'
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-05-23 16:39:32 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-04-05 10:44:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-05-23 16:39:34.0 +0200 @@ -1,0 +2,101 @@ +Sat May 21 13:11:31 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160520: + * split num_fd_providers_enabled into two vars. + * make setup_fd_providers silent, so it doesn't spew during -h + * add flags from 4.7 for preadv2/pwritev2 + * if random_ipv4_address picked localhost last time, let it happen again. + * Convert fd provider initialization to use constructors + * include file cleanup + * document how register_fd_provider gets run + * merge enable_fds_param/disable_fds_param into toggle_fds_param + * shut up clang + * fix up more clang detritus + * change set_dontkillme to take a child struct instead of a pid + * bump the child progress indicator in set_dontkillme + +--- +Sun May 15 11:54:21 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160513: + * don't call fcntl on -1 fd's + * only do the 'stuck syscall' info on children running random syscalls + * print the error if the initial mmaps fail + * fix offset for 1GB pages. + * when disabling 1GB pages, just do nothing + +--- +Wed Apr 27 09:55:14 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160426: + * fix the 'pick new childop' code. + * remove the shm_rw debug code. + * store the type of childop we're doing in the child struct + * remove the 10MB initial mapping. + * be careful not to read past the end of the ip_ssoptrs array + * define maximum size of ip_ssoptrs array + * push the dropprivs code down into the child processes. + * bump the 'pick new op' counter even higher. + * add a 'read /proc//status' childop + * fix leaks in thrash-pid-files + * reformat childop structs + * convert uid.c to use output() instead of outputerr() + * set a flag in the child struct when we've dropped privs + * factor out the 'set new op' code to a separate function + * rewrite set_new_op to take ptrs to alternative childops. + * Introduce 'root child ops'. + +--- +Fri Apr 22 19:37:34 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160422: + * update the prototypes for the read-all-files childop + * children/ -> childops/ + * move op_nr from syscall record to childdata + * fix open() return code check + * open/stat instead of stat/open + * use fstat instead of lstat + * reset the op ptr when we reach the loop counter. + * reset the child timestamp when we clean it out + * Add new CLONE_NEWCGROUP flag + * change stats to count operations, not just syscalls + +--- +Wed Apr 20 15:40:30 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160420: + * reset the op ptr when we reach the loop counter. + * reset the child timestamp when we clean it out + * Add new CLONE_NEWCGROUP flag + +--- +Sat Apr 16 21:45:45 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160416: + * move the "child progressing" timestamp from the syscall rec to the child. + * change reap_child to take child struct + * pass the child ptr down to the child op. + * fix badly named child_random_syscalls() + * repeat the previous childop 1000 times + * update the prototypes for the read-all-files childop + * children/ -> childops/ + * move op_nr from syscall record to childdata + * fix open() return code check + * open/stat instead of stat/open + +--- +Tue Apr 12 11:49:51 UTC 2016 - mplus...@suse.com + +- Update to version 1.6+git.20160408: + * add a ->send method to struct netproto + * add pwritev2/preadv2 + * add SO_CNX_ADVICE setsockopt + * add MSG_BATCH flag + * if a proto's ->send is missing, fallback to random + * decode netlink protocols + * add missing NETLINK_ROUTE decoding + * when per proto ->socket succeeds, indicate success so we don't fall back + * Only pick a single netlink group + * rename ->send to ->gen_packet, and redefine args. + +--- Old: trinity-1.6~git.20160331.tar.xz New: trinity-1.6+git.20160520.tar.xz
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-04-05 10:44:20 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-03-26 15:24:27.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-04-05 10:44:22.0 +0200 @@ -1,0 +2,23 @@ +Sat Apr 02 09:55:20 UTC 2016 - mplus...@suse.com + +- Update to version 1.6~git.20160331: + + add ext[234] ioctls + + remove unnecessary include + + add bare-bones PF_KCM support + + use SOCK_RAW for IP sockets half the time. + + make get_new_random_fd bail early if no fd provider has finished yet. + + by default, start nr_cpus * 4 child processes. + + EBADF is a possible return from execve + + remove some noise from potential failures from unshare() + + add l2tp to analyze-sockets + + add a ->send method to struct netproto +- Change versioning scheme + + do not use just date + + add corresponding obsoletes/provides for smooth transition +- Update _service + + exclude .git when generating tarball + + enable automatic changelog updating +- Update dependencies + * add libbtrfs-devel as it provides btrfs/ioctl.h + +--- Old: trinity-20160315.tar.xz New: trinity-1.6~git.20160331.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.LyTW6P/_old 2016-04-05 10:44:22.0 +0200 +++ /var/tmp/diff_new_pack.LyTW6P/_new 2016-04-05 10:44:22.0 +0200 @@ -16,10 +16,10 @@ # -%define version_unconverted 20160315 +%define version_unconverted 1.6~git.20160331 Name: trinity -Version:20160315 +Version:1.6~git.20160331 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 @@ -41,8 +41,18 @@ %else BuildRequires: gcc %endif + +%if 0%{suse_version} >= 1320 +# needed for btrfs/ioctl.h +BuildRequires: libbtrfs-devel +%endif BuildRequires: make BuildRequires: xz + +# lates version which used old versioning scheme needs to be obsoleted, +# this can be removed in future +Provides: %{name} = 20160315 +Obsoletes: %{name} = 20160315 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ _service ++ --- /var/tmp/diff_new_pack.LyTW6P/_old 2016-04-05 10:44:22.0 +0200 +++ /var/tmp/diff_new_pack.LyTW6P/_new 2016-04-05 10:44:22.0 +0200 @@ -2,8 +2,10 @@ git://github.com/kernelslacker/trinity git +.git +enable trinity -%cd +1.6~git.%cd *.tar
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-03-26 15:24:23 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-03-03 15:16:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-03-26 15:24:27.0 +0100 @@ -1,0 +2,6 @@ +Sun Mar 20 08:52:07 UTC 2016 - mplus...@suse.com + +- Update to 20160315 +- Install manpage + +--- Old: trinity-20160301.tar.xz New: trinity-20160315.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.XeB4Bi/_old 2016-03-26 15:24:28.0 +0100 +++ /var/tmp/diff_new_pack.XeB4Bi/_new 2016-03-26 15:24:28.0 +0100 @@ -16,8 +16,10 @@ # +%define version_unconverted 20160315 + Name: trinity -Version:20160301 +Version:20160315 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 @@ -62,10 +64,12 @@ %install make DESTDIR=%{buildroot}/usr install +install -D -m 0644 trinity.1 %{buildroot}%{_mandir}/man1/trinity.1 %files %defattr(-,root,root) %doc README COPYING %{_bindir}/trinity +%{_mandir}/man1/trinity.1%{ext_man} %changelog ++ trinity-20160301.tar.xz -> trinity-20160315.tar.xz ++ 1619 lines of diff (skipped)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-03-03 15:16:22 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-02-05 00:31:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-03-03 15:16:23.0 +0100 @@ -1,0 +2,6 @@ +Wed Mar 2 07:52:44 UTC 2016 - norm...@linux.vnet.ibm.com + +- Update to 20160301 to avoid PowerPC build failure + remove 0001-net-protocols.c-fix-build-on-old-machines.patch + +--- Old: 0001-net-protocols.c-fix-build-on-old-machines.patch trinity-20160131.tar.xz New: trinity-20160301.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.fdNFRF/_old 2016-03-03 15:16:24.0 +0100 +++ /var/tmp/diff_new_pack.fdNFRF/_new 2016-03-03 15:16:24.0 +0100 @@ -17,14 +17,13 @@ Name: trinity -Version:20160131 +Version:20160301 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -Patch0: 0001-net-protocols.c-fix-build-on-old-machines.patch # SLE11-SP*, for -std=gnu11 %if 0%{suse_version} == 1110 @@ -52,14 +51,13 @@ %prep %setup -q -%patch0 -p1 %build %if 0%{suse_version} == 1110 export CC=gcc-4.%{gcc_minor} %endif export CFLAGS="%{optflags}" -./configure.sh +./configure make %{?_smp_mflags} V=1 %install ++ trinity-20160131.tar.xz -> trinity-20160301.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20160131/Makefile new/trinity-20160301/Makefile --- old/trinity-20160131/Makefile 2016-02-02 09:27:02.0 +0100 +++ new/trinity-20160301/Makefile 2016-03-01 18:05:38.0 +0100 @@ -10,7 +10,9 @@ CC := $(CROSS_COMPILE)$(CC) LD := $(CROSS_COMPILE)$(LD) -CFLAGS += -Wall -Wextra -g -O2 -I. -Iinclude/ -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D__linux__ -std=gnu11 +CFLAGS += -Wall -Wextra -g -O2 -I. -Iinclude/ -Wimplicit -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D__linux__ + +CFLAGS += $(shell if $(CC) -std=gnu11 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-std=gnu11"; else echo "-std=gnu99"; fi) # Only enabled during development, and on gcc 4.9+ CPP_MAJOR := $(shell $(CPP) -dumpversion 2>&1 | cut -d'.' -f1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20160131/configure new/trinity-20160301/configure --- old/trinity-20160131/configure 1970-01-01 01:00:00.0 +0100 +++ new/trinity-20160301/configure 2016-03-01 18:05:38.0 +0100 @@ -0,0 +1,254 @@ +#!/bin/bash + +CONFIGH="config.h" + +if [ -t 1 ]; then + RED="[1;31m" + GREEN="[1;32m" + COL_RESET="[0;m" +fi + +MISSING_DEFS=0 + +[ -z "$CC" ] && CC=gcc + +# expand tilde +CC="$(eval echo ${CROSS_COMPILE}${CC})" + +CFLAGS="${CFLAGS}" +if [ "${SYSROOT}xx" != "xx" ]; then + CFLAGS="${CFLAGS} $(eval echo --sysroot=${SYSROOT} )" +fi + +echo "#pragma once" > $CONFIGH +echo "/* This file is auto-generated by configure.sh */" >> $CONFIGH + +TMP=$(mktemp) + +check_header() +{ + echo -n "[*] Checking header $1 ... " + + rm -f "$TMP" || exit 1 + echo "#include <$1>" >"$TMP.c" + + ${CC} ${CFLAGS} "$TMP.c" -E &>"$TMP.log" + if [ $? -eq 0 ]; then + echo $GREEN "[YES]" $COL_RESET + echo "#define $2 1" >> $CONFIGH + else + echo $RED "[NO]" $COL_RESET + MISSING_DEFS=1 + fi +} + +# + +echo "[*] Checking system headers." + +# +# Are ipv6 headers usable ? +[ -z "$IPV6" ] && IPV6=yes +if [[ "$IPV6" == "yes" ]]; then + echo -n "[*] Checking ipv6 headers ... " + RET=$(grep __UAPI_DEF_IN6_PKTINFO /usr/include/linux/ipv6.h) + if [ -z "$RET" ]; then + echo $RED "[BROKEN]" $COL_RESET "See https://patchwork.ozlabs.org/patch/425881/; + else + echo $GREEN "[OK]" $COL_RESET + echo "#define USE_IPV6 1" >> $CONFIGH + fi +fi + +# +# is /usr/include/linux/if_pppox.h new enough to feature
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-02-05 00:31:32 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-01-05 21:55:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-02-05 00:31:34.0 +0100 @@ -1,0 +2,8 @@ +Tue Feb 2 08:29:58 UTC 2016 - jsl...@suse.com + +- Update to 20160131 +- remove 0001-compat.h-add-more-macros.patch (upstream) +- remove 0002-Makefile-fix-build-with-older-glibc.patch (upstream) +- add 0001-net-protocols.c-fix-build-on-old-machines.patch + +--- Old: 0001-compat.h-add-more-macros.patch 0002-Makefile-fix-build-with-older-glibc.patch trinity-20151230.tar.xz New: 0001-net-protocols.c-fix-build-on-old-machines.patch trinity-20160131.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.jS8BYo/_old 2016-02-05 00:31:35.0 +0100 +++ /var/tmp/diff_new_pack.jS8BYo/_new 2016-02-05 00:31:35.0 +0100 @@ -17,16 +17,29 @@ Name: trinity -Version:20151230 +Version:20160131 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -Patch0: 0001-compat.h-add-more-macros.patch -Patch1: 0002-Makefile-fix-build-with-older-glibc.patch +Patch0: 0001-net-protocols.c-fix-build-on-old-machines.patch +# SLE11-SP*, for -std=gnu11 +%if 0%{suse_version} == 1110 + +%if 0%{?product_libs_gcc_ver} == 48 +#SP4 +%define gcc_minor 8 +%else +#SP3 +%define gcc_minor 7 +%endif + +BuildRequires: gcc4%{gcc_minor} +%else BuildRequires: gcc +%endif BuildRequires: make BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,9 +53,11 @@ %prep %setup -q %patch0 -p1 -%patch1 -p1 %build +%if 0%{suse_version} == 1110 +export CC=gcc-4.%{gcc_minor} +%endif export CFLAGS="%{optflags}" ./configure.sh make %{?_smp_mflags} V=1 ++ 0001-net-protocols.c-fix-build-on-old-machines.patch ++ From: Jiri SlabyDate: Tue, 2 Feb 2016 10:10:04 +0100 Subject: net/protocols.c: fix build on old machines Patch-mainline: no * include compat.h for PF_* constants * use PF_NFC only if it can fit into the list * use PF_ALG only if USE_IF_ALG is defined Signed-off-by: Jiri Slaby --- net/protocols.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/protocols.c b/net/protocols.c index b8ae822ea2cf..febe0fd44781 100644 --- a/net/protocols.c +++ b/net/protocols.c @@ -1,6 +1,7 @@ #include #include "config.h" #include "net.h" +#include "compat.h" const struct protoptr net_protocols[PF_MAX] = { [PF_UNIX] = { .proto = _unix }, @@ -29,7 +30,9 @@ const struct protoptr net_protocols[PF_MAX] = { #ifdef USE_CAIF [PF_CAIF] = { .proto = _caif }, #endif +#if PF_NFC < PF_MAX [PF_NFC] = { .proto = _nfc }, +#endif #ifdef USE_NETROM [PF_NETROM] = { .proto = _netrom }, #endif @@ -43,5 +46,7 @@ const struct protoptr net_protocols[PF_MAX] = { [PF_PPPOX] = { .proto = _pppol2tp }, [PF_IUCV] = { .proto = _iucv }, [PF_RXRPC] = { .proto = _rxrpc }, +#ifdef USE_IF_ALG [PF_ALG] = { .proto = _alg }, +#endif }; -- 2.7.0 ++ _service ++ --- /var/tmp/diff_new_pack.jS8BYo/_old 2016-02-05 00:31:35.0 +0100 +++ /var/tmp/diff_new_pack.jS8BYo/_new 2016-02-05 00:31:35.0 +0100 @@ -3,7 +3,7 @@ git://github.com/kernelslacker/trinity git trinity -%ad +%cd *.tar ++ trinity-20151230.tar.xz -> trinity-20160131.tar.xz ++ 6138 lines of diff (skipped)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-01-05 21:55:14 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-12-24 12:16:48.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-01-05 21:55:46.0 +0100 @@ -1,0 +2,7 @@ +Mon Jan 4 10:36:03 UTC 2016 - jsl...@suse.com + +- Update to 20151230 +- add 0001-compat.h-add-more-macros.patch +- add 0002-Makefile-fix-build-with-older-glibc.patch + +--- Old: trinity-20151221.tar.xz New: 0001-compat.h-add-more-macros.patch 0002-Makefile-fix-build-with-older-glibc.patch trinity-20151230.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.x4N79n/_old 2016-01-05 21:55:47.0 +0100 +++ /var/tmp/diff_new_pack.x4N79n/_new 2016-01-05 21:55:47.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,15 @@ Name: trinity -Version:20151221 +Version:20151230 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz +Patch0: 0001-compat.h-add-more-macros.patch +Patch1: 0002-Makefile-fix-build-with-older-glibc.patch BuildRequires: gcc BuildRequires: make BuildRequires: xz @@ -37,6 +39,8 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build export CFLAGS="%{optflags}" ++ 0001-compat.h-add-more-macros.patch ++ >From 33f71bba1cc1d2f7eb7eab26b106b9f6c4bb5e24 Mon Sep 17 00:00:00 2001 From: Jiri SlabyDate: Mon, 4 Jan 2016 12:00:59 +0100 Subject: [PATCH v2 1/2] compat.h: add more macros Some more RTNLGRP macros are not defined on SLE11 yet. [v2]: NVME_IOCTL_RESET is not defined on openSUSE 42.1. Include compat.h in ioctls/nvme.c. So define them in compat.h. Signed-off-by: Jiri Slaby --- include/compat.h | 17 + ioctls/nvme.c| 1 + 2 files changed, 18 insertions(+) diff --git a/include/compat.h b/include/compat.h index fda51b529b4d..65e5e3c3cc08 100644 --- a/include/compat.h +++ b/include/compat.h @@ -268,6 +268,18 @@ enum { #ifndef NETLINK_SOCK_DIAG #define NETLINK_SOCK_DIAG 4 #endif +#ifndef RTNLGRP_DCB +#define RTNLGRP_DCB 23 +#endif +#ifndef RTNLGRP_IPV4_NETCONF +#define RTNLGRP_IPV4_NETCONF 24 +#endif +#ifndef RTNLGRP_IPV6_NETCONF +#define RTNLGRP_IPV6_NETCONF 25 +#endif +#ifndef RTNLGRP_MDB +#define RTNLGRP_MDB 26 +#endif #ifndef RTNLGRP_MPLS_ROUTE #define RTNLGRP_MPLS_ROUTE 27 #endif @@ -1055,3 +1067,8 @@ struct kvm_get_htab_fd { #ifndef POLL_BUSY_LOOP #define POLL_BUSY_LOOP 0x8000 #endif + +/* linux/nvme_ioctl.h */ +#ifndef NVME_IOCTL_RESET +#define NVME_IOCTL_RESET _IO('N', 0x44) +#endif diff --git a/ioctls/nvme.c b/ioctls/nvme.c index 406ec6bc2254..2cc9f1f9d366 100644 --- a/ioctls/nvme.c +++ b/ioctls/nvme.c @@ -3,6 +3,7 @@ #include #include +#include "compat.h" #include "utils.h" #include "ioctls.h" -- 2.6.4 ++ 0002-Makefile-fix-build-with-older-glibc.patch ++ >From b491d06befcf091fd60037d1fdc448f3ca59e874 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 4 Jan 2016 12:02:20 +0100 Subject: [PATCH v2 2/2] Makefile: fix build with older glibc man 2 clock_gettime says: Link with -lrt (only for glibc versions before 2.17). If we do not do that, we get: post-mortem.c:61: undefined reference to `clock_gettime' syscall.o: In function `__do_syscall': syscall.c:121: undefined reference to `clock_gettime' watchdog.o: In function `is_child_making_progress': watchdog.c:317: undefined reference to `clock_gettime' So introduce (standard) LDLIBS into Makefile and add -lrt there. Signed-off-by: Jiri Slaby --- Makefile | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0cdcf4be0ae0..a70c5bd958a5 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,9 @@ CFLAGS += -Wstrict-prototypes -Wmissing-prototypes # needed for show_backtrace() to work correctly. LDFLAGS += -rdynamic +# glibc versions before 2.17 for clock_gettime +LDLIBS += -lrt + # gcc only. ifneq ($(shell $(CC)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-12-24 12:16:44 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-12-09 22:35:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-12-24 12:16:48.0 +0100 @@ -1,0 +2,10 @@ +Mon Dec 21 19:02:42 UTC 2015 - mplus...@suse.com + +- Update to 20151221 + +--- +Mon Dec 14 21:50:12 UTC 2015 - mplus...@suse.com + +- Update to 20151214 + +--- Old: trinity-20151204.tar.xz New: trinity-20151221.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.zgpLyB/_old 2015-12-24 12:16:49.0 +0100 +++ /var/tmp/diff_new_pack.zgpLyB/_new 2015-12-24 12:16:49.0 +0100 @@ -17,7 +17,7 @@ Name: trinity -Version:20151204 +Version:20151221 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-20151204.tar.xz -> trinity-20151221.tar.xz ++ 5164 lines of diff (skipped)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-12-09 19:51:40 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-11-04 15:33:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-12-09 22:35:25.0 +0100 @@ -1,0 +2,7 @@ +Sat Dec 5 14:51:18 UTC 2015 - mplus...@suse.com + +- Update to 20151204 +- Make building more verbose +- Use default optflags for building + +--- Old: trinity-20151029.tar.xz New: trinity-20151204.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.9TsOUQ/_old 2015-12-09 22:35:26.0 +0100 +++ /var/tmp/diff_new_pack.9TsOUQ/_new 2015-12-09 22:35:26.0 +0100 @@ -17,7 +17,7 @@ Name: trinity -Version:20151029 +Version:20151204 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 @@ -39,8 +39,9 @@ %setup -q %build +export CFLAGS="%{optflags}" ./configure.sh -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install make DESTDIR=%{buildroot}/usr install ++ trinity-20151029.tar.xz -> trinity-20151204.tar.xz ++ 4818 lines of diff (skipped)
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-11-04 15:33:34 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-09-19 06:55:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-11-04 15:33:36.0 +0100 @@ -1,0 +2,5 @@ +Mon Nov 2 12:27:25 UTC 2015 - jsl...@suse.com + +- Update to 20151029 + +--- Old: trinity-20150905.tar.xz New: trinity-20151029.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.C9mM1s/_old 2015-11-04 15:33:37.0 +0100 +++ /var/tmp/diff_new_pack.C9mM1s/_new 2015-11-04 15:33:37.0 +0100 @@ -17,7 +17,7 @@ Name: trinity -Version:20150905 +Version:20151029 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-20150905.tar.xz -> trinity-20151029.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150905/Documentation/TODO new/trinity-20151029/Documentation/TODO --- old/trinity-20150905/Documentation/TODO 2015-09-17 16:21:20.0 +0200 +++ new/trinity-20151029/Documentation/TODO 2015-11-02 13:25:05.0 +0100 @@ -228,7 +228,6 @@ - if we find a blocking fd, check if it's a socket, and shutdown() it. (tricky: we need to do the shutdown in the main process, and then tell other children) -* make -p take an arg for seconds * things to check. - execve occasionally returns -ESRCH. Why ? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150905/children/random-syscalls.c new/trinity-20151029/children/random-syscalls.c --- old/trinity-20150905/children/random-syscalls.c 2015-09-17 16:21:20.0 +0200 +++ new/trinity-20151029/children/random-syscalls.c 2015-11-02 13:25:05.0 +0100 @@ -12,7 +12,6 @@ #include "debug.h" #include "locks.h" #include "log.h" -#include "params.h"// dopause #include "pids.h" #include "random.h" #include "shm.h" @@ -129,10 +128,6 @@ */ len = strlen(rec->prebuffer); - /* If we're going to pause, might as well sync pre-syscall */ - if (dopause == TRUE) - synclogs(); - old = rec->tv.tv_sec; do_syscall(rec); @@ -172,9 +167,6 @@ /* Output the syscall result, and clean up */ output_syscall_postfix(rec); - if (dopause == TRUE) - sleep(1); - handle_syscall_ret(rec); return TRUE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150905/include/fd.h new/trinity-20151029/include/fd.h --- old/trinity-20150905/include/fd.h 2015-09-17 16:21:20.0 +0200 +++ new/trinity-20151029/include/fd.h 2015-11-02 13:25:05.0 +0100 @@ -1,6 +1,8 @@ #pragma once +#include "child.h" #include "list.h" +#include "syscall.h" #include "types.h" void setup_fd_providers(void); @@ -16,3 +18,5 @@ int (*get)(void); bool enabled; }; + +unsigned int check_if_fd(struct childdata *child, struct syscallrecord *rec); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150905/include/params.h new/trinity-20151029/include/params.h --- old/trinity-20150905/include/params.h 2015-09-17 16:21:20.0 +0200 +++ new/trinity-20151029/include/params.h 2015-11-02 13:25:05.0 +0100 @@ -31,7 +31,7 @@ extern bool do_specific_domain; extern char *specific_domain_optarg; extern bool no_domains[TRINITY_PF_MAX]; -extern bool dopause; +extern bool dry_run; extern bool show_syscall_list; extern bool show_ioctl_list; extern unsigned char quiet_level; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150905/include/trinity.h new/trinity-20151029/include/trinity.h --- old/trinity-20150905/include/trinity.h 2015-09-17 16:21:20.0 +0200 +++ new/trinity-20151029/include/trinity.h 2015-11-02 13:25:05.0 +0100 @@ -1,7 +1,6 @@ #pragma once -#include "child.h" -#include "syscall.h" +#include "types.h" extern unsigned int num_online_cpus; extern bool no_bind_to_cpu; @@ -12,7 +11,6 @@ void exit_main_fail(void); void init_watchdog(void); -unsigned int check_if_fd(struct childdata *child, struct syscallrecord *rec); void panic(int reason); diff -urN '--exclude=CVS'
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-09-19 06:55:24 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is "trinity" Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-08-21 07:42:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-09-19 06:55:39.0 +0200 @@ -1,0 +2,5 @@ +Thu Sep 17 14:22:00 UTC 2015 - mplus...@suse.com + +- Update to 20150905 + +--- Old: trinity-20150804.tar.xz New: trinity-20150905.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.wsz01X/_old 2015-09-19 06:55:40.0 +0200 +++ /var/tmp/diff_new_pack.wsz01X/_new 2015-09-19 06:55:40.0 +0200 @@ -17,7 +17,7 @@ Name: trinity -Version:20150804 +Version:20150905 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-20150804.tar.xz -> trinity-20150905.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150804/child.c new/trinity-20150905/child.c --- old/trinity-20150804/child.c2015-08-19 16:40:29.0 +0200 +++ new/trinity-20150905/child.c2015-09-17 16:21:20.0 +0200 @@ -173,6 +173,9 @@ cpu_set_t set; unsigned int cpudest; + if (no_bind_to_cpu == TRUE) + return; + if (sched_getaffinity(child->pid, sizeof(set), ) != 0) return; @@ -374,7 +377,6 @@ */ void child_process(void) { - const char *lastop = NULL; int ret; ret = sigsetjmp(ret_jump, 1); @@ -398,6 +400,8 @@ i = rand() % ARRAY_SIZE(child_ops); if (rand() % 100 <= child_ops[i].likelyhood) { + const char *lastop = NULL; + if (lastop != child_ops[i].name) { //output(0, "Chose %s.\n", child_ops[i].name); lastop = child_ops[i].name; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150804/children/random-syscalls.c new/trinity-20150905/children/random-syscalls.c --- old/trinity-20150804/children/random-syscalls.c 2015-08-19 16:40:29.0 +0200 +++ new/trinity-20150905/children/random-syscalls.c 2015-09-17 16:21:20.0 +0200 @@ -146,6 +146,8 @@ } if (old != 0) { + // FIXME: Should factor in loadavg here, as with enough pids, a child can exceed 60s + // without getting scheduled. if (rec->tv.tv_sec - old > 60) { output(0, "Sanity check failed. Something stomped on rec->tv after syscall:%s(%lx, %lx, %lx) was:%lx now:%lx.\n", print_syscall_name(syscallnr, do32), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150804/fds/fds.c new/trinity-20150905/fds/fds.c --- old/trinity-20150804/fds/fds.c 2015-08-19 16:40:29.0 +0200 +++ new/trinity-20150905/fds/fds.c 2015-09-17 16:21:20.0 +0200 @@ -68,18 +68,15 @@ list_for_each(node, _providers->list) { struct fd_provider *provider; - int ret; provider = (struct fd_provider *) node; if (provider->enabled == FALSE) continue; - ret = provider->open(); - if (ret == FALSE) - return FALSE; - - num_fd_providers_enabled++; + provider->enabled = provider->open(); + if (provider->enabled == TRUE) + num_fd_providers_enabled++; } output(0, "Enabled %d fd providers.\n", num_fd_providers_enabled); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150804/fds/files.c new/trinity-20150905/fds/files.c --- old/trinity-20150804/fds/files.c2015-08-19 16:40:29.0 +0200 +++ new/trinity-20150905/fds/files.c2015-09-17 16:21:20.0 +0200 @@ -47,7 +47,7 @@ "/proc/sysrq-trigger", "/proc/kmem", "/proc/kcore", /* dangerous/noisy/annoying stuff in /dev */ - "/dev/log", "/dev/mem", "/dev/kmsg", + "/dev/log", "/dev/mem", "/dev/kmsg", "/dev/kmem", NULL }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-08-21 07:41:30 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-07-12 22:52:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-08-21 07:42:02.0 +0200 @@ -1,0 +2,6 @@ +Wed Aug 19 14:40:47 UTC 2015 - mplus...@suse.com + +- Update to 20150804 +- Drop older-distros.patch it is already part of upstream + +--- Old: older-distros.patch trinity-20150629.tar.xz New: trinity-20150804.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.xLnvOP/_old 2015-08-21 07:42:03.0 +0200 +++ /var/tmp/diff_new_pack.xLnvOP/_new 2015-08-21 07:42:03.0 +0200 @@ -17,14 +17,13 @@ Name: trinity -Version:20150629 +Version:20150804 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz -Patch0: older-distros.patch BuildRequires: gcc BuildRequires: make BuildRequires: xz @@ -38,7 +37,6 @@ %prep %setup -q -%patch0 -p1 %build ./configure.sh ++ trinity-20150629.tar.xz - trinity-20150804.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150629/fds/sockets.c new/trinity-20150804/fds/sockets.c --- old/trinity-20150629/fds/sockets.c 2015-06-30 11:29:30.0 +0200 +++ new/trinity-20150804/fds/sockets.c 2015-08-19 16:40:29.0 +0200 @@ -36,8 +36,10 @@ so-optval = 0; retry: - if (so-optval != 0) + if (so-optval != 0) { free((void *) so-optval); + so-optval = 0; + } do_setsockopt(so, triplet); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150629/include/compat.h new/trinity-20150804/include/compat.h --- old/trinity-20150629/include/compat.h 2015-06-30 11:29:30.0 +0200 +++ new/trinity-20150804/include/compat.h 2015-08-19 16:40:29.0 +0200 @@ -275,6 +275,9 @@ #ifndef PR_SET_CHILD_SUBREAPER #define PR_SET_CHILD_SUBREAPER 36 #define PR_GET_CHILD_SUBREAPER 37 +#endif + +#ifndef PR_SET_NO_NEW_PRIVS #define PR_SET_NO_NEW_PRIVS 38 #define PR_GET_NO_NEW_PRIVS 39 #define PR_GET_TID_ADDRESS 40 @@ -1018,6 +1021,17 @@ #endif /* time.h */ +#ifndef CLOCK_MONOTONIC_RAW +#define CLOCK_MONOTONIC_RAW 4 +#endif #ifndef CLOCK_BOOTTIME #define CLOCK_BOOTTIME 7 #endif + +/* asm-generic/poll.h */ +#ifndef POLLFREE +#define POLLFREE 0x4000 +#endif +#ifndef POLL_BUSY_LOOP +#define POLL_BUSY_LOOP 0x8000 +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150629/include/syscalls-aarch64.h new/trinity-20150804/include/syscalls-aarch64.h --- old/trinity-20150629/include/syscalls-aarch64.h 2015-06-30 11:29:30.0 +0200 +++ new/trinity-20150804/include/syscalls-aarch64.h 2015-08-19 16:40:29.0 +0200 @@ -289,4 +289,7 @@ /* 276 */ { .entry = syscall_renameat2 }, /* 277 */ { .entry = syscall_seccomp }, /* 278 */ { .entry = syscall_getrandom }, +/* 279 */ { .entry = syscall_memfd_create }, +/* 280 */ { .entry = syscall_bpf }, +/* 281 */ { .entry = syscall_execveat }, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150629/ioctls/vt.c new/trinity-20150804/ioctls/vt.c --- old/trinity-20150629/ioctls/vt.c2015-06-30 11:29:30.0 +0200 +++ new/trinity-20150804/ioctls/vt.c2015-08-19 16:40:29.0 +0200 @@ -2,6 +2,7 @@ #include sys/ioctl.h #include linux/kd.h #include linux/serial.h +#include sys/termios.h #include utils.h #include ioctls.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150629/net/proto-atm.c new/trinity-20150804/net/proto-atm.c --- old/trinity-20150629/net/proto-atm.c2015-06-30 11:29:30.0 +0200 +++ new/trinity-20150804/net/proto-atm.c2015-08-19 16:40:29.0 +0200 @@ -52,8 +52,5 @@ void atm_setsockopt(struct sockopt *so) { - unsigned char val; - - val = RAND_ARRAY(atm_opts); - so-optname = atm_opts[val]; + so-optname = RAND_ARRAY(atm_opts); } diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-07-12 22:52:48 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-06-23 12:00:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-07-12 22:52:49.0 +0200 @@ -1,0 +2,6 @@ +Tue Jun 30 09:44:29 UTC 2015 - jsl...@suse.com + +- Update to 20150629 +- Add older-distros.patch: support for SLE11 + +--- Old: trinity-20150617.tar.xz New: older-distros.patch trinity-20150629.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.F1JFar/_old 2015-07-12 22:52:50.0 +0200 +++ /var/tmp/diff_new_pack.F1JFar/_new 2015-07-12 22:52:50.0 +0200 @@ -17,13 +17,14 @@ Name: trinity -Version:20150617 +Version:20150629 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other Url:http://codemonkey.org.uk/projects/trinity/ Source0:%{name}-%{version}.tar.xz +Patch0: older-distros.patch BuildRequires: gcc BuildRequires: make BuildRequires: xz @@ -37,6 +38,7 @@ %prep %setup -q +%patch0 -p1 %build ./configure.sh ++ older-distros.patch ++ --- include/compat.h |3 +++ 1 file changed, 3 insertions(+) --- a/include/compat.h +++ b/include/compat.h @@ -1018,6 +1018,9 @@ struct kvm_get_htab_fd { #endif /* time.h */ +#ifndef CLOCK_MONOTONIC_RAW +#define CLOCK_MONOTONIC_RAW 4 +#endif #ifndef CLOCK_BOOTTIME #define CLOCK_BOOTTIME 7 #endif ++ trinity-20150617.tar.xz - trinity-20150629.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150617/blockdevs.c new/trinity-20150629/blockdevs.c --- old/trinity-20150617/blockdevs.c2015-06-22 14:00:27.0 +0200 +++ new/trinity-20150629/blockdevs.c2015-06-30 11:29:30.0 +0200 @@ -7,7 +7,7 @@ #include types.h #include utils.h -static int nr_blockdevs = 0; +static unsigned int nr_blockdevs = 0; struct bdevlist { struct list_head list; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150617/children/random-syscalls.c new/trinity-20150629/children/random-syscalls.c --- old/trinity-20150617/children/random-syscalls.c 2015-06-22 14:00:27.0 +0200 +++ new/trinity-20150629/children/random-syscalls.c 2015-06-30 11:29:30.0 +0200 @@ -137,8 +137,9 @@ do_syscall(rec); if (this_child-pid == 0) { - output(0, Sanity check failed. my pid became zero after syscall:%d(%lx, %lx, %lx) was:%d\n, - syscallnr, a1, a2, a3, oldpid); + output(0, Sanity check failed. my pid became zero after syscall:%s(%lx, %lx, %lx) was:%d\n, + print_syscall_name(syscallnr, do32), + a1, a2, a3, oldpid); dump_childnos(); dump_childdata(this_child); panic(EXIT_PID_OUT_OF_RANGE); @@ -146,8 +147,9 @@ if (old != 0) { if (rec-tv.tv_sec - old 60) { - output(0, Sanity check failed. Something stomped on rec-tv after syscall:%d(%lx, %lx, %lx) was:%lx now:%lx.\n, - syscallnr, a1, a2, a3, old, rec-tv.tv_sec); + output(0, Sanity check failed. Something stomped on rec-tv after syscall:%s(%lx, %lx, %lx) was:%lx now:%lx.\n, + print_syscall_name(syscallnr, do32), + a1, a2, a3, old, rec-tv.tv_sec); dump_childnos(); dump_childdata(this_child); panic(EXIT_PID_OUT_OF_RANGE); @@ -156,8 +158,10 @@ /* post syscall sanity checks. */ if (len != strlen(rec-prebuffer)) { - output(0, Sanity check failed: prebuffer length changed from %d to %d after syscall:%d(%lx, %lx, %lx).\n, - len, strlen(rec-prebuffer), syscallnr, a1, a2, a3); + output(0, Sanity check failed: prebuffer length changed from %d to %d after syscall:%s(%lx, %lx, %lx).\n, + len, strlen(rec-prebuffer), + print_syscall_name(syscallnr, do32), + a1, a2, a3); dump_childnos();
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-02-18 11:39:58 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2015-01-15 15:59:08.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-02-18 12:09:25.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 17 20:37:26 UTC 2015 - mplus...@suse.com + +- Update to 20150215 + +--- Old: trinity-20150107.tar.xz New: trinity-20150215.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.SCOJby/_old 2015-02-18 12:09:26.0 +0100 +++ /var/tmp/diff_new_pack.SCOJby/_new 2015-02-18 12:09:26.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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:20150107 +Version:20150215 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-20150107.tar.xz - trinity-20150215.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150107/Makefile new/trinity-20150215/Makefile --- old/trinity-20150107/Makefile 2015-01-14 16:12:54.0 +0100 +++ new/trinity-20150215/Makefile 2015-02-17 21:35:00.0 +0100 @@ -2,6 +2,7 @@ INSTALL_PREFIX ?= $(DESTDIR) INSTALL_PREFIX ?= $(HOME) +NR_CPUS := $(shell grep ^processor /proc/cpuinfo | /usr/bin/wc -l) ifeq ($(CC),) CC := gcc @@ -140,6 +141,6 @@ coverity: @rm -rf cov-int trinity-coverity.tar.xz - @cov-build --dir cov-int make + @cov-build --dir cov-int make -j $(NR_CPUS) @tar cJvf trinity-coverity.tar.xz cov-int diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150107/include/compat.h new/trinity-20150215/include/compat.h --- old/trinity-20150107/include/compat.h 2015-01-14 16:12:54.0 +0100 +++ new/trinity-20150215/include/compat.h 2015-02-17 21:35:00.0 +0100 @@ -279,6 +279,11 @@ #define PR_GET_THP_DISABLE 42 #endif +#ifndef PR_MPX_ENABLE_MANAGEMENT +#define PR_MPX_ENABLE_MANAGEMENT 43 +#define PR_MPX_DISABLE_MANAGEMENT 44 +#endif + /* linux/rds.h */ #ifndef RDS_CANCEL_SENT_TO #define RDS_CANCEL_SENT_TO 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20150107/include/perf_event.h new/trinity-20150215/include/perf_event.h --- old/trinity-20150107/include/perf_event.h 2015-01-14 16:12:54.0 +0100 +++ new/trinity-20150215/include/perf_event.h 2015-02-17 21:35:00.0 +0100 @@ -136,8 +136,9 @@ PERF_SAMPLE_DATA_SRC= 1U 15, PERF_SAMPLE_IDENTIFIER = 1U 16, PERF_SAMPLE_TRANSACTION = 1U 17, + PERF_SAMPLE_REGS_INTR = 1U 18, - PERF_SAMPLE_MAX = 1U 18, /* non-ABI */ + PERF_SAMPLE_MAX = 1U 19, /* non-ABI */ }; /* @@ -237,6 +238,7 @@ #define PERF_ATTR_SIZE_VER280 /* add: branch_sample_type */ #define PERF_ATTR_SIZE_VER396 /* add: sample_regs_user */ /* add: sample_stack_user */ +#define PERF_ATTR_SIZE_VER4104 /* add: sample_regs_intr */ /* * Hardware event_id to monitor via a performance monitoring event: @@ -333,6 +335,15 @@ /* Align to u64. */ __u32 __reserved_2; + /* +* Defines set of regs to dump for each sample +* state captured on: +* - precise = 0: PMU interrupt +* - precise 0: sampled instruction +* +* See asm/perf_regs.h for details. +*/ + __u64 sample_regs_intr; }; #define perf_flags(attr) (*((attr)-read_format + 1)) @@ -363,7 +374,7 @@ /* * Bits needed to read the hw events in user-space. * -* u32 seq, time_mult, time_shift, idx, width; +* u32 seq, time_mult, time_shift, index, width; * u64 count, enabled, running; * u64 cyc, time_offset; * s64 pmc = 0; @@ -382,11 +393,11 @@ * time_shift = pc-time_shift; * } * -*
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2015-01-15 15:58:52 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2014-12-22 12:52:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2015-01-15 15:59:08.0 +0100 @@ -1,0 +2,5 @@ +Wed Jan 14 15:13:16 UTC 2015 - jsl...@suse.com + +- update to 20150107 + +--- Old: trinity-20141206.tar.xz New: trinity-20150107.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.R3BNE7/_old 2015-01-15 15:59:09.0 +0100 +++ /var/tmp/diff_new_pack.R3BNE7/_new 2015-01-15 15:59:09.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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:20141206 +Version:20150107 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-20141206.tar.xz - trinity-20150107.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20141206/Documentation/Known-bugs.txt new/trinity-20150107/Documentation/Known-bugs.txt --- old/trinity-20141206/Documentation/Known-bugs.txt 2014-12-13 14:38:01.0 +0100 +++ new/trinity-20150107/Documentation/Known-bugs.txt 2015-01-14 16:12:54.0 +0100 @@ -1,3 +1,11 @@ +- render_arg occasionally scribbles past the end of the postbuffer. + This becomes more obvious when trinity is run with MALLOC_PERTURB_ set. + +- getrandom syscall can block, and the watchdog can't kill it. + Might need a -sanitise routine to prevent blocking ops. + +- -c execve seems to always pass the same junk as args. + - -r and -c don't seem to work together - when we randomly call personality, the child stops logging. @@ -21,4 +29,3 @@ - occasionally trinity fails to startup because we've leaked so much ipc stuff. cleanup on startup. (scripts/clean-ipc.sh in the meantime) - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20141206/Documentation/TODO new/trinity-20150107/Documentation/TODO --- old/trinity-20141206/Documentation/TODO 2014-12-13 14:38:01.0 +0100 +++ new/trinity-20150107/Documentation/TODO 2015-01-14 16:12:54.0 +0100 @@ -4,30 +4,39 @@ - do file ops on a bunch of trinity test files - open-read-close - open-mmap-access mem-close -- sysctl flipper. +- sysctl writes. (blacklist sysrq-trigger etc) - pick random elevator alg for all queues -- fork-and-dirty mappings +- fork-and-dirty mappings +- send fd's over unix sockets to other children +- open/read all /proc/$$/* files +- tuned random syscalls. (open - read - close). tree of possibilities. - Ability to mark some ops as 'NEEDS_ROOT'. - Move the drop privs code from main to just before we start a new child. -* maps.c improvements: - - Sometimes generate overlapping addresses/lengths when we have ARG_ADDRESS/ARG_ADDRESS2 pairs - - make sure ARG_ADDRESS only uses addresses from this list, and audit all other mmap/malloc uses -in sanitise routines. - - munge lengths when handing them out. - - mmap files -(we do this already, but don't track it properly) - - get_map_fragment() -- mprotect parts of a map - will need to somehow track what pages are RO/RW etc - - keep track of holes when munmap'd -split maps in two ? -(store original len, and current len) +* vm related improvements: + - mmapping: +- Sometimes generate overlapping addresses/lengths when we have ARG_ADDRESS/ARG_ADDRESS2 pairs +- munge lengths when handing out maps. +- mmap files + (we do this already, but don't track it properly) +- get_map_fragment() +- keep track of holes when mprotect/munmap'd + split maps in two ? + (store original len, and current len) + note: initial maps are MAP_SHARED. What to do? +- mapping transaction log for dumping in post-mortem + - huge pages +- hugetlbfs mappings +- crib from hugetlbfs tests examples for more ideas. +- /dev/shm mappings + - pass memfd's in mmap sanitise + - sysv shm handling could be improved. *
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2014-12-22 12:54:19 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2014-12-01 14:01:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2014-12-22 12:52:56.0 +0100 @@ -1,0 +2,5 @@ +Sat Dec 13 13:49:06 UTC 2014 - mplus...@suse.com + +- Update to 20141206 + +--- Old: trinity-20141117.tar.xz New: trinity-20141206.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.AbIoCH/_old 2014-12-22 12:52:57.0 +0100 +++ /var/tmp/diff_new_pack.AbIoCH/_new 2014-12-22 12:52:57.0 +0100 @@ -17,7 +17,7 @@ Name: trinity -Version:20141117 +Version:20141206 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-20141117.tar.xz - trinity-20141206.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20141117/include/syscalls-arm.h new/trinity-20141206/include/syscalls-arm.h --- old/trinity-20141117/include/syscalls-arm.h 2014-11-22 13:59:00.0 +0100 +++ new/trinity-20141206/include/syscalls-arm.h 2014-12-13 14:38:01.0 +0100 @@ -388,7 +388,6 @@ /* 375 */ { .entry = syscall_setns }, { .entry = syscall_process_vm_readv }, { .entry = syscall_process_vm_writev }, - { .entry = syscall_ni_syscall }, /* reserved for sys_kcmp */ { .entry = syscall_kcmp }, { .entry = syscall_finit_module }, /* 380 */ { .entry = syscall_sched_setattr }, -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2014-12-01 14:01:04 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2014-11-12 00:22:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2014-12-01 14:01:13.0 +0100 @@ -1,0 +2,5 @@ +Sat Nov 22 13:00:16 UTC 2014 - mplus...@suse.com + +- Update to 20141117 + +--- Old: trinity-20141110.tar.xz New: trinity-20141117.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.26CQKo/_old 2014-12-01 14:01:14.0 +0100 +++ /var/tmp/diff_new_pack.26CQKo/_new 2014-12-01 14:01:14.0 +0100 @@ -17,7 +17,7 @@ Name: trinity -Version:20141110 +Version:20141117 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 ++ trinity-20141110.tar.xz - trinity-20141117.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20141110/include/syscalls-parisc.h new/trinity-20141117/include/syscalls-parisc.h --- old/trinity-20141110/include/syscalls-parisc.h 2014-11-11 09:25:52.0 +0100 +++ new/trinity-20141117/include/syscalls-parisc.h 2014-11-22 13:59:00.0 +0100 @@ -1,6 +1,6 @@ #pragma once -/* Syscalls from arch/parisc/kernel/syscall_table.S as of 3.16+ */ +/* Syscalls from arch/parisc/kernel/syscall_table.S */ #include sanitise.h #include syscall.h @@ -348,4 +348,5 @@ { .entry = syscall_seccomp }, { .entry = syscall_getrandom }, { .entry = syscall_memfd_create }, + { .entry = syscall_bpf }, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20141110/ioctls/dm.c new/trinity-20141117/ioctls/dm.c --- old/trinity-20141110/ioctls/dm.c2014-11-11 09:25:52.0 +0100 +++ new/trinity-20141117/ioctls/dm.c2014-11-22 13:59:00.0 +0100 @@ -37,7 +37,7 @@ pick_random_ioctl(grp, rec); - rec-a3 = (unsigned long) get_address(); + rec-a3 = (unsigned long) get_writable_address(sizeof(struct dm_ioctl)); dm = (struct dm_ioctl *) rec-a3; /* set a sensible version to get past the initial checks */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/trinity-20141110/patches/silence-fuzz-testing-noise.patch new/trinity-20141117/patches/silence-fuzz-testing-noise.patch --- old/trinity-20141110/patches/silence-fuzz-testing-noise.patch 2014-11-11 09:25:52.0 +0100 +++ new/trinity-20141117/patches/silence-fuzz-testing-noise.patch 2014-11-22 13:59:00.0 +0100 @@ -292,6 +292,18 @@ return -ENOSYS; } sctp_sk(sk)-hmac = tfm; --- -1.9.0 - +diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c +index c603b20356ad..2ce54858002e 100644 +--- a/security/selinux/hooks.c b/security/selinux/hooks.c +@@ -4725,10 +4725,6 @@ static int selinux_nlmsg_perm(struct sock *sk, struct sk_buff *skb) + err = selinux_nlmsg_lookup(sksec-sclass, nlh-nlmsg_type, perm); + if (err) { + if (err == -EINVAL) { +- printk(KERN_WARNING +- SELinux: unrecognized netlink message: +- protocol=%hu nlmsg_type=%hu sclass=%hu\n, +- sk-sk_protocol, nlh-nlmsg_type, sksec-sclass); + if (!selinux_enforcing || security_get_allow_unknown()) + err = 0; + } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2014-11-12 00:21:48 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2014-10-23 14:21:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2014-11-12 00:22:13.0 +0100 @@ -1,0 +2,6 @@ +Tue Nov 11 08:36:08 UTC 2014 - mplus...@suse.com + +- Add COPYING with license +- Update to 20141110 + +--- Old: trinity-20141021.tar.xz New: trinity-20141110.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.aN8zp2/_old 2014-11-12 00:22:15.0 +0100 +++ /var/tmp/diff_new_pack.aN8zp2/_new 2014-11-12 00:22:15.0 +0100 @@ -17,7 +17,7 @@ Name: trinity -Version:20141021 +Version:20141110 Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 @@ -47,7 +47,7 @@ %files %defattr(-,root,root) -%doc README +%doc README COPYING %{_bindir}/trinity %changelog ++ trinity-20141021.tar.xz - trinity-20141110.tar.xz ++ 2379 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2014-10-23 14:21:05 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2014-01-23 15:57:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2014-10-23 14:21:25.0 +0200 @@ -1,0 +2,7 @@ +Wed Oct 22 13:50:08 UTC 2014 - mplus...@suse.com + +- Update to 20141022 + * modify_ldt-initialize-scratch.patch: removed +- Change git source to github + +--- Old: modify_ldt-initialize-scratch.patch trinity-20140119.tar.xz New: trinity-20141021.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.3f7c7M/_old 2014-10-23 14:21:26.0 +0200 +++ /var/tmp/diff_new_pack.3f7c7M/_new 2014-10-23 14:21:26.0 +0200 @@ -16,20 +16,18 @@ # - Name: trinity -BuildRequires: gcc -BuildRequires: make -BuildRequires: xz +Version:20141021 +Release:0 Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other -Version:20140119 -Release:0 Url:http://codemonkey.org.uk/projects/trinity/ +Source0:%{name}-%{version}.tar.xz +BuildRequires: gcc +BuildRequires: make +BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0:trinity-%{version}.tar.xz -Patch0: modify_ldt-initialize-scratch.patch %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -38,18 +36,14 @@ Trinity differs is that the arguments it passes are not purely random. %prep -%setup -q -n %name-%{version} -%patch0 -p1 +%setup -q %build ./configure.sh make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT/usr install - -%clean -%{?buildroot:%__rm -rf %{buildroot}} +make DESTDIR=%{buildroot}/usr install %files %defattr(-,root,root) ++ _service ++ --- /var/tmp/diff_new_pack.3f7c7M/_old 2014-10-23 14:21:26.0 +0200 +++ /var/tmp/diff_new_pack.3f7c7M/_new 2014-10-23 14:21:26.0 +0200 @@ -1,6 +1,6 @@ services service mode=localonly name=tar_scm -param name=urlgit://git.codemonkey.org.uk/trinity/param +param name=urlgit://github.com/kernelslacker/trinity/param param name=scmgit/param param name=filenametrinity/param param name=versionformat%ad/param ++ trinity-20140119.tar.xz - trinity-20141021.tar.xz ++ 23453 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit trinity for openSUSE:Factory
Hello community, here is the log from the commit of package trinity for openSUSE:Factory checked in at 2014-01-22 14:00:56 Comparing /work/SRC/openSUSE:Factory/trinity (Old) and /work/SRC/openSUSE:Factory/.trinity.new (New) Package is trinity Changes: --- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2013-09-26 16:04:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2014-01-23 15:57:24.0 +0100 @@ -1,0 +2,10 @@ +Mon Jan 20 10:45:14 UTC 2014 - jsl...@suse.com + +- update to 20140119 + * compat-define-some-net-constants.patch: removed + * fix-broken-includes.patch: removed + * net-netlink-add-missing-compat.h-include.patch: removed + * perf-fixes.patch: removed +- add modify_ldt-initialize-scratch.patch + +--- Old: compat-define-some-net-constants.patch fix-broken-includes.patch net-netlink-add-missing-compat.h-include.patch perf-fixes.patch trinity-20130913.tar.xz New: modify_ldt-initialize-scratch.patch trinity-20140119.tar.xz Other differences: -- ++ trinity.spec ++ --- /var/tmp/diff_new_pack.4E5MtO/_old 2014-01-23 15:57:24.0 +0100 +++ /var/tmp/diff_new_pack.4E5MtO/_new 2014-01-23 15:57:24.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package trinity # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # + Name: trinity BuildRequires: gcc BuildRequires: make @@ -23,14 +24,12 @@ Summary:A Linux System call fuzz tester License:GPL-2.0 Group: Development/Tools/Other -Version:20130913 +Version:20140119 Release:0 Url:http://codemonkey.org.uk/projects/trinity/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0:trinity-%{version}.tar.xz -Patch0: compat-define-some-net-constants.patch -Patch1: net-netlink-add-missing-compat.h-include.patch -Patch2: fix-broken-includes.patch +Patch0: modify_ldt-initialize-scratch.patch %description The basic idea is fairly simple. As 'fuzz testing' suggests, we call syscalls @@ -41,8 +40,6 @@ %prep %setup -q -n %name-%{version} %patch0 -p1 -%patch1 -p1 -%patch2 -p1 %build ./configure.sh ++ modify_ldt-initialize-scratch.patch ++ From: Jiri Slaby jsl...@suse.cz Date: Mon, 20 Jan 2014 21:29:10 +0100 Subject: modify_ldt: initialize scratch Patch-mainline: no, submitted jan 20th 2014 We store a pointer in the scratch area, but only conditionally. Hence there can be an uninitialized value which causes problems in the tear-down path: *** Error in `trinity': double free or corruption (!prev): 0x02484530 *** === Backtrace: = /lib64/libc.so.6(+0x740af)[0x7f2a66eb60af] /lib64/libc.so.6(+0x798de)[0x7f2a66ebb8de] /lib64/libc.so.6(+0x7a5e6)[0x7f2a66ebc5e6] trinity[0x40abc8] trinity[0x40dabc] trinity[0x40338a] trinity[0x40704c] trinity[0x402c47] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f2a66e63b15] trinity[0x402f13] Signed-off-by: Jiri Slaby jsl...@suse.cz --- syscalls/modify_ldt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/syscalls/modify_ldt.c b/syscalls/modify_ldt.c index de9cbbeee6f3..c0cac1aa3490 100644 --- a/syscalls/modify_ldt.c +++ b/syscalls/modify_ldt.c @@ -18,6 +18,7 @@ static void sanitise_modify_ldt(int childno) void *ldt; //struct user_desc *desc; + shm-scratch[childno] = 0; switch (shm-a1[childno]) { case 0: /* read the ldt into the memory pointed to by ptr. -- 1.8.5.2 ++ trinity-20130913.tar.xz - trinity-20140119.tar.xz ++ 21143 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org