Commit Graph

  • f0f2e03476 util/nvmutil rw: make off_reset a toggle Leah Rowe 2026-03-14 23:17:53 +00:00
  • d62780948f util/nvmutil: rw_file_exact: explicit casts Leah Rowe 2026-03-14 23:10:20 +00:00
  • 1583947625 util/nvmutil: fix potential overflow in rw Leah Rowe 2026-03-14 22:50:06 +00:00
  • e4802d4013 util/nvmutil: rw file: guard rc before addition Leah Rowe 2026-03-14 22:43:22 +00:00
  • 37526fc1c1 nvmutil: toggle for fd thread-safety err state Leah Rowe 2026-03-14 22:38:56 +00:00
  • 1d4a57ab26 util/nvmutil: clean up pwrite/pread case Leah Rowe 2026-03-14 22:25:34 +00:00
  • 6d338e1fa4 util/nvmutil: partially mitigate fd offset race Leah Rowe 2026-03-14 22:11:32 +00:00
  • 291c8a9a8b util/nvmutil: tidy up rw_file_exact Leah Rowe 2026-03-14 22:01:06 +00:00
  • fe9900e7a1 comment Leah Rowe 2026-03-14 21:57:06 +00:00
  • a78e156346 util/nvmutil: cleanup Leah Rowe 2026-03-14 21:43:45 +00:00
  • 4558993df4 nope, use size_t Leah Rowe 2026-03-14 21:36:42 +00:00
  • ddd300493b util/nvmutil: use ulong on ptr casts Leah Rowe 2026-03-14 21:33:22 +00:00
  • 2de5c6332e util/nvmutil: remove rw_file_once Leah Rowe 2026-03-14 21:30:20 +00:00
  • 3b9761fbed util/nvmutil: move looping logic to rw_file_exact Leah Rowe 2026-03-14 21:21:31 +00:00
  • c825d80198 nvmutil: move increment logic to rw_file_exact Leah Rowe 2026-03-14 21:06:20 +00:00
  • 4a3951a4d9 nvmutil: fix redundant check Leah Rowe 2026-03-14 19:18:23 +00:00
  • a3354d2598 util/nvmutil: cast gbe file size on ptr cmp Leah Rowe 2026-03-14 19:15:59 +00:00
  • 1606f79c74 util/nvmutil: even safer pointer comparison Leah Rowe 2026-03-14 19:13:12 +00:00
  • b88c81869b util/nvmutil: safer pointer comparison Leah Rowe 2026-03-14 19:09:34 +00:00
  • 5b4168c763 util/nvmutil: enable arc4random on linux Leah Rowe 2026-03-14 18:57:40 +00:00
  • 8ccdde57e1 util/nvmutil: re-add arc4random Leah Rowe 2026-03-14 18:52:53 +00:00
  • 94632f3394 util/nvmutil: 5 retries, not 10 Leah Rowe 2026-03-14 18:31:16 +00:00
  • 3c42608d6d util/nvmutil: check if gbe.bin is seekable Leah Rowe 2026-03-14 18:27:34 +00:00
  • 5f6038af5d util/nvmutil: check inode during post-verify Leah Rowe 2026-03-14 18:24:53 +00:00
  • 30e953dc8f util/nvmutil: warn about gbe.bin hard links Leah Rowe 2026-03-14 18:23:52 +00:00
  • b8246acf19 util/nvmutil: guard file replacement attacks Leah Rowe 2026-03-14 18:21:44 +00:00
  • e162d63ae6 util/nvmutil: guard against unlinking file Leah Rowe 2026-03-14 18:19:25 +00:00
  • 7eadaf2894 util/nvmutil: don't use /dev/urandom Leah Rowe 2026-03-14 18:11:48 +00:00
  • 64389b696b util/nvmutil: fix file check Leah Rowe 2026-03-14 18:02:11 +00:00
  • c5c629d776 util/nvmutil: fix cast check Leah Rowe 2026-03-14 17:58:06 +00:00
  • ec98e3143c util/nvmutil: more aggressive file checking Leah Rowe 2026-03-14 17:57:13 +00:00
  • b231e28c93 util/nvmutil: prevent overflow in rw_file_exact Leah Rowe 2026-03-14 17:49:18 +00:00
  • 9ca9b54828 util/nvmutil: verify final offset in pwrite/pread Leah Rowe 2026-03-14 17:47:53 +00:00
  • b86f415a3e util/nvmutil: check regular file in rw_file_exact Leah Rowe 2026-03-14 17:45:06 +00:00
  • d34552b400 util/nvmutil: fix if (PWRITE) Leah Rowe 2026-03-14 16:16:55 +00:00
  • 0612798ecf util/nvmutil: don't check o_append in prw Leah Rowe 2026-03-14 16:13:48 +00:00
  • 026cbacbe2 util/nvmutil: configurable eintr/eagain Leah Rowe 2026-03-14 16:04:56 +00:00
  • 2eb045927b util/nvmutil: configurable retries/pread Leah Rowe 2026-03-14 16:01:19 +00:00
  • 72365f6447 util/nvmutil: support real pwrite/pread Leah Rowe 2026-03-14 15:52:10 +00:00
  • c27dedfeea util/nvmutil: better commented I/O functions Leah Rowe 2026-03-14 15:33:38 +00:00
  • 33fa991141 util/nvmutil: make eintr/eagain setup clearer Leah Rowe 2026-03-14 15:07:12 +00:00
  • caebecf6c6 nvmutil: fix rval in close_files Leah Rowe 2026-03-14 07:26:45 +00:00
  • 0867507fc8 util/nvmutil: don't check write checksums on partial Leah Rowe 2026-03-14 07:24:37 +00:00
  • 3fba84ad95 util/nvmutil: don't recurse err/close_files Leah Rowe 2026-03-14 07:20:50 +00:00
  • 897c7490b5 util/nvmutil: restore pad before reading to it Leah Rowe 2026-03-14 06:40:21 +00:00
  • bae8999b80 util/nvmutil: don't show checksum on bad pwrite Leah Rowe 2026-03-14 06:33:25 +00:00
  • 6c29a07ca0 util/nvmutil: always restore saved errno Leah Rowe 2026-03-14 06:21:58 +00:00
  • a12f502af8 util/nvmutil: post-write verification report Leah Rowe 2026-03-14 05:44:57 +00:00
  • 2f80ac76ae util/nvmutil: optimise fsync / write check Leah Rowe 2026-03-14 04:47:28 +00:00
  • 7c73218438 util/nvmutil: set EIO on bad memcmp Leah Rowe 2026-03-14 04:06:29 +00:00
  • 3f17cd3ebc util/nvmutil: split up rw_gbe_file_part Leah Rowe 2026-03-14 03:55:12 +00:00
  • df18e65835 util/nvmutil: detect partial gbe rw Leah Rowe 2026-03-14 03:29:01 +00:00
  • fe16b79537 util/nvmutil: verify gbe contents after writing Leah Rowe 2026-03-14 03:24:19 +00:00
  • ce13599b99 util/nvmutil: consistent types Leah Rowe 2026-03-14 02:48:19 +00:00
  • 637d9a09c0 util/nvmutil: handle zero return in rw_file_exact Leah Rowe 2026-03-14 01:18:57 +00:00
  • 0cceb58867 util/nvmutil: rename lseek_eintr Leah Rowe 2026-03-14 01:04:03 +00:00
  • 8a7d73c223 util/nvmutil: fix lseek eintr err check Leah Rowe 2026-03-14 01:03:18 +00:00
  • 100cb2014e util/nvmutil: rename err_eagain() to try_err() Leah Rowe 2026-03-14 00:59:28 +00:00
  • b345caa25c util/nvmutil: make EINTR configurable in prw() Leah Rowe 2026-03-14 00:55:50 +00:00
  • 4a5a3bae45 util/nvmutil: tidy up prw() Leah Rowe 2026-03-14 00:40:00 +00:00
  • fe959f9fb8 util/nvmutil: extra overflow check in prw Leah Rowe 2026-03-14 00:12:10 +00:00
  • b60c42dcd0 util/nvmutil: extra overflow check in prw Leah Rowe 2026-03-14 00:02:57 +00:00
  • 742b39be8c util/nvmutil: handle EAGAIN in prw() Leah Rowe 2026-03-13 23:54:31 +00:00
  • 7e8f375d9a util/nvmutil: split up rw_file_exact Leah Rowe 2026-03-13 23:34:41 +00:00
  • e71f977468 util/nvmutil: add negative off check to prw Leah Rowe 2026-03-13 23:22:21 +00:00
  • fb57cedded util/nvmutil: also do libc check on normal io Leah Rowe 2026-03-13 23:18:06 +00:00
  • 2a83a8ec43 util/nvmutil: properly reset lseek on error Leah Rowe 2026-03-13 23:02:26 +00:00
  • 935d082a51 util/nvmutil: move libc check to prw() Leah Rowe 2026-03-13 22:59:48 +00:00
  • 07fa9bbc1f util/nvmutil: remove io_args() Leah Rowe 2026-03-13 22:53:17 +00:00
  • 4bb64c8d37 util/nvmutil: move EINTR handle to prw() Leah Rowe 2026-03-13 22:45:28 +00:00
  • 223932c5f8 util/nvmutil: simplify i/o Leah Rowe 2026-03-13 22:16:09 +00:00
  • 8071d7eaa8 util/nvmutil: cast rnum pointer check Leah Rowe 2026-03-13 21:03:06 +00:00
  • 74077f9903 util/nvmutil: allow ushort to be 32-bit Leah Rowe 2026-03-13 19:52:18 +00:00
  • 4c0ec27b4e util/nvmutil: fix int assert Leah Rowe 2026-03-13 19:45:55 +00:00
  • dc6df36fe5 util/nvmutil: more asserts Leah Rowe 2026-03-13 19:43:44 +00:00
  • 23fee345fd util/nvmutil: nicer typedefs Leah Rowe 2026-03-13 19:42:00 +00:00
  • 9cfae27bf4 util/nvmutil: remove stdint feature macro Leah Rowe 2026-03-13 19:30:15 +00:00
  • 888107764d util/nvmutil: safer offset check (use subtraction) Leah Rowe 2026-03-13 17:56:18 +00:00
  • abc484713a util/nvmutil: check null pointer in io_args Leah Rowe 2026-03-13 17:53:19 +00:00
  • e1cd978f01 util/nvmutil: check overflow in io_args Leah Rowe 2026-03-13 17:52:23 +00:00
  • 5f8593b581 util/nvmutil: fix offset validation Leah Rowe 2026-03-13 17:39:48 +00:00
  • 6ad09f55e0 util/nvmutil: restrict pointers in io_args Leah Rowe 2026-03-13 17:19:05 +00:00
  • 8e555f444c util/nvmutil: check gbe file type before write Leah Rowe 2026-03-13 16:20:30 +00:00
  • 47936f52e9 util/nvmutil: check gbe file size before write Leah Rowe 2026-03-13 16:17:05 +00:00
  • 551470cf6f util/nvmutil: lock gbe file Leah Rowe 2026-03-13 15:48:18 +00:00
  • afcdae1350 util/nvmutil: don't allow symlinks Leah Rowe 2026-03-13 15:42:00 +00:00
  • 98466398f9 nvmutil: fix bound check in last commit Leah Rowe 2026-03-13 15:30:58 +00:00
  • e44b297db5 util/nvmutul: remove unused arg in io_args Leah Rowe 2026-03-13 15:23:31 +00:00
  • 83f67bf02a util/nvmutil: block bad offset in io_args Leah Rowe 2026-03-13 15:20:00 +00:00
  • 14ab4c1b25 util/nvmutil: stricter i/o arg checks Leah Rowe 2026-03-13 15:15:10 +00:00
  • 386f715a29 util/nvmutil: stricter i/o length check Leah Rowe 2026-03-13 15:06:29 +00:00
  • d8be79432c util/nvmutil: rename len to nrw in i/o Leah Rowe 2026-03-13 14:48:52 +00:00
  • 5ece694e67 util/nvmutil: tidy up prw() Leah Rowe 2026-03-13 14:41:36 +00:00
  • 3e08c0724b util/nvmutil: block O_APPEND in prw() Leah Rowe 2026-03-13 14:29:37 +00:00
  • 7836a2bbc6 util/nvmutil: stricter i/o errors Leah Rowe 2026-03-13 14:25:31 +00:00
  • 0c9bcaaba8 util/nvmutil: fix entropy issue Leah Rowe 2026-03-13 14:10:10 +00:00
  • 475c50932e nvmutil: cast integer in printf Leah Rowe 2026-03-13 14:03:56 +00:00
  • 6f26bd5db7 TODO Leah Rowe 2026-03-13 14:00:43 +00:00
  • 1abc40997f util/nvmutil: check defines/enum via assert Leah Rowe 2026-03-13 13:47:00 +00:00
  • 435b67327e util/nvmutil: r_type check in rw_gbe_file_part Leah Rowe 2026-03-13 13:12:51 +00:00