qseecom: Clear modified data after processing command
When a client issues a send modified request to the driver,
the driver modifies data within the message in the same
shared buffer accessable by user space client.
The driver replaces certain fields within the message with
the physical address of the buffer (addressed by the ION fd
sent by user space client). This modified information with
the physical address needs to be cleared after the command
is processed by secure app, to prevent user space client
from having any access or information regarding the physical
address.
This patch clears the same modified data within the message
after the command is processed by secure app.
Change-Id: I429a223fba130e614cbd03dc1aa31c7680b34889
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
1 file changed