This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Le mardi 27 octobre 2009 13:42:45, Andrew Haley a écrit :Hmmm, interesting. This is going to be quite hard to fix.(...) mmap2(NULL, 4096, PROT_READ|PROT_EXEC, MAP_SHARED, 3, 0) = 0xc41000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0xb7c7d000
Whould it be possible to just replace MAP_SHARED by MAP_PRIVATE? If not, you may add a reference counter (which may require a mutex).
Why is the child process destroying the closure, anyway?
Why not? :-)
Would you like to try replacing MAP_SHARED with MAP_PRIVATE and getting back to us?
Thanks, Andrew.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |