OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-466-g1acc612

Gerrit Code Review gerrit@openafs.org
Tue, 13 Aug 2024 13:03:14 -0400


The following commit has been merged in the master branch:
commit 1acc6126870e0299c3833ffeb98c83629ef99c5e
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Aug 6 20:57:29 2024 -0500

    tests: Avoid generating cores in softsig-helper
    
    Our opr/softsig-t tests run softsig-helper to generate SIGSEGV and
    SIGBUS signals (among other things), which may generate core files (if
    'ulimit -c' is nonzero). The core files are useless, since we expect
    those signals to be generated.
    
    Usually the core files are generated in the build tree (where we run the
    tests from), which is a minor annoyance. But some systems may be
    configured to store core files in a central location (e.g.
    /var/lib/systemd/coredump), which starts to build up over time after
    many builds.
    
    To avoid this, prevent core files from being generated in softsig-helper
    for the SIGSEGV and SIGBUS cases by calling setrlimit().
    
    Change-Id: Ice71e79009cf2b44d4cbe32233d3a7ee12e08d2d
    Reviewed-on: https://gerrit.openafs.org/15795
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Tested-by: Mark Vitale <mvitale@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>

 tests/opr/softsig-helper.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

-- 
OpenAFS Master Repository