Home
last modified time | relevance | path

Searched hist:eb4a988a5c8d1ae26d4bb52d7d3993b0811ef016 (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/include/tee/
H A Dtee_supp_plugin_rpc.heb4a988a5c8d1ae26d4bb52d7d3993b0811ef016 Fri Jul 14 10:49:01 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> core: add user buffer to tee_invoke_supp_plugin_rpc()

Adds a user buffer to tee_invoke_supp_plugin_rpc() so direct user memory
access can be used when called with a buffer in user memory instead of
core memory. tee_invoke_supp_plugin_rpc() can still take a core memory
buffer as an argument if needed.

PTA_SYSTEM_SUPP_PLUGIN_INVOKE in the system PTA is updated to pass the
memref as a user memory buffer instead of a core memory buffer.

This fixes a direct privileged memory access to user space memory.

Fixes: 4e154320e47c ("core: Apply finer-grained PAN")
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
/optee_os/core/tee/
H A Dtee_supp_plugin_rpc.ceb4a988a5c8d1ae26d4bb52d7d3993b0811ef016 Fri Jul 14 10:49:01 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> core: add user buffer to tee_invoke_supp_plugin_rpc()

Adds a user buffer to tee_invoke_supp_plugin_rpc() so direct user memory
access can be used when called with a buffer in user memory instead of
core memory. tee_invoke_supp_plugin_rpc() can still take a core memory
buffer as an argument if needed.

PTA_SYSTEM_SUPP_PLUGIN_INVOKE in the system PTA is updated to pass the
memref as a user memory buffer instead of a core memory buffer.

This fixes a direct privileged memory access to user space memory.

Fixes: 4e154320e47c ("core: Apply finer-grained PAN")
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
/optee_os/core/pta/
H A Dsystem.ceb4a988a5c8d1ae26d4bb52d7d3993b0811ef016 Fri Jul 14 10:49:01 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> core: add user buffer to tee_invoke_supp_plugin_rpc()

Adds a user buffer to tee_invoke_supp_plugin_rpc() so direct user memory
access can be used when called with a buffer in user memory instead of
core memory. tee_invoke_supp_plugin_rpc() can still take a core memory
buffer as an argument if needed.

PTA_SYSTEM_SUPP_PLUGIN_INVOKE in the system PTA is updated to pass the
memref as a user memory buffer instead of a core memory buffer.

This fixes a direct privileged memory access to user space memory.

Fixes: 4e154320e47c ("core: Apply finer-grained PAN")
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>