Synchronize save, delete signature 68/207768/7
authorIlho Kim <ilho159.kim@samsung.com>
Wed, 12 Jun 2019 07:18:13 +0000 (16:18 +0900)
committerilho kim <ilho159.kim@samsung.com>
Tue, 2 Jul 2019 03:59:57 +0000 (03:59 +0000)
commiteb460c92336cd89ebd7d6dd217a2935c487dcb45
treee3b63035e1bd96e0a2d663e7de54e903b33b500f
parent375365fcbf9c54cc94d0bd01ba74d8900efc05c1
Synchronize save, delete signature

To prepare for sudden power loss,
write the signature infomation to the physical disk
and then synchronously delete the unpacked signature file using fsync()

Change-Id: I2a23f518cc7e71634ad93e00b594505223caee4c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
CMakeLists.txt
src/common/signature.cc
src/common/signature.h