On Fri, Aug 13, 2021 at 2:49 PM Andy Lutomirski [off-list ref] wrote:
I’ll bite. How about we attack this in the opposite direction: remove the deny write mechanism entirely.
I think that would be ok, except I can see somebody relying on it.
It's broken, it's stupid, but we've done that ETXTBUSY for a _loong_ time.
But you are right that we have removed parts of it over time (no more
MAP_DENYWRITE, no more uselib()) so that what we have today is a
fairly weak form of what we used to do.
And nobody really complained when we weakened it, so maybe removing it
entirely might be acceptable.
Linus