HomeFreeBSD

Prevent savecore from reading bounds from the current directory.

Description

Prevent savecore from reading bounds from the current directory.

Rev 244218 removed the requirement that you provide a dump
directory when checking if there is a coredump ready to be written.
That had the side-effect of causing the bounds file to be read
from the current working directory instead of the dump directory.
As the bounds file is irrelevant when just checking, the simplest
fix is to not read the bounds file when checking.

Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D14383

Details

Provenance
silbyAuthored on
Reviewer
markj
Differential Revision
D14383: Prevent savecore from reading bounds from the current directory.
Parents
rS329361: Document memset_s(3). memset_s(3) is defined in
Branches
Unknown
Tags
Unknown