* 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
- 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/request/show/715671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trinity?expand=0&rev=57
* 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
- 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
OBS-URL: https://build.opensuse.org/request/show/585238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trinity?expand=0&rev=50
* 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
* 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
- 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/request/show/512274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trinity?expand=0&rev=41
* 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
- 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/request/show/504038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trinity?expand=0&rev=40
* 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
- 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
* 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
* 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
* list_empty is a bool
* get_cpu type fixes
* split stop_ftrace_if_tainted in two
* replace duplicate code with taint_check helper
* We only want to do the ftrace stop/postmortem once
* don't fall through if opening ftrace tracing_on fails
* similarly, if stopped ftrace fails, bail out after warning
* dump the trace to a file when we detect tainting.
* use userspace headers for ax25 instead of kernel.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=84
- 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
OBS-URL: https://build.opensuse.org/request/show/438381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trinity?expand=0&rev=32
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=79
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=77
- 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
OBS-URL: https://build.opensuse.org/request/show/423375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trinity?expand=0&rev=27
- 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
OBS-URL: https://build.opensuse.org/request/show/411472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trinity?expand=0&rev=26
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=67
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=58
* 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/<pid>/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'.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=57
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=53
oid sha256:3d0b2561c28c9d2bc0c02e9d94efc73cbe78fd165e8b99570885b7b0dac19133
size 1314828
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.