commit | 2a536acb8b449dd8dc440a672eaa13dcaaf46d1d | [log] [tgz] |
---|---|---|
author | Sahil Malhotra <sahil.malhotra@nxp.com> | Wed Jun 02 21:33:00 2021 +0530 |
committer | Jérôme Forissier <jerome@forissier.org> | Fri Jun 04 08:43:12 2021 +0200 |
tree | c3c8ab9270f61ce8c3455d2ea72080d1e03becc8 | |
parent | a4ab95742fd4718bb0b0e2178d9e1acd5197b42f [diff] |
benchmark: remove TEE_DATA_FLAG_OVERWRITE in call to TEE_OpenPersistentObject During Storage benchmark testing. When we try to Open persistent object with following flags: TEE_DATA_FLAG_ACCESS_READ | TEE_DATA_FLAG_ACCESS_WRITE | TEE_DATA_FLAG_ACCESS_WRITE_META | TEE_DATA_FLAG_OVERWRITE which lands into syscall_storage_obj_open(), where it checks the flags which were passed during opening the object and valid flags TEE_DATA_FLAG_ACCESS_READ | TEE_DATA_FLAG_ACCESS_WRITE | TEE_DATA_FLAG_ACCESS_WRITE_META | TEE_DATA_FLAG_SHARE_READ | TEE_DATA_FLAG_SHARE_WRITE TEE_DATA_FLAG_OVERWRITE flag is not a valid flag in TEE_OpenPersistentObject(), thats why this call will always fail. Removing TEE_DATA_FLAG_OVERWRITE in call to TEE_OpenPersistentObject Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: Jerome Forissier <jerome@forissier.org> Fixes: https://github.com/OP-TEE/optee_os/issues/4659
This git contains source code for the test suite (xtest) used to test the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.
// OP-TEE core maintainers