阅读背景:

是否可以基于/proc/self/maps中的信息执行munmap ?

来源:互联网 

I need to be able to unmap files that were opened through some libraries I'm linking with. The reason for needing to do this is that the mappings made by these libraries hold references to modules that may need to be reloaded while the program is executing (potentially long running executions). The problem is the modules cannot be unloaded while my process is holding a reference. I need to be able to unmap files that were open




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: