linux 分页是否允许进程A访问进程B内存?[duplicate]

2guxujil  于 2022-12-22  发布在  Linux
关注(0)|答案(1)|浏览(108)
    • 此问题在此处已有答案**:

Linux kernel: is a re-assigned page frame cleared?(1个答案)
十小时前关门了。
操作系统是否在分页期间清除物理内存?如果没有,是否可以将新的虚拟页面Map到物理内存区域,该区域包含来自另一个程序(其内存已分页到硬盘驱动器)的值?

8yparm6h

8yparm6h1#

不,内核可以释放内存,将其添加到空闲页列表中。
是的,这是可能的。但是你可以安全地删除内存中的数据。
参见:https://cwe.mitre.org/data/definitions/316.html
https://medium.com/the-infosec-journal/the-danger-of-storing-data-in-clear-text-in-main-memory-81fe9226ac94
https://wiki.sei.cmu.edu/confluence/plugins/servlet/mobile?contentId=87152468#content/view/87152468

相关问题