phoenix-rtos / phoenix-rtos-project

Sample project using Phoenix-RTOS
https://phoenix-rtos.com
BSD 3-Clause "New" or "Revised" License
45 stars 32 forks source link

kernel/process: loaded binary seems not to be unmapped from kernel space #974

Closed badochov closed 9 months ago

badochov commented 9 months ago

During process load on MMU targets binary is mmaped to kernel map, however, it doesn't seem to be unmapped after it's used nor it's saved anywhere but in the local variable. https://github.com/phoenix-rtos/phoenix-rtos-kernel/blob/326990bbf232c435f97444836c4df6c755477f0f/proc/process.c#L693

badochov commented 9 months ago

On master it is checked on bad branch