Page MenuHomePhabricator

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

Authored by PiRK on Jan 12 2021, 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
Lint Not Applicable
Unit
Tests Not Applicable