Nick Mathewson
|
a088a08eeb
Log real error message when unable to remove a storagedir file
|
7 years ago |
Nick Mathewson
|
0c7c49483f
Fix a coverity warning about a no-op assert with-64 bit size_t
|
7 years ago |
teor
|
79725289e1
If we do underflow the know usage of a storage, recalculate it
|
7 years ago |
teor
|
69b234a0a8
Refactor storage usage reductions into a static function
|
7 years ago |
teor
|
334fe6bb6b
Don't underflow usage when it is unknown and a file is removed
|
7 years ago |
teor
|
9e36b0beb9
Always check for usage underflow when removing a file in storage.c
|
7 years ago |
teor
|
f6841ae263
Fix comment typos in storage.c
|
7 years ago |
Nick Mathewson
|
7a0964279f
Functionality to ensure there is space to add files to cache.
|
7 years ago |
Nick Mathewson
|
16d6ab6640
Fix use-after-free bug in storage_dir sandbox code.
|
7 years ago |
Nick Mathewson
|
37bb3b31fa
Add some "labeled storagedir" abstractions.
|
7 years ago |
Nick Mathewson
|
1d617e3ed0
Check and cast st_size to size_t in storagedir code
|
7 years ago |
Nick Mathewson
|
ee253e392a
Define a "storagedir" abstraction to hold numerous similar files
|
7 years ago |