genode/repos/gems/include/cbe
Martin Stein df7de17435 vfs/cbe_trust_anchor: sync hashfile-handle close
Closing the hashfile handle after a write operation wasn't synchronised to the
actual end of the write operation.

Issuing a write operation at the back end returns successfull as soon as the
back end has acknowledged that it will execute the operation. However, the
actual writing of the data might still be in progress at this point. But the
plugin used to close the file handle and declare the operation finished at this
point which led to warnings about acks on unknown file handles and leaking
resources. Now, the plugin issues a sync operation directly after the write
operation and waits for the sync to complete. This ensures that the plugin
doesn't declare the operation finished too early.

Ref #4032
2021-10-13 14:50:45 +02:00
..
check gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
crypto gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
dump gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
init gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
vfs vfs/cbe_trust_anchor: sync hashfile-handle close 2021-10-13 14:50:45 +02:00
library.h gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
spark_object.h gems: import Genode-specific code of the CBE 2020-11-27 09:19:08 +01:00
types.h cbe/types: invalid generation, generation string 2021-10-13 14:50:45 +02:00