2 ms·
AFAIK 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 .i
by amscanne 13y ago
AFAIK 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?