mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
1acc612687
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> |
||
---|---|---|
.. | ||
.gitignore | ||
cache-t.c | ||
dict-t.c | ||
fmt-t.c | ||
jhash-t.c | ||
Makefile.in | ||
queues-t.c | ||
rbtree-t.c | ||
softsig-helper.c | ||
softsig-t | ||
time-t.c | ||
uuid-t.c |