
The code could not decide whether to apply the padding to the start or the end of the region, resulting in strange behavior because part of the returned range might not have the right properties. With this patch, padding is now consistently applied at the end of the region, since virtual mmap addresses are allocated from high to low. Also fix a few small related bugs in error handling code. Change-Id: I327814bb3921d7982ffc1296a5bf365d9c79c1d9
Description
Languages
C
78.2%
Roff
10.2%
Assembly
4.6%
Shell
3.7%
Makefile
1.6%
Other
1.2%