Skip to content
Commit cb3842cb authored by Joakim Nordell's avatar Joakim Nordell Committed by Jérôme Forissier
Browse files

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: default avatarJerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander's avatarJens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: default avatarJoakim Nordell <joakim.nordell@axis.com>
parent 52fca902
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment