* Tue Mar 10 2020 Martin Pluskal <mpluskal@suse.com>
- Update to version 1.9+git.20200228:
* new io_uring_register opcodes
- Change compression to gz form faster builds
- Small package cleanup
* Mon Feb 17 2020 Martin Pluskal <mpluskal@suse.com>
- 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
* Wed Jan 22 2020 tchvatal@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
* Wed Nov 20 2019 jslaby@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)
* Mon Nov 18 2019 Jiri Slaby <jslaby@suse.com>
- 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
* Wed Aug 28 2019 Martin Pluskal <mpluskal@suse.com>
- 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
* Tue Jul 16 2019 Martin Pluskal <mpluskal@suse.com>
- 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
* Wed Jun 26 2019 Martin Pluskal <mpluskal@suse.com>
- Update to version 1.9+git.20190614:
* memfd build fixes for modern glibc
* cppcheck fixes
* strncpy -> memcpy
* Tue Mar 12 2019 jslaby@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
* Thu Sep 27 2018 Martin Pluskal <mpluskal@suse.com>
- 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
* Mon Aug 27 2018 mpluskal@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).
* Mon Jun 18 2018 jslaby@suse.com
- workaround build with gcc8
* Tue Jun 12 2018 pdostal@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 2018 mpluskal@suse.com
- Update to version 1.9+git.20180413:
* parisc-specific updates
Version: 1.9+git.20180402-bp150.2.4
* Tue Apr 10 2018 mpluskal@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
* Sat Mar 10 2018 jslaby@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
* Thu Feb 08 2018 mpluskal@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
* Wed Jan 10 2018 mpluskal@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
* Tue Nov 28 2017 jslaby@suse.com
- add compat-handle-removed-autofs-macros.patch to fix factory
build failure
* Thu Nov 09 2017 lcavajani@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
* Thu Oct 19 2017 jslaby@suse.com
- Update to version 1.7+git.20171006:
* ignore possible error codes like ERESTARTSYS
* Fix up null ptr deref when no -l arg.
* Thu Sep 21 2017 mpluskal@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
* Tue Aug 29 2017 mpluskal@suse.com
- Update to version 1.7+git.20170825:
* add RENAME_WHITEOUT
* econet: make optional
* ax25: make optional
* change include <sys/termios.h> -> <termios.h>
* 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
* Mon Aug 14 2017 mpluskal@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+
* Mon Jul 24 2017 mpluskal@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
* Fri Jun 16 2017 mpluskal@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 2017 opensuse-packaging@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
* Thu May 18 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 08 2017 mpluskal@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
* Mon Apr 10 2017 mpluskal@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
* Thu Mar 16 2017 mpluskal@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 2017 mpluskal@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
* Sun Jan 08 2017 mpluskal@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.
* Mon Dec 26 2016 mpluskal@suse.com
- Update to version 1.7+git.20161222:
* move taint checking init to its own function
* sort by argname
* add --ftrace-dump-file arg to specify where the dump file goes
* greatly simplify the seeding code.
* ECHILD with child==-1 is boring
* teach sanitise_socket_triplet about the privileged socket types
* remove the ECHILD handling completely.
* remove some off-by-one's in the -N handling
* don't reduce max number of children if < 4 specified
* add missing ipv6 setsockopts.
* add IP_RECVFRAGSIZE setsockopt
* update i386 syscalls
* linux/nvme.h has been renamed in linux 4.4 to linux/nvme_ioctl.h
* fix segfault in get_writable_address