memfd_secret() in 5.14
memfd_secret() in 5.14
Posted Aug 6, 2021 16:41 UTC (Fri) by ericonr (guest, #151527)Parent article: memfd_secret() in 5.14
> Another change, which created a bit of controversy over the life of the patch, disables hibernation when a secret memory area is active. The purpose is to prevent the secret data from being written to persistent storage, but some users may become disgruntled if they find that they can no longer hibernate their systems. That notwithstanding, this behavior was part of the version that went into 5.14.
Is there going to be an easy way to query what program is blocking things (maybe some new procps functionality, if it can be found from /proc/$PID/maps)?
The intersection of people who will enable the functionality and those who hibernate their computers seems like it would be small (I take hibernation as "trusting the kernel a lot", at least in my head), so this is unlikely to be an actual issue, but if/when it does happen, it'd be nice if people weren't stuck.
