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