tee-supplicant: Synchronize file operations for secure storage

In order to properly synchronize data and meta-data for secure
storage, fsync() must be performed on the containing directory
after mkdir() and rename() operations.
This may be especially of interest in a production environment
where power may be cut as soon as all the security
parameters are saved.

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Joakim Nordell <joakim.nordell@axis.com>
1 file changed
tree: 5ccfcac6d7cd7615cd558bda2c71472f4b6e7c52
  1. .github/
  2. libckteec/
  3. libseteec/
  4. libteeacl/
  5. libteec/
  6. public/
  7. scripts/
  8. tee-supplicant/
  9. .gitattributes
  10. .gitignore
  11. .travis.yml
  12. Android.mk
  13. android_flags.mk
  14. CMakeLists.txt
  15. CMakeToolchain.txt
  16. config.mk
  17. flags.mk
  18. LICENSE
  19. Makefile
  20. README.md
  21. typedefs.checkpatch
README.md

OP-TEE Client API

This git contains source code for the non-secure side implementation of the OP-TEE project making up the client library and tee-supplicant.

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_client.

// OP-TEE core maintainers