Commit 3fee4bb
lockedpool: avoid sensitive data in core files (Linux and FreeBSD)
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@f8520301 parent 1956113 commit 3fee4bb
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
234 | 239 | | |
235 | 240 | | |
236 | 241 | | |
| |||
0 commit comments