Home
last modified time | relevance | path

Searched hist:"41 a624da6f7cf1b526c69e76b07296892c4731dd" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/kernel/
H A Dree_fs_ta.c41a624da6f7cf1b526c69e76b07296892c4731dd Mon Jun 23 07:59:02 UTC 2025 Gavin Liu <gavin.liu@mediatek.com> core: ree_fs: initialize ta_ver.db in one operation

Combined the object creation and data writing operations into a single
step to enhance reliability. This change addresses the situation where,
if object creation occurs but the data writing fails, an empty object
would be left behind, leading to potential issues during the next boot.

Link: https://github.com/OP-TEE/optee_os/issues/7438
Fixes: 183398139c9c ("core: enable rollback protection for REE-FS TAs")
Signed-off-by: Gavin Liu <gavin.liu@mediatek.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>