Page MenuHomePhabricator

lockedpool: avoid sensitive data in core files (FreeBSD)
ClosedPublic

Authored by PiRK on Tue, Jan 12, 10:23.

Details

Summary

This is a followup to PR15600 to also use madvise(2) on FreeBSD
to avoid sensitive data allocated with secure_allocator ending up
in core files in addition to preventing it from going to the swap.

This is a backport of Core PR18443

Depends on D8879

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.