Change logs for stress-ng source package in Disco

  • stress-ng (0.09.57-0ubuntu5) disco; urgency=medium
    
      * Fix --timer-slack from consuming the following arg (LP: #1853832)
        Currently the timer slack option eats the next argument, causing
        missing argument parsing behaviour on the command line.
      * Fix mwc8() being reset when using mwc1() (LP: #1855851)
        Fic Psuedo-random 8 bit numbers from mwc8() accidentally
        being zero'd when mwc1() is called.
    
     -- Colin King <email address hidden>  Tue, 10 Dec 2019 09:32:11 +0000
  • stress-ng (0.09.57-0ubuntu4) disco; urgency=medium
    
      * d/p/0004-stress-af-alg-handle-bind-ETIMEDOUT-failures.patch:
        retry bind() on ETIMEDOUT in case the requested module just
        gets loaded by another stress-af-alg worker. (LP: #1851553)
    
     -- Mauricio Faria de Oliveira <email address hidden>  Wed, 06 Nov 2019 17:23:50 -0300
  • stress-ng (0.09.57-0ubuntu3) disco; urgency=medium
    
      * stress-rmap: don't hard fail on fallocate failures (LP: #1845005)
        - backport of upstream commit 38fd9c6ff96c
      * stress-mcontend: sync mmap file with zero data (LP: #1845011)
        - backport of upstream commit c3678dadee23
    
     -- Colin King <email address hidden>  Tue, 24 Sep 2019 08:30:11 +0100
  • stress-ng (0.09.57-0ubuntu2) disco; urgency=medium
    
      [Alfonso Sanchez-Beato]
      * stress-numa: fix calculation of max nodes (LP: #1803468)
        - use  the count of bits in "Mems_allowed" to calculate the
          maximum number of NUMA nodes
    
     -- Colin King <email address hidden>  Thu, 4 Apr 2019 17:47:11 +0100
  • stress-ng (0.09.57-0ubuntu1) disco; urgency=medium
    
      * Makefile: bump version
      * stress-zlib: make buffer in static to avoid large stack
        allocations
      * stress-sysfs: only close ctxt.kmsgd if the fd is open
      * test/test-sendmmsg: fix another resource leak of sockfd
      * stress-epoll: remove redundant initialization of ret
      * stress-fifo: remove redundant initialization of rc
      * stress-fcntl: remove redundant initialization of rc
      * stress-sysfs: fix fd leak
      * core-perf: remove redundant variable rc
      * stress-zero: ensure initialized data is being written
      * test/test-posix-fadvise: remove unused label 'err'
      * core-log: add paranoid check for localtime returning NULL
      * test/test-mremap: remove unused pointer buf
      * stress-opcode: remove redundant initialization of rc
      * test/test-inotify: remove unused variable ret
      * stress-swap: remove redundant assignment of fd to -1
      * test/test-sendmsg: close socket fd
      * stress-pty: remove redundant variable rc
      * test/test-posix-fadvise: remove redundant variable ptr
      * stress-memrate: remove redundant assignment to rc
      * stress-dev-shm: remove redundant assignment of sz_delta
      * stress-zlib: remove redundant initialization of flush
      * Make various large stack allocations static
      * stress-shm: fix end of string setting on wrong string
      * core-helper: initialize val2; cleans up static analysis warning
      * stress-pipe: use strncmp instead of strcmp on pipe stop message
      * stress-socket-fd: check for non-null addr before unlinking addr_un
      * stress-physpage: fix mapping address on failed mmap.
      * stress-zlib: fix double call to deflateEnd
      * stress-fcntl: improve checking of file creation
      * stress-shm-sysv: lock/unlock shm segment if SHM_LOCK/SHM_UNLOCK
        are defined
      * stress-af-alg: fix copy-n-paste error on pointer name
      * stress-af-alg: track unavailable af algs across multiple
        stressors (LP: #1813847)
      * stress-sysfs: add mmap and readlink operations on sysfs files
    
     -- Colin King <email address hidden>  Wed, 27 Mar 2019 12:16:20 +0000
  • stress-ng (0.09.56-0ubuntu1) disco; urgency=medium
    
      * Makefile: bump version
      * stress-bigheap: poll with keep_stressing() rather than
        g_keep_stressing_flag
      * Fix typo in sysbadaddr help, sysbaddaddr-ops ->
        sysbadaddr-ops (LP: #1820251)
      * stress-shm: paranoidly memset msg; cleans up static analysis warnings
      * stress-nice: use setpriority or nice of both are available
      * stress-zlib: fix incorrect macro name, should be
        HAVE_BUILTIN_CTZ (LP: #1820252)
      * stress-udp-flood: add some random port flooding into the mix
      * stress-procfs: exercise procfs with mmap, ioctl and poll too
      * stress-xattr: use macro for the max number of xattr settings
      * README: add pcc as another supported compiler (LP: #1820253)
      * Disable matrix-3d options when building with pcc
      * stress-ng.h: don't use sync_synchronized when building with pcc
      * stress-ng.h: make __builtin_prefetch a variadic function
      * stress-matrix-3d: disable for PCC builds as this breaks the compiler
      * stess-ng.h: fully define  __builtin_prefetch for pcc
      * Add build time check for gcc/clang label as a value feature
      * core-perf: add OOM and thermal zone trip perf stats (LP: #1820254)
      * core-perf: add filemap page cache perf stats (LP: #1820254)
    
     -- Colin King <email address hidden>  Fri, 15 Mar 2019 10:55:02 +0000
  • stress-ng (0.09.55-0ubuntu1) disco; urgency=medium
    
      * Makefile: bump version
      * Remove need for alloca.h to be build checked or included
      * Manual: update stack stressor description, it no longer uses
        alloca()
      * Add tcc as supported compilers in README
      * core-helper: add missing __dso_handle for tcc
      * Add build check for __builtin_prefetch
      * Add build-time checks for __builtin_memcpy and __builtin_memmove
      * Add implementation of __builtin_ctz for systems that don't support
        this
      * core-helper: use correct etext and edata symbols for tcc builds
      * Use correct macro name HAVE_VLA_ARG and not HAVE_VLA_ARGS
      * matrix-3d: fix all matrix-3d settings, the name should not be
        matrix_3d*
      * Add check for variable length array support in function args
      * rename TYPEOF macro to CAST_TYPEOF as it really is used for type casting
      * Add build checks for complex.h and complex type
      * stress-close: remove debug message
      * stress-close: add more pthreads, remove some protocols and fsync
      * core-helper: remove redundant null check for case where NSIG or _NSIG
        are not defined
      * core-helper: use ptrdiff_t types for pointer math and fix start >= end
        check
      * core-mwc: use ptrdiff_t types to perform pointer math on different
        objects
      * stress-resources: remove use of alloca
      * stress-stack: remove need for alloca, expand stack by deep recursion
      * stress-funccall: add additional missing floating point types
      * stress-funccall: add in return type returns, remove structs
      * tests: clean up some cppcheck style warnings
      * stress-zlib: add extra brackets to explicitly clarify precedence
      * stress-unshare: guard declaration of euid with CLONE_NEWNET check
      * stress-switch: reduce scope of overrun and overrun_by
      * stress-ng: declare and assign last_page only when it is required
      * stress-ng: move get class setting before class is sanity checked
      * stress-hrtimers: remove redundant if check, ensure timer is always
        non-zero
      * stress-hdd: fix iovec buffer settings
      * stress-cpu: remove redundant multiply of gm, it's not used
      * stress-apparmor: reduce scope of variable tmp_counter
      * core-helper: reduce scope of buffer 'str'
      * core-helper: stress_text_addr: check for start >= end
      * core-helper: move start if #ifdef to remove unused code
      * Manual: update contributors list
      * stress-vm-addr: fix discarding of existing mappings
      * stress-ng: bring back error messages from getopt_long
      * stress-ng: fix ALWAYS_INLINE with gcc < v6.0.1 on s390/s390x
      * stress-ng: fix --class option
      * Add close race stressor, exercises various close kernel paths
      * Makefiles: make static build checking handle linking correctly
    
     -- Colin King <email address hidden>  Mon, 4 Mar 2019 16:01:23 +0000
  • stress-ng (0.09.54-0ubuntu1) disco; urgency=medium
    
      * Makefile: bump version
      * stress-efivar: add in missing constifications
      * core-cache: fix strncpy - it was one byte too short and not copying
        end-of-string char
      * stress-efivar: properly work around gcc-9 -Waddress-of-packed-member
        warning
      * stress-efivar: pass naturally aligned pointer (stops gcc9 from
        complaining)
      * stress-pthread: don't unlock if previously an unlock failed
      * stress-zlib: avoid static analysis warnings about division by zero on
        zero text_len
      * stress-mremap: fix compare, was an incorrect assignment
      * stress-urandom: skip stressor if /dev/urandom and /dev/random don't
        exist
    
     -- Colin King <email address hidden>  Thu, 21 Feb 2019 18:15:55 +0000
  • stress-ng (0.09.53-0ubuntu1) disco; urgency=medium
    
      * Makefile: bump version
      * Manual: update date
      * Manual: update contributing authors
      * stress-zlib: mark zero pipe reads as an interrupted pipe
      * stress-zlib: improve error handling messages
      * stress-sem: check for errno being zero for dilos
      * test/test-bsd-wchar: Explicitly include stdio.h
      * stress-af-alg: add yield detection before a blocking accept()
      * stress-socket: add yield detection before a blocking accept()
      * stress-sctp: add yield detection before a blocking accept()
      * stress-dccp: add yield detection before a blocking accept()
      * stress-epoll: add yield detection before a blocking accept()
      * stress-socket-fd: add more yield detection points
      * stress-ng: cast pid_t to int for printf
      * Add build time check for clearenv()
      * Voidify return from shim_sched_yield()
      * stress-vm-segv: add some voidifications on ptrace calls
      * Voidify return from fflush()
      * Voidify return from feraiseexcept()
      * Voidify return to shim_usleep()
      * Voidify return from snprintf
      * Voidify return from calls to shim_cacheflush
      * core-perf: add spinlock/unlock error checking
      * thermal-zone: remove degrees char and also add Kelvin too
      * Voidify return of sync()
      * stress-tree: ensure avl cleans it's nodes on free
      * Voidify return from memcpy()
      * Voidify return from memset()
      * Rename dummy variable to signum
      * stress-key: don't perform KEYCTL_CLEAR, add more error checking
      * stress-daemon: perform more SysV daemon like actions
      * stress-vdso: fix typo in comment
      * Handle ENOMEM fork failures by retrying
      * stress-ng: catch and report weird child termination issues
    
     -- Colin King <email address hidden>  Fri, 15 Feb 2019 12:05:01 +0000
  • stress-ng (0.09.52-0ubuntu1) disco; urgency=medium
    
      * Makefile: bump version
      * Manual: update date
      * stress-clock: ignore EPERM errors on timer_create
      * stress-clock: ignore -EINVAL and -ENOSYS failures for gettime and
        getres
      * stress-sem-sysv: don't spam output with timeout info messages
      * stress-clock: ignore -EINVAL and -ENOSYS failures
      * stress-switch: remove debug
      * stress-switch: fix division by zero by switch_freq
      * Update number of stressors in README
      * Add 3D matrix stressor
      * stress-ng: update version info in manual
      * Add stress_get_uname_info to get specific uname info, tidy up -V
        output
      * stress-ng: add compiler version info into -V info
      * Add helper function to get compiler information
      * Fix some spelling mistakes.
      * stress-mlock: add zero sized mlock/munlocks
      * stress-udp: move declaration of variable val
      * stress-mmap: be less noisy on mmap failures and fix directory
        cleanup (LP: #1807732)
      * Add new --switch-rate context switch rate setting
    
     -- Colin King <email address hidden>  Wed, 6 Feb 2019 13:27:33 +0000
  • stress-ng (0.09.51-0ubuntu1) disco; urgency=medium
    
      * Makefile: bump version
      * stress_numa: remove __linux__ check
      * Add build time checks for struct shmid_ds and struct shminfo
      * stress-mlockmany: add some invalid mlock/munlock calls for more stress
      * stress-clone: use shim_unshare instead of unshare
      * stress-clone: forgot to remove other __linux__ check
      * stress-clone: remove __linux__ checks
      * Add shim for getxattr to work around OS X 6 arg getxattr
      * stress-sleep: remove debug on join failure on bad threads
      * Add watchdog test to excluded tests as it can trigger reboots
      * stress-ng.h: remove a couple more __linux__ checks
      * Add build check for sched_rr_get_interval
      * stress-sysbadaddr: remove __linux__ checks
      * stress-sleep: fix broken --sleep-ops threshold counter
      * stress-sleep: improve main loop exit on alarm
      * stress-pthread: clean up warning on %d for pid_t types (missed one)
      * stress-softlockup: memset param to avoid old gcc warnings on struct initializer
      * stress-pthread: clean up warning on %d for pid_t types
      * Add build check for struct msginfo
      * stress-rlimit: fix warnings on gcc 6.4 on solaris
      * stress-hrtimers: fix warnings on gcc 6.4 on solaris
      * stress-cyclic: fix warnings on gcc 6.4 on solaris
      * stress-lockbus: fix warnings on gcc 6.4 on solaris
      * stress-cpu-online: remove empty line
      * stress-pty: remove __linux__ check and add ptsname check
      * Add checking for process-vm-readv and process-vm-writev
      * stress-pthread: add better error recovery and locking prevention checks
      * stress-pthread: make error messages a bit more informative
      * Add build detection of ino64_t
      * stress-bind-bound: add some extra clone flag checks
      * stress-memthrash: remove __linux__ check
      * Add name_to_handle_at and open_by_handle_at checks
      * stress-getrandom: clean up buffer size setting
      * Move ptsname check to correct alphabetic order place
      * Add check for ptsname
      * stress-resources: remove some more __linux__ instances
      * Add build check for sched_setscheduler
      * stress-iomix: replace __linux__ check with HAVE_SYNC_FILE_RANGE check
      * stress-cyclic: fix build warning on systems without sched_get_priority*
      * Add build detection for sched_get_priority_{min|max}
      * stress-cyclic: remove __linux__ checks, the code is generic enough now
      * stress-oom-pipe: replace __linux__ check with appropriate macro checks
      * stress-msg: remove __linux__ check, check instead IPC_INFO and MSG_INFO
      * stress-hrtimes: remove __linux__ check
      * Add build time check for splice
      * Add build time check for tee system call
      * Add build time check for vmsplice
      * test/test-off64_t.c: clean up cppcheck style warning
      * test/test-loff_t: clean up cppcheck style warning
      * stress-utime: clean up cppcheck style warning
      * sytess-sysinfo: fix some cppcheck style warnings
      * stress-pty: clean up some cppcheck style warnings
      * stress-clock: reduce scope of several variables
      * stress-apparmor: ensure we handle residual bogo ops
      * stress-apparmor: fix broken apparmor-ops accounting
      * core-helper: clean up unused variable warning
      * stress-poll: fix missing }, detected by cppcheck
      * stress-ng: remove extraneous ) bracket found by cppcheck
      * stress-af-alg: add missing ) in message
      * stress-sigfpe: ignore bogus -ve si_codes
      * Add build time checks for xattr family of system calls
      * stress-xattr: remove __linux__ check
      * stress-rlimit: remove __linux__ check
      * stress-lockbus: remove __linux__ check
      * stress-iomix: only perform ioctl's if the ioctl command is defined
      * stres-futex: remove __linux__ check
      * stress-dnotify: remove __linux__ check
      * stress-switch: replace __linux__ check with HAVE_PIPE2 check
      * stress-sleep: remove __linux__ check
      * Add build time check for crypt_r
      * core-out-of-memory: remove some empty lines
      * core-io-priority: remove __linux__ check
      * core-helper: remove __linux__ check on F_SETPIPE_SZ check
      * core-helper: replace __linux__check with HAVE_SCHED_GETCPU
      * stress-spawn: check if /proc/self/exe is supported
      * stress-spawn: remove __linux__ check
      * stress-pipe: replace GLIBC version check with check for O_DIRECT
      * Add build time checks for pipe2
      * stress-timer: remove other __linux__ check
      * stress-timer: remove \ continuation from # if defined check
      * stress-timer: remove __linux__ check
      * stress-cache: fix warnings when sched_getcpu not available
      * Add build time checks for sched_getcpu
      * stress-yield: remove need for GLIBC version
      * stress-apparmor: remove need for __linux__ check
      * Add build time checks for sched_getaffinity
      * stress-aio: remove __linux__ check
      * stress-aio-linux: remove check for __linux__
      * stress-mlock: use shim version of munlock()
      * debian/tests/fast-test-all: add mlockmany to the banned stress tests
      * stress-mlockmany: make this stressor CLASS_PATHOLOGICAL
      * Add more mlock/munlock iterations while child waits to be killed
      * stress-mlockmany: check for ability to mlock/munlock
      * stress-mlockmany: remove redundant low mem checks
      * stress-mlockmany: add more yielding points
      * stress-branch: make source more compact
      * Add build time check for semtimedop
      * stress-sigq: fix build warning on Solaris with gcc 4.8.2
      * stress-sysbadaddr: fix cast
      * stress-sysbadaddr: fix pointer bump warnings
      * stress-resources: declare ret in block only if required
      * stress-mlockmany: replace MAX_LOOPS with 1024
      * stress-clock: only define stress_clock_name if required
      * stress-sem-sysv: fix build issue with timeout undefined
      * stress-mlockmany: set default ptr to avoid any warnings
      * stress-cyclic: move stress_cyclic_itimer_handler to clean up build warning
      * stress-cyclic: move timerid into function, don't make it static
      * stress-sysbadaddr: use HAVE_NANOSLEEP check
      * stress-cyclic: make timer delay checks more portable
      * Add build time check for posix_madvise
      * stress-clock: add timer_getoverrun call to exercise this more
      * Add build time check for timer_getoverrun
      * Add build time check for timer_gettime
      * Add build time check for timer_settime
      * Add build time check for timer_create
      * Add build time check for timer_create
      * Add build time check for clock_nanosleep
      * Add build time check for clock_getres
      * Add build time check for clock_settime
      * Add build time check for clock_gettime
      * stress-sigrt: remove need for _POSIX_C_SOURCE check
      * stress-sigqueue: remove need for _POSIX_C_SOURCE check
      * Add build time check for sched_yield
      * stress-branch: add note to why we inlined mwc8
      * stress-branch: add inline mwc8(), boosts cache misses
      * Add some addition x86 target clone targets
      * Add a mlockmany aggressive mlock stressor
      * stress-resource: add check that RLIMIT_MEMLOCK is available
      * Add CLONE_NEWCGROUP for stress-unshare.c
      * README: add libipsec-mb-dev to library list
      * core-mwc: add in aux_rand value to w term
      * stress-resources: mlock and munlock pages of memory
      * stress-vm-segv: remove debug printf
      * stress-vm-segv: use ptrace if available to stop apport spammage
      * stress-opcode: use seccomp trap rather than a kill
      * stress-opcode: add a text --opcode-method
      * stress-zlib: use new stress_text_addr helper
      * core-helper: add stress_text_addr text segment helper
      * stress-vm-segv: remove setrlimit on core dump size
      * stress-seccomp: catch child with SIGSYS trap
      * core-helper: attempt to set soft rlimit first
      * Makefile: remove -g CC option
      * stress-secomp: clean up incorrect indentation
      * stress-ipsec-mb: voidify job submission returns
      * Add missing idle-page mini help information
      * stress-sem: use trywait and do some yielding
      * stress-sem: run semaphore stressors as pthreads and not child processes
      * Fix typo in int128_t support message and don't support for < GCC 4.0.0
      * core-shim: handle posix_fallocate error return correctly
      * stress-timerfd.c: rename TIMER_MAX to TIMERFD_MAX
      * Add build detection of various BSD related header files
      * stress-idle-page: return EXIT_NO_RESOURCE if sysfs entry does not exist
      * Add build detection of __int128_t types
      * Add build time check for alloca.h
      * core-log: add gnu printf format attribute for pr_msg_lockable
      * core-log: make pr_msg_lockable static to reduce scope
      * core-affinity: rename ptr to avoid variable shadowing warnings
      * stress-memcpy: fix naive memcpy and memmove, swap src and dest pointers
      * stress-ng.h: remove another unnecessary __linux__ check
      * Add build time detection of missing __kernel_long_t and __kernel_ulong_t
      * stress-ng.h: remove unnecessary linux check
      * stress-ng.h: remove some duplicated includes
      * core-helper: add more prctl build time checks
      * Add build checks for prctl and remove __linux__ checks
      * stress-ng: define IOPRIO_* macros if they are not defined
      * stress-ng.h: add build check for malloc.h
      * stress-ng.h: remove empty lines
      * Add build checks for loff_t and off64_t types
      * rename personality.c to core-personality.c, update Makefile
      * Replace deconstification with a opt arg duplication
      * stress-clone: remove a deconstification
      * Rename core helper source, add core- prefix to souce
      * helper: prefix some helper functions with stress_
      * Add a new idle scan page scanning stress test for Linux
      * Remove per-stressor umask as is now set before running each stressor
      * Set umask to owner before running each stressor
      * Add build time check for flock()
      * log: add comments and handle systems that don't support flock
      * Add log message locking.
      * stress-resources: guard pkey with HAVE_PKEY_* macro checks
      * Makefile.config: sort config function probing
      * Add posix_fallocate check and use shim_fallocate if it does not exist
      * stress-timerfd: use 256 timers for more stress and throughput
      * stress-procfs: remove empty line
      * stress-fanotify: use the mount_get()/mount_free() mount helpers
      * stress-iosync: force sync'ing on all accessible mount points
      * stress-ng.h: minor space reformatting
      * Add a --memcpy-method option to use different memcpy/memove functions
      * stress-fanotify: add kernel v5.0 FAN_OPEN_EXEC support
      * stress-ipsec-mb: allow static build now that ipsec lib has symbols exported
    
     -- Colin King <email address hidden>  Thu, 31 Jan 2019 16:45:31 +0000
  • stress-ng (0.09.50-1ubuntu1) disco; urgency=medium
    
      * Ignore bogus si_code on FPE errors, fixes issue on 32 bit arm
        platforms. Fix from Upstream commit:
        [922e40f7d439] stress-sigfpe: ignore bogus -ve si_codes
    
     -- Colin King <email address hidden>  Mon, 28 Jan 2019 11:37:31 +0000
  • stress-ng (0.09.50-1) unstable; urgency=medium
    
      * Makefile: bump version
      * Manual: update date
      * stress-fanotify: don't declare ret if it is not used
      * stress-ipsec-mb: make pr_inf message a debug pr_dbg message
      * stress-zlib: remove xsum value debug verify information
      * stress-ipsec-mb: add more explanation to why the stressor may be
        skipped
      * stress-ipsec-mb: check for IMB_* macros
      * stress-ipsec-mb: fix typo "avx" -> "avx2"
      * stress-ipsec-mb: Add SHA encryption
      * stress-ipsec-mb: fix hmac md5 error messages
      * stress-ipsec-mb: Add HMAC MD5
      * stress-ipsec-mb: add CTR encoding
      * stress-ipsec-mb: don't enable for static builds
      * Update copyright year
      * debian/control: add ipsec library dependency
      * stress-quota: use linux quotactl API for linux only systems
      * stress-opcode: voidify name argument
      * stress-opcode: define stress_set_opcode_method for unimplemented
        build case
      * Forgot to add test/test-libipsec-mb.c
      * Add initial cut of ipsec-mb stressor for SHA, DES and CMAC
      * stress-af-alg: prefix macro constants with SNG to avoid clashes
      * stress-rdrand: remove assembler cpuid check
      * stress-fanotify: improve FAN mode checks for v4.20
      * stress-resources: fork a child off on each resource eating child
      * Add --opcode-method [ random | inc | mixed ] option
      * shim: remove duplicated code for __APPLE__ case
      * stress-opcode: iterate 1024 times in each child
      * stress-stackmmap: fix leak of open file descriptor on ENXIO error
      * stress-opcode: comment why mwc32() is being called before forking
      * stress-opcode: remove unnecessary { } block scope
      * stress-opcode: use mwc8() instead of mwc32() when setting opcodes
      * snapcraft: make stress-ng binary static and add various plugs
    
     -- Colin King <email address hidden>  Wed, 2 Jan 2019 16:58:52 +0000
  • stress-ng (0.09.49-1) unstable; urgency=medium
    
      * Makefile: bump version
      * stress-udp-flood: remove check for struct iphdr and icmphdr
      * stress-icmp-flood: add check for struct iphdr and icmphdr
      * Add checks for struct iphdr and icmphdr
      * helper: remove libgen.h - it is not needed
      * Add check for fenv.h
      * Add check for float.h
      * stress-icmp-flood: fix typo in macro name check
      * Add checks for netinet/ip.h and netinet/ip_icmp.h
      * Move getopt.h to stress-ng.h
      * Add check for netinet/sctp.h
      * Add check for locale.h
      * stress-epoll: remove need for netdb.h, clean up define checks
      * Add checkfor libgen.h
      * stress-spawn: only test on linux
      * Add detection for posix_spawn
      * stress-socket: add check for SOL_TCP for BSD systems
      * Add check for net/if.h
      * Add check for netinet/tcp.h and clean up stress-socket a little
      * Move include of arpa/inet.h to stress-ng.h
      * Move include netinet/in.h to stress-ng.h
      * stress-dirdeep: remove include of dirent.h, it is already included
        in stress-ng.h
      * Add check for cpuid.h
      * Move include of keyutils.h to stress-ng.h
      * Move include of crypt.h to stress-ng.h
      * Add check for strings.h
      * Fix check on sys/msg.h, use correct macro for check
      * Use check for mqueue.h
      * Move pwd.h to stress-ng.h
      * Add check for mqueue.h
      * Move ucontext.h and search.h to stress-ng.h
      * Add check for semaphore.h
      * Add checks for aio.h and spawn.h
      * Move math,h and complex.h to stress-ng.h
      * Disable swap for SunOs/Solaris as the interface is different to Linux
      * stress-chown: don't count retries for NetBSD sched_yield retries
      * stress-raw-dev: replace __linux__ check with some more specific checks
      * test/test-sysinfo.c: force failure for sunos, this clashes with a
        different sysinfo
      * stress-ng.c: Add check for sysinfo system call
      * Add check for sysinfo system call
      * Add check for syslog.h
      * Add check for sys/epoll.h
      * Add check for poll.h
      * helper: remove include of sys/statvfs.h as it is include from
        stress-ng.h
      * Add check for sys/shm.h
      * Add check for sys/msg.h
      * Add check for sys/ipc.h
      * helper: use HAVE_SYS_STATVFS_H check for statvfs calls
      * stress-filename.c: use statvfs check
      * Add check for sys/statvfs.h
      * Add check for sys/statfs.h
      * Use check for sys/fanotify.h
      * Add check for sys/sysmacros.h
      * stress-rawdev: remove include of dirent.h, it is in stress-ng.h
      * Add check for sys/io.h
      * Add check for sys/inotify.h and various inotify types
      * Add check for termio.h and termios.h
      * Add check for sys/quota.h
      * Add check for deprecated include ustat.h
      * Add check for utime.h
      * Add check for sys/sysinfo.h
      * Move include of sys/timex.h from stress-get.c to stress-ng.h
      * Add check for sys/ucred.h
      * Add check for sys/mount.h
      * Add check for sys/param.h
      * Move include of mntent.h to stress-ng.h
      * Add check for sys/personality.h
      * perf-event: no need to check for __linux__, remove check
      * Add better checking for HAVE_LINUX_PERF_EVENT_H
      * stress-nop: undefined NOP macros to avoid name space clash
      * Move libaio.h from stress-aio-linux.c to stress-ng.h
      * Move several includes from stress-dev.c to stress-ng.h
      * Add check for linux/cn_proc.h
      * Add check for linux/unix_diag.h
      * Add check for linux/sock_diag.h
      * Add check for linux/rtnetlink.h
      * Add check for linux/netlink.h
      * Add check for linux/connector.h
      * stress-sock-diag: remove includes that are in stress-ng.h
      * stress-ng.h: remove check for HAVE_SWAP to include swap.h
      * Add check for linux/posix_types.h
      * stress-ng.h: more clean ups
      * stress-ng.h: more include cleanups
      * alphabetically re-order sys/includes
      * Move include of linux/if_alg.h to stress-ng.h
      * Move include of linux/socket.h to stress-ng.h
      * stress-dev: remove need for linux/random.h, it's included in
        stress-ng.h
      * stress-timerfd: clean up build warning on pid_t on sunos
      * Only include sys/swap.h if swapon/swapoff exist
      * stress-sendfile: return EXIT_NOT_IMPLEMENTED if sendfile returns ENOSYS
      * Add check for statfs system call
      * Add swapon/swapoff system call autodetection
      * stress-swap: don't use SWAP_FLAG_PREFER if it's not defined
      * stress-sysbadaddr.c: remove include of sys/vfs.h
      * Add build config check for sys/uio.h
      * Add build config check for sys/vfs.h
      * Add build config check for sys/swap.h
      * Add build config check for sys/timerfd.h
      * Move include of sys/apparmor.h to stress-ng.h
      * Add build config check for sys/sendfile.h
      * Add build config check for sys/signalfd.h
      * stress-netdev.c: remove include of sys/ioctl.h, it is included in
        stress-ng.h
      * Move include of sys/auxv.h to stress-ng.h
      * stress-socket-diag: remove include for sys/socket.h, it is include
        in stress-ng.h
      * Add build config check for netinet/in.h
      * Add build config check for sys/un.h
      * Add in version info computer unicode character
      * Add unicode 32 symbol for fire in the version info
      * Re-order pthread and libc library linker order (LP: #1807176)
      * Move <sys/utsname.h> include to stress-ng.h
      * stress-rawdev: remove sys/types.h as it is included in stress-ng.h
      * Rename HAVE_SYS_CAP_H to HAVE_SYS_CAPABILITY_H, move include to
        stress-ng.h
      * stress-urandom: move the include of linux/random.h to stress-ng.h
      * stress-loop: move the include of linux/loop.h to stress-ng.h
      * stress-futex: remove include/futex.h
      * shim: remove linux/futex.h include
      * Move the include of linux/rtc.h to stress-ng.h
      * Move the include of linux/watchdog.h to stress-ng.h
      * Move the include of linux/userfaultfd.h to stress-ng.h
      * Move the include of linux/futex.h to stress-ng.h
      * stress-seccomp: no need for __linux__ check, remove it
      * stress-opcode: fix build issue because if #if/#endif mismatch
      * Move linux/seccomp.h include to stress-ng.h
      * Add build config check for linux/filter.h
      * Add build config check for linux/audit.h
      * stress-seccomp: improve EACCES failure skip message information
      * Add build config check for sys/prctl.h
      * stress-udp-flood: check for EPROTONOSUPPORT socket failures
      * stress-stackmmap: handle ENXIO mmap failures on minix
      * stress-loop: remove redundant check for __linux__ being defined
      * Add build config check for linux/rtc.h
      * Add build config check for linux/version.h
      * stress-urandom: use HAVE_LINUX_URANDOM_H check
      * Add build config check for linux/watchdog.h, re-order some checks too
      * Add build config check for sys/timex.h
      * Add build config check for sys/utsname.h
      * stress-get: fix typo in comment
      * Use check for HAVE_LINUX_FUTEX_H for linux/futex.h
      * Move sys/select.h include into stress-ng.h
      * Add build config check for linux/fs.h
      * Add build config check for sys/fanotify.h
      * Add build config check for mntent.h
      * Add build config check for crypt.h
      * Add build config check for ucontext.h
      * Add build config check for sys/apparmor.h
      * Add build config check for sys/select.h
      * Add build config check for libaio.h
      * Add build config check for aio.h
      * Rename HAVE_SOCK_DIAG_H to HAVE_LINUX_SOCK_DIAG_H
      * stress-af-alg: add checks for <linux/if_alg.h> and <linux/socket.h>
      * stress-stackmmap: needs swapcontext
      * stress-ng: minor reordering of includes, minor changes
      * Remove include of semaphore.h as this is already included in
        stress-ng.h
      * stress-ng.h: fix include on semaphore.h
      * stress-resources: use posix semaphores if HAVE_SEM_POSIX is defined
    
     -- Colin King <email address hidden>  Thu, 13 Dec 2018 16:08:11 +0000
  • stress-ng (0.09.48-1) unstable; urgency=medium
    
      * Makefile: bump version
      * stress-dev: pass correct struct to SCSI_IOCTL_GET_IDLUN
        ioctl (LP: #1806024)
      * Remove full stop from some messages, like other messages
      * stress-spawn: fix skipping message, use stressor test name
    
     -- Colin King <email address hidden>  Fri, 30 Nov 2018 12:07:13 +0000
  • stress-ng (0.09.47-1) unstable; urgency=medium
    
      * Makefile: bump version
      * Manual: update date
      * Add in missing option --vdso-func to specific the vDSO function to
        call
      * stress-mcontend: check data[1] rather than data[0] for failed mmap
      * stress-dev: remove redundant null assignment to dev_scsi_new
      * log: use strncpy instead of less safe strcpy
      * README: add WSL as a supported platform
      * stress-itimer: skip stressor if itimer cannot be set
      * stress-schedpolicy: skip sched_setparam on EPERM errors
      * stress-key: skip stressor if add_key is not implemented
      * stress-netdev: ignore errors of EINVAL on ioctls
      * stress-ioprio: skip over failures that return -EINVAL
      * stress-file-ioctl: skip flag checking if ioctl fails
      * helper: forgot to use %s when printing cache pr_inf message
      * stress-file-ioctl: silently ignore ENOTTY ioctl failures
      * stress-file-ioctl: add in errno info on failure
      * helper: shrink cache defaults message, make it less verbose
      * stress-fcntl: cater for kernels that don't support some fcntl commands
      * stress-sigio: cater for kernels that don't support F_SETOWN
      * stress-udp: cater for kernels that don't support SO_REUSEADDR
      * cache: remove some empty lines, minor code cleanup
      * stress-tee: terminate with EXIT_NO_RESOURCE on ENOMEM on tee
      * stress-sctp: skip stressor if protocol is not supported (part 2)
      * Make cache size warnings less verbose
      * Add getauxval autoconfig detection
      * stress-vdso: only build test if AT_SYSINFO_EHDR is defined
      * README: add in more operating systems that the tool can build on
      * stress-sync-file: skip stressor if sync_file_range is not implemented
      * stress-switch: fall back to pipe() if pipe2() fails to work
      * stress-socket-diag: skip stressor if protocol is not supported
      * stress-sctp: skip stressor if protocol is not supported
      * stress-pipe: fall back to pipe() if pipe2() fails to work
      * exit_status: make ENOSYS return EXIT_NOT_IMPLEMENTED
      * stress-mq: skip stressor if POSIX message queues are not implemented
      * stress-mincore: skip stressor of mincore not implemented
      * stress-full: check if /dev/full exists, return EXIT_NOT_IMPLEMENTED
        if not available
      * stress-filename: cater for WSL on Windows 10 ENOENT errors
      * stress-filename: make probing more robust
      * stress-clock: handle kernels that return -EINVAL for timer_create
      * stress-vdso: make function vdso_sym_list_check_vdso_func static
      * stress-vdso: fix realloc null return check, don't check str
      * stress-vdso: ensure hash is initialized to NULL
      * stress-zlib: add gray code generator
      * stress-zlib: add brown noise and fix missing funcs from
        rand_data_funcs
      * stress-wait: voidify kill return
      * stress-vm: minor optimization, don't keep on recomputing max_ops arg
      * stress-vm: handle counter increments via helper functions
      * stress-bindmount: use get_counter instead of referencing counter
      * Add add_counter helper to add a value to the bogo op counter
      * Add a set_counter helper to set the bogo counter
      * Use get_counter rather than directly referencing *args->counter
      * mwc: use getauxval(AT_RANDOM) as a base seed if it is available
      * stress-switch: add more context switch info
      * stress-ng.h: add get_counter helper to get counter from args
      * stress-vdso: add arm64 vDSO symbol names
      * stress-vdso: scan all symbols and remove duplicates
      * Add vDSO stress test.
      * use a test program to conditionally set TARGET_CLONES (LP: #1800826)
      * Detect and use <features.h> if it is available.
      * Fix build with uClibc-ng (LP: #1800829)
      * stress-ng.h: conditionally define _{LARGEFILE,LARGEFILE64}_SOURCE
        to fix build warning (LP: #1800828)
    
     -- Colin King <email address hidden>  Wed, 21 Nov 2018 17:03:43 +0000
  • stress-ng (0.09.46-1) unstable; urgency=medium
    
      * Makefile: bump version, remove -g and -pipe flags
      * Makefile: remove -pipe and -g CFLAGS
      * stress-ng: only defined TARGET_CLONES optimizations for x86-64
      * stress-affinity: fix set affinity setting across all
        stressors (LP: #1803322)
      * stress-fault: add mmap failed resource checking, treat as non-fatal
      * stress-tlb-shootdown: retry for ENFILE errors on mmap
      * stress-udp: handle ENETUNREACH silently
      * stress-vecmath: work around gcc breakage on ppc64el
    
     -- Colin King <email address hidden>  Wed, 14 Nov 2018 13:01:57 +0000
  • stress-ng (0.09.45-1) unstable; urgency=medium
    
      * Makefile: bump version
      * Use alternative mmap strategy on last shared page if mprotect is
        not available
      * stress-dev: constify a char * function parameter, fixes warning
      * stress-dev: fix warnings on non-Linux systems
      * stress-dev: add 4.20 BLKGETZONESZ and BLKGETNRZONES ioctls
      * stress-tsc: add supported handler for non-x86
      * stress-rdrand: add supported handler for non-x86
      * stress-ng: add extra non-accessible page at end of shared region
      * thrash: assign return to variable and voidif
      * stress-getrandom: check if system call is available before testing
      * stress-cpu-online: ignore -EOPNOTSUPP failure, just keep on
        exercising the sys interfaces
      * stress-cpu-online: check if we can access sysfs file for updating
      * stress-cpu-online: add root check before running the stress test
      * stress-seccomp: add sanity check to see if SECCOMP_SET_MODE_FILTER
        works (LP: #1801856)
      * stress-dev: cache the scsi device names to reduce lookup overhead
      * stress-dev: remove debug cruft
        cache: turn macro MK_PATH to an inline'd static helper function
      * stress-dev: add SCSI device checking
      * stress-af-alg: handle ENOMEM failures on sendmsg (LP: #1801865)
      * stress-pty: handle EIO failures on opening /dev/ptmx
      * stress-loop: fix EBUSY error detection (LP: #1797544)
      * cache: optimize MK_PATH macro, remove double strlen call
    
     -- Colin King <email address hidden>  Fri, 9 Nov 2018 10:43:35 +0000
  • stress-ng (0.09.44-1) unstable; urgency=medium
    
      * Makefile: bump version
      * stress-dev: add HDIO_* ioctls
      * stress-file-ioctl: add FIBMAP ioctl to file
      * stress-dev: remove FIBMAP ioctl on device (LP: #1800609)
      * log: use snprintf instead of sprintf, it is safer
    
     -- Colin King <email address hidden>  Thu, 1 Nov 2018 11:45:01 +0000
  • stress-ng (0.09.42-1) unstable; urgency=medium
    
      * Makefile: bump version
      * stress-quota: abort early if we get EPERM errors (LP: #1796248)
      * stress-get: fix check for HAVE_ADJTIMEX or HAVE_ADJTIME
      * stress-pthread: work around broken pthread join that returns
        ESRCH (LP: #1796249)
      * stress-chroot: check for EINVAL for Haiku
      * stress-link: disable link stressor for Haiku
      * stress-get: disable a couple of rlimit types for Haiku
      * stress-cpu: define expl as exp for Haiku as it's not yet defined
      * Update README, add Haiku notes
      * Makefile: add -lc for non-Haiku, and -lnetfork for Haiku
      * helper: fix warnings on systems where strsignal returns const char *
      * Add autodetection of nice
      * Add autodetection of setpriority, fall back to using nice if we
        don't have it
      * stress-get: only declare is_root when required for adjtime* functions
      * Add autodetection of adjtime
      * stress-get: don't declare array priorities if getpriority does not
        exist
      * Add automatic detection of getpriority
      * stress-fault: don't declare usage for Haiku
      * stress-fault: don't print ruseage stats for Haiku
      * stress-dev: disable for Haiku
      * Add more info to README file
    
     -- Colin King <email address hidden>  Fri, 5 Oct 2018 10:29:34 +0100