Home
last modified time | relevance | path

Searched hist:"138 c5102ef4c8b77ed31fdb7aa98c7c3d4173478" (Results 1 – 2 of 2) sorted by relevance

/optee_os/lib/libutee/include/
H A Duser_ta_header.h138c5102ef4c8b77ed31fdb7aa98c7c3d4173478 Wed Dec 14 15:23:36 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> GP131: Add TA property gpd.ta.doesNotCloseHandleOnCorruptObject

Adds the TA property gpd.ta.doesNotCloseHandleOnCorruptObject.

All syscalls operating on an object handle and can return
TEE_ERROR_CORRUPT_OBJECT must also do special treatment when
TEE_ERROR_CORRUPT_OBJECT is returned. Prior to
gpd.ta.doesNotCloseHandleOnCorruptObject this meant removing the object
and closing the object handle. With the
gpd.ta.doesNotCloseHandleOnCorruptObject property the object handle
shouldn't be close if this the current TA has the property set to true.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/tee/
H A Dtee_svc_storage.c138c5102ef4c8b77ed31fdb7aa98c7c3d4173478 Wed Dec 14 15:23:36 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> GP131: Add TA property gpd.ta.doesNotCloseHandleOnCorruptObject

Adds the TA property gpd.ta.doesNotCloseHandleOnCorruptObject.

All syscalls operating on an object handle and can return
TEE_ERROR_CORRUPT_OBJECT must also do special treatment when
TEE_ERROR_CORRUPT_OBJECT is returned. Prior to
gpd.ta.doesNotCloseHandleOnCorruptObject this meant removing the object
and closing the object handle. With the
gpd.ta.doesNotCloseHandleOnCorruptObject property the object handle
shouldn't be close if this the current TA has the property set to true.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>