memfd_secret() in 5.14
memfd_secret() in 5.14
Posted Aug 7, 2021 15:26 UTC (Sat) by mb (subscriber, #50428)In reply to: memfd_secret() in 5.14 by khim
Parent article: memfd_secret() in 5.14
Refusing to start, to crash or refusing to do other things (e.g. hibernate) is not really a valid option from UX perspective.
Programmers often tend to assume that it's valid to do such things. "Somebody else will care and clean up after me. Let the user just restart the app. etc...". But it's *not* Ok. People will get frustrated by broken software that crashes or doesn't work as expected. (as in: what the user(!) expects)
Users don't use software for the sake of software, but rather to get actual work done.
I cannot enable memfd_secret(), because I use hibernation.
Distributions cannot enable memfd_secret() by default either, because they have users using hibernation.
Therefore it's a turn-on-by-user security feature. Which is very bad, because people tend to not turn on such features out of fear of breaking something.
memfd_secret() is a useful feature. Even with (encrypted) hibernation. So (at least!) give me the choice to enable it, please. But I'd rather like to see it enabled by default. Even with unencrypted hibernation.
