Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cherry-pick: lockedpool: avoid sensitive data in core files (Linux and FreeBSD) (#21) #133

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

alamshafil
Copy link
Contributor

Manual backport of bitcoin PR#18443 and bitcoin PR#15633.

Use madvise on Linux and FreeBSD to avoid sensitive data from secure_allocator to be written to swap and core-files.

bitcoin/bitcoin@d831831
bitcoin/bitcoin@f852030
(cherry picked from commit 7170b3e)

Manual backport of bitcoin PR#18443 and bitcoin PR#15633.

Use madvise on Linux and FreeBSD to avoid sensitive data from secure_allocator to be written to swap and core-files.

bitcoin/bitcoin@d831831
bitcoin/bitcoin@f852030
(cherry picked from commit 7170b3e)
@alamshafil
Copy link
Contributor Author

Merging now because CI passes and already ACK since cherry-picked from #21

@alamshafil alamshafil merged commit 8577b2c into 4.1 Aug 22, 2022
@alamshafil alamshafil deleted the 4.1-bp-lockedpool branch August 22, 2022 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants