|
|
Subscribe / Log in / New account

Interesting discussion on ETXTBSY

Interesting discussion on ETXTBSY

Posted Aug 24, 2021 16:23 UTC (Tue) by immibis (subscriber, #105511)
In reply to: Interesting discussion on ETXTBSY by NYKevin
Parent article: The shrinking role of ETXTBSY

Then the kernel should do it instead. Mapping an executable or library file should be a copy-on-write operation. When the underlying file is replaced the kernel should use the old pages for the existing mappings and the new pages for new mappings.

Of course, that's probably impossible in current Linux.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds