Skip to content
Commit fbdaafbb authored by Igor Opaniuk's avatar Igor Opaniuk Committed by Ilias Apalodimas
Browse files

cmd: optee_rpmb: close tee session



Close tee session after each optee_rpmb invocation, as there is no
reason to keep it open, considering the absence of any available mechanism
to clean up all open sessions automatically before handing over control
to the Linux kernel. Without proper clean-up we might end up with orphaned
sessions registered in OP-TEE OS core (obvious resource leak).

Signed-off-by: default avatarIgor Opaniuk <igor.opaniuk@gmail.com>
Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent 6e8bb1fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment