3 ms·
Hopefully Linux doesn't allow anything like Windows' shared data sections: http://msdn.microsoft.com/en-us/library/h90dkhs0(v=vs.90).aspx http://msdn.microsoft.
by johntb86 13y ago
Hopefully Linux doesn't allow anything like Windows' shared data sections: http://msdn.microsoft.com/en-us/library/h90dkhs0(v=vs.90).aspx http://msdn.microsoft.com/en-us/library/h90dkhs0(v=vs.90).as...
- amscanne 13y agoAFAIK there's no shared, writable section in ELF. But of course you could still easily mmap() a file to achieve the same thing (even from the shared library .init functions). I can understand that the shared section might be abused by goofy programmers ("Hey guys! We don't need to open a file for storage, we can just build it into the DDL!") ... but is there a reason you think it's a bad idea otherwise?