« Previous | Next » 

Revision 4e4c55bd

ID4e4c55bdd59eaa6d8588dc57241a1c3eeb6063f3
Parent 69507ee7
Child 4f145469

Added by Hans-Christoph Steiner over 3 years ago

create mount/umount logic based on holding open a sqlfs instance

It turns out that IOCipher needs to have a mounted and unmounted state in
order to trigger when the key/password is zeroed out. So sqlfs_open() is
used to create the first sqlfs instance and keep it open. The actual work
is done by sqlfs instances that are created on the fly for each thread.
That keeps it flexible so that a new sqlfs instance is automatically
instantiated whenever there is an IOCipher call in a new thread.

fixes #3402 https://dev.guardianproject.info/issues/3402

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences