vm: implement B_RANDOMIZED_ANY_ADDRESS address specification

Randomized equivalent of B_ANY_ADDRESS. When a free space is found (as in
B_ANY_ADDRESS) the base adress is then randomized using _RandomizeAddress
pretty much like it is done in B_RANDOMIZED_BASE_ADDRESS.
This commit is contained in:
Pawel Dziepak
2013-04-04 15:16:21 +02:00
parent f9bab525f6
commit b3e4c67739
4 changed files with 66 additions and 18 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ typedef struct area_info {
#define B_CLONE_ADDRESS 3
#define B_ANY_KERNEL_ADDRESS 4
/* B_ANY_KERNEL_BLOCK_ADDRESS 5 */
/* B_RANDOMIZED_ANY_ADDRESS 6 */
#define B_RANDOMIZED_ANY_ADDRESS 6
#define B_RANDOMIZED_BASE_ADDRESS 7
/* area protection */