This change prevents userland from referencing TEE shared memory
outside the area initially allocated by its owner. Prior this change an
application could not reference or access memory it did not own but
it could reference memory not explicitly allocated by owner but still
allocated to the owner due to the memory allocation granule.
Reported-by: Alexandre Jutras <email@example.com>
Signed-off-by: Etienne Carriere <firstname.lastname@example.org>
Signed-off-by: Jens Wiklander <email@example.com>