Re:Handling secrets (somewhat) securely in shells
by CableNinja on Wednesday January 14, 2026 @01:00AM
(#46612839)
Hm, this is interesting. What kernel version did you find this in? Im curious if this is exposed to other languages
[ Parent
| on HN ]
Re:Handling secrets (somewhat) securely in shells
by sllabres on Wednesday January 14, 2026 @01:22AM
(#46612959)
From the man page: Linux 5.14.
Before Linux 6.5, memfd_secret() was disabled by default and only available if the system administrator turned it on using "secretmem.enable=y" kernel parameter. [...]
"To prevent potential data leaks of memory regions backed by memfd_secret() from a hybernation image, hybernation is prevented when there are active memfd_secret() users."