102 Commits

Author SHA256 Message Date
e738911c94 add upstream fix
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=183
2024-09-04 06:23:50 +00:00
c5dc199222 fix 32bit builds
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=181
2024-08-30 07:32:20 +00:00
aa91c61751 up to 1.9+git.20240614
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=179
2024-08-16 06:28:54 +00:00
a73f30e306 up to 1.9+git.20240521
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=177
2024-05-22 06:16:57 +00:00
687b5e4f3f 6.9
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=175
2024-05-16 10:04:08 +00:00
ad9f834704 add 0001-kvm-drop-deprecated-and-dropped-KVM-ioctls.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=173
2024-03-19 09:07:59 +00:00
da7d4e6431 - Update to version 1.9+git.20230710:
* ioctls/drm: fix DRM_MGA check (#45)
  * ioctls/drm: check i810,mga,r128 and savage support (#44)
  * update i386 syscall list
  * Avoid array access out of bounds error during initialzation of fd providers. (#43)
  * kvm: drop KVM_SET_MEMORY_REGION (#42)
- Switch _service to manual
- Drop upstreamed 0001-kvm-drop-KVM_SET_MEMORY_REGION.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=171
2024-01-09 09:10:11 +00:00
a90a364b11 add 0001-kvm-drop-KVM_SET_MEMORY_REGION.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=169
2023-03-16 10:05:54 +00:00
0c63ead048 up to 1.9+git.20230108
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=166
2023-01-09 07:06:12 +00:00
0b4c2e0a17 - Update to version 1.9+git.20220913:
* set_mempolicy_home_node skeleton
  * futex_waitv skeleton
  * fix warning about pragma diagnostic pop without push

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=164
2022-11-28 08:51:29 +00:00
4b8d36a3c5 - Update to version 1.9+git.20220309:
* Ignore compiler warning
  * fix unlikely overflow in stallcounter
  * remove -Wdeclaration-after-statement
  * panic when fd number is close to limition
  * Fix compiler warning
  * add support for riscv64 platform

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=161
2022-03-10 12:38:55 +00:00
0845e969a2 - Update to version 1.9+git.20211129:
* reduce variable scoping
  * do not let created timer send SIGINT signal

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=160
2021-12-22 09:54:35 +00:00
5dfab27835 - Update to version 1.9+git.20211011:
* new setsockopts
  * Add skeletons for a bunch of new syscalls
  * protect other children's shm from corruption

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=159
2021-10-20 07:44:11 +00:00
3049e6eff2 - Update to version 1.9+git.20210826:
* Use fcntl.h for dev_t & mode_t

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=158
2021-09-13 08:37:45 +00:00
41c4f75909 up to 1.9+git.20210717
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=157
2021-07-21 06:56:54 +00:00
ecf31848cb Accepting request 883775 from home:pluskalm:branches:devel:tools
- Update to version 1.9+git.20210330:
  * Update mremap flags for 5.12-rc5
  * Update madvise flags
  * Update socketopts to 5.12rc5
  * syscall update for 5.12-rc5
  * Yet more new io_uring flags

OBS-URL: https://build.opensuse.org/request/show/883775
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=155
2021-04-08 10:19:53 +00:00
cb946a5eaa - Update project url
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=153
2020-12-28 08:54:08 +00:00
0b4df41a95 - Update to version 1.9+git.20200228:
* new io_uring_register opcodes
- Change compression to gz form faster builds
- Small package cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=151
2020-03-10 12:08:40 +00:00
0bf9e9c454 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=149
2020-02-17 12:04:21 +00:00
ed889e079a Accepting request 766251 from home:scarabeus_iv:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/766251
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=147
2020-01-22 13:15:11 +00:00
34542593c5 update to 1.9+git.20191119
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=145
2019-11-20 08:02:14 +00:00
5fc396c719 add 0001-syscalls-remove-arch_prctl-from-x86_32.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=142
2019-11-18 09:18:56 +00:00
1e19d774c4 add 0001-modify_ldt-include-linux-types.h-before-ASSEMBLY-1.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=141
2019-11-18 09:14:00 +00:00
a61e3affef - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=139
2019-08-28 07:06:46 +00:00
bf67472b04 - Update to version 1.9+git.20190701:
* format string fixes
  * don't free the default dump filename ptr
  * remove pointless or
  * Fix reversed file closures in ftrace code.
  * Fix cut-n-paste errors in smc socket creation
  * Map PF_XDP to string
  * more signed->unsigned
  * silence the perf dumper
  * socket args are unsigned
  * Don't do 10 iterations of sockets we can't generate
  * no logging by default
  * Bump version string to something that makes more sense
  * Fix compile failure on centos7
  * update x86-32 syscalls
  * update prctl
  * update setsockopts
  * basic fspick support
  * basic fsmount support
  * basic fsconfig support
  * basic fsopen support
  * basic move_mount support
  * basic open_tree support
  * basic io_uring support
  * Add pidfd_send_signal
  * commit the additional PF_XDP bits
  * Add PF_XDP support

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=137
2019-07-16 12:04:32 +00:00
4a3a738080 - Update to version 1.9+git.20190614:
* memfd build fixes for modern glibc
  * cppcheck fixes
  * strncpy -> memcpy

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=135
2019-06-26 14:21:42 +00:00
65b84eb013 up to 1.9+git.20190124
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=132
2019-03-12 07:34:40 +00:00
3d408f14d6 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=130
2018-09-27 10:55:42 +00:00
ed60e105a0 Accepting request 631766 from home:pluskalm:branches:devel:tools
- Update to version 1.9+git.20180827:
  * Check if VIDIOC_RESERVED is defined.
- Do not build with -Werror (this Workarounds various build
  failures).

OBS-URL: https://build.opensuse.org/request/show/631766
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=128
2018-08-28 08:15:32 +00:00
dd080bde25 changes
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=126
2018-06-28 08:07:54 +00:00
559fa229d9 Accepting request 616274 from home:pdostal:branches:devel:tools
- Update to version 1.9+git.20180608:
  * configure: fix build with kernel headers v4.17+
  * trinity: check pidstatfile before fclose

OBS-URL: https://build.opensuse.org/request/show/616274
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=123
2018-06-12 09:35:32 +00:00
df6f6516b4 - Update to version 1.9+git.20180413:
* parisc-specific updates

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=122
2018-05-30 13:48:40 +00:00
15e02edcd8 Accepting request 595213 from home:pluskalm:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/595213
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=120
2018-04-10 15:41:23 +00:00
d58bd42d1b up to 20180228 & build fixes
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=118
2018-03-10 07:24:52 +00:00
7b73d4854f - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=116
2018-02-08 12:27:35 +00:00
6831f83c28 Accepting request 563242 from home:pluskalm:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/563242
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=114
2018-01-10 12:47:27 +00:00
ab9eba1131 fix build failure
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=112
2017-11-28 09:14:44 +00:00
2e96a5deb3 Accepting request 540174 from home:lcavajani:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/540174
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=110
2017-11-09 10:16:47 +00:00
d1f7a1d0bc up to 1.7+git.20171006
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=108
2017-10-19 06:36:53 +00:00
4e0713aee1 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=106
2017-09-21 08:50:27 +00:00
88e86a4fc5 - Update to version 1.7+git.20170825:
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=104
2017-08-29 11:16:22 +00:00
f1179bde5e - 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+

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=102
2017-08-14 13:35:33 +00:00
f05149c17d - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=100
2017-07-24 13:19:20 +00:00
08d5a1d6a0 - Update to version 1.7+git.20170612:
* mark the sync syscalls as expensive
  * reduce the likelyhood that we call expensive syscalls.

- 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=98
2017-06-16 09:19:33 +00:00
9282e27e8e Accepting request 495853 from home:vsistek:branches:devel:tools
- Update to version 1.7+git.20170512
-This line, and those below, will be ignored--

old: devel:tools/trinity
new: home:vsistek:branches:devel:tools/trinity rev None
Index: _servicedata
===================================================================
--- _servicedata (revision 95)
+++ _servicedata (revision 2)
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
             <param name="url">git://github.com/kernelslacker/trinity</param>
-          <param name="changesrevision">f3764ffc7f46a7aae442a6d9cfb216a72db2d73f</param></service></servicedata>
\ No newline at end of file
+          <param name="changesrevision">a81fba1701ad9250f91f87c7748940525eaaffa4</param></service></servicedata>
\ No newline at end of file
Index: trinity.changes
===================================================================
--- trinity.changes (revision 95)
+++ trinity.changes (revision 2)
@@ -1,4 +1,38 @@
 -------------------------------------------------------------------
+Thu May 18 11:59:33 UTC 2017 - vsistek@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
+
+-------------------------------------------------------------------
 Mon May  8 16:48:14 UTC 2017 - mpluskal@suse.com
 
 - Update to version 1.7+git.20170506:
Index: trinity.spec
===================================================================
--- trinity.spec (revision 95)
+++ trinity.spec (revision 2)
@@ -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
Index: trinity-1.7+git.20170512.tar.xz
===================================================================
Binary file trinity-1.7+git.20170512.tar.xz (revision 2) added
Index: trinity-1.7+git.20170506.tar.xz
===================================================================
Binary file trinity-1.7+git.20170506.tar.xz (revision 95) deleted

OBS-URL: https://build.opensuse.org/request/show/495853
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=96
2017-05-18 12:07:41 +00:00
3335392706 - Update to version 1.7+git.20170506:
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=94
2017-05-08 19:25:36 +00:00
b658e57d82 - Update to version 1.7+git.20170405:
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=92
2017-04-10 08:21:11 +00:00
98caacd3a4 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=90
2017-03-16 16:28:18 +00:00
a071a295f8 - Update to version 1.7+git.20170210:
- Cleanup spec file a bit

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=89
2017-02-12 13:37:52 +00:00
e475f58079 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=87
2017-01-08 09:54:19 +00:00