seL4_projects_libs
seL4_projects_libs copied to clipboard
libsel4vm: Proper error for map_vm_memory_res
Currently, if the map_iterator
function fails to find a frame for a given address, then it breaks from the loop, but it does not return an error and marks the reservation as mapped. Since it skipped some number of reservations, that is not true and an error should be returned instead.