Unix- , , , .
However, the page tables that display the library data section are processed using a mechanism Copy on Write. As soon as you try to write a global variable, the OS will create a specific copy of the page containing this variable and reconfigure the process page table accordingly.
source
share