- Sep 09, 2017
-
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Adam Borowski authored
Also avoids confusion with hlen = head->len
-
- Sep 08, 2017
-
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
- Sep 07, 2017
-
-
Adam Borowski authored
-
Adam Borowski authored
While readdir is notorious to return DT_UNKNOWN, it works well on btrfs and devtmpfs, which are two filesystems which are most interesting for us.
-
Adam Borowski authored
-
Adam Borowski authored
It is said it is possible for non-compressed extents, rendering some fields of the struct garbage. I couldn't find anything like this on any of my disks, so let's just check and fail.
-
- Sep 06, 2017
-
-
Adam Borowski authored
Usually they're not mapped at all, but if they are, they have a giant bogus ram_bytes thus blow the Uncompressed size.
-
Adam Borowski authored
Now this is a brown-paper-bag bug...
-
Adam Borowski authored
A dirty hack; pushing only so I can test other stuff. My largest 32-bit machine has 64GB eMMC but many popular NASes use 32-bit ARM or MIPS.
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
It would be safer to stat() before open(), but is there a way to do so without a TOCTOU race that's a root hole? (Not that there'll be many users on shared systems trying to exploit this particular program...)
-
Adam Borowski authored
Less work to write it anew than to sanitize.
-
Adam Borowski authored
This tends to always get out of sync.
-
Adam Borowski authored
It's never more than "100%" (ie, 3 bytes + '%' + '\0'), but still...
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
Includes only bytes actually used by a file, but if an extent is reflinked multiple times, it will be counted every time. Ie, the size will be what a traditional filesystem with sparse files and efficient tail packing would need.
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
-
Adam Borowski authored
Tests using UBSAN and valgrind make it seem all is ok now. This reverts commit 760c9e5b.
-
Adam Borowski authored
Signed-off-by:Adam Borowski <kilobyte@angband.pl>
-
Adam Borowski authored
Signed-off-by:Adam Borowski <kilobyte@angband.pl>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-
- Sep 05, 2017
-
-
Timofey Titovets authored
Signed-off-by:Timofey Titovets <nefelim4ag@gmail.com>
-