Commit Graph

  • 824fade5e9 util/nvmuttil: don't use arc4random Leah Rowe 2026-03-15 21:09:33 +00:00
  • 04b215dd6d util/nvmutil: re-enable urandom reads Leah Rowe 2026-03-15 20:53:06 +00:00
  • b4b194f94c util/nvmutil: remove arc4random on linux Leah Rowe 2026-03-15 20:23:56 +00:00
  • 5d8b19fb75 util/nvmutil: fix cat Leah Rowe 2026-03-15 20:20:19 +00:00
  • af7ab6f786 util/nvmutil: double-verify r/w using tmp files Leah Rowe 2026-03-15 06:26:30 +00:00
  • 1556ca7173 nvmutil: use O_CLOEXEC on gbe files Leah Rowe 2026-03-15 02:22:54 +00:00
  • 0d6bb8d747 util/nvmutil: fix verified first, in prw loop Leah Rowe 2026-03-15 02:14:23 +00:00
  • 31835eb8e3 set errno Leah Rowe 2026-03-15 02:07:12 +00:00
  • 4b667f0d19 util/nvmutil: stricter return in pread Leah Rowe 2026-03-15 01:59:45 +00:00
  • 572f00e7b7 no, break instead Leah Rowe 2026-03-15 01:52:06 +00:00
  • d890a6b138 util/nvmutil pread: rw_over_nrw exit, not set Leah Rowe 2026-03-15 01:45:23 +00:00
  • 7f192b4344 nvmutil: stronger race-condition check on prw Leah Rowe 2026-03-15 01:43:35 +00:00
  • a050e5a563 util/nvmutil: fix theoretical buffer overflow Leah Rowe 2026-03-15 01:14:29 +00:00
  • 8d81e8f68b util/nvmutil: prevent underflow in comparison Leah Rowe 2026-03-15 01:06:36 +00:00
  • d148985e61 comment Leah Rowe 2026-03-15 01:01:10 +00:00
  • b09f52547f util/nvmutil: extra race-condition check in prw Leah Rowe 2026-03-15 00:49:57 +00:00
  • 8c0946e9ba util/nvmutil: safer xstrxcmp() - overflow fix Leah Rowe 2026-03-15 00:30:12 +00:00
  • 02dcee0bf7 phrasing Leah Rowe 2026-03-15 00:26:51 +00:00
  • 66a9166004 util/nvmutil: stricter rw_gbe_file_exact Leah Rowe 2026-03-15 00:23:23 +00:00
  • 210f17b9d7 cast Leah Rowe 2026-03-15 00:20:49 +00:00
  • 7530881adc comment Leah Rowe 2026-03-15 00:17:12 +00:00
  • 2c66b813ef util/nvmutil: stricter lseep_loop return offset Leah Rowe 2026-03-15 00:13:45 +00:00
  • 00f92b33e1 util/nvmutil: only use srand on fallback rand Leah Rowe 2026-03-15 00:07:34 +00:00
  • 0ff1cac40c nvmutil: add missing check to io_args Leah Rowe 2026-03-15 00:02:56 +00:00
  • 4b69645c88 util/nvmutil: add flock to pledge promises Leah Rowe 2026-03-14 23:59:56 +00:00
  • 46bbb4d8e4 util/nvmutil: tidy up io_args Leah Rowe 2026-03-14 23:48:27 +00:00
  • 402f5cacbd util/nvmutil: tidy up err() Leah Rowe 2026-03-14 23:43:08 +00:00
  • 2d46837475 util/nvmutil: re-add io_args() Leah Rowe 2026-03-14 23:35:24 +00:00
  • 7263125d60 util/nvmutil: rw_file_exact: check inputs also Leah Rowe 2026-03-14 23:29:11 +00:00
  • a89747a5c8 util/nvmutil: rw_over_nrw: err if nrw is zero Leah Rowe 2026-03-14 23:26:54 +00:00
  • 13006f2516 util/nvmutil: rw: safer bound check Leah Rowe 2026-03-14 23:23:01 +00:00
  • 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