mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-06 00:01:01 +02:00
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>