Commit Graph

  • 292f504524 nvmutil: stronger entropy_jitter() Leah Rowe 2026-03-16 22:09:26 +00:00
  • 464fb5c0d8 util/nvmutil: don't use strcpy Leah Rowe 2026-03-16 22:05:00 +00:00
  • cf8cb4bdcc util/nvmutil: check fd path in try_fdpath Leah Rowe 2026-03-16 22:02:17 +00:00
  • ab8929808f util/nvmutil: add bound check to x_try_fdpath Leah Rowe 2026-03-16 21:53:30 +00:00
  • 8911d2c1dd another comment Leah Rowe 2026-03-16 21:51:01 +00:00
  • c6ae1d5ea2 comment Leah Rowe 2026-03-16 21:46:06 +00:00
  • 6e6ab09cb0 cleanup (fix potential overflow in mkstemp) Leah Rowe 2026-03-16 21:17:25 +00:00
  • 47a654a870 fsync_dir: abort if path length is empty Leah Rowe 2026-03-16 21:15:01 +00:00
  • d0a125c16d nvmutil: prevent theoretical overflow on time() Leah Rowe 2026-03-16 21:13:13 +00:00
  • 28820d169c also O_NOFOLLOW Leah Rowe 2026-03-16 21:09:05 +00:00
  • 1207b1bb72 util/nvmutil: dir fsync with O_DIRECTORY Leah Rowe 2026-03-16 21:07:49 +00:00
  • ddb0bc314d util/nvmutil: fix mkstemp randomness Leah Rowe 2026-03-16 21:06:15 +00:00
  • b951ef2433 cast Leah Rowe 2026-03-16 21:01:33 +00:00
  • 251ba82ccb util/nvmutil: more reliable fallback crypto Leah Rowe 2026-03-16 20:53:46 +00:00
  • a575a47733 util/nvmutil: use real rename() syscall Leah Rowe 2026-03-16 19:56:53 +00:00
  • 8e2921f1ce nvmutil: harden against hardlink attacks Leah Rowe 2026-03-16 18:41:03 +00:00
  • 4871f4fda7 redundancy Leah Rowe 2026-03-16 18:38:21 +00:00
  • 0237c9c9c6 util/nvmutil: loop EINTR on fsync Leah Rowe 2026-03-16 18:35:35 +00:00
  • 5ce5ac2994 pointer safety Leah Rowe 2026-03-16 18:28:36 +00:00
  • 7b62a1653b don't use PATH_MAX Leah Rowe 2026-03-16 18:22:29 +00:00
  • 1883325cd0 macro safety Leah Rowe 2026-03-16 18:19:42 +00:00
  • 2b3966feba util/nvmutil: portable S_IFMT Leah Rowe 2026-03-16 18:18:44 +00:00
  • 7650ab051f util/nvmutil: remove integer typedefs Leah Rowe 2026-03-16 18:14:53 +00:00
  • 445e96aefc util/nvmutil: remove global statics Leah Rowe 2026-03-16 18:11:30 +00:00
  • 28a499e556 util/nvmutil: fix unveil usage Leah Rowe 2026-03-16 17:30:03 +00:00
  • 96dde65d16 util/nvmutil: proper /dev/fd search in fchmod Leah Rowe 2026-03-16 17:11:08 +00:00
  • 120241f1cf util/nvmutil: tidy up makefile options Leah Rowe 2026-03-16 16:59:17 +00:00
  • c46a634288 nope. put -Werror in the makefile Leah Rowe 2026-03-16 16:56:01 +00:00
  • 71ce22a938 nvmutil makefile: define WERROR but blank it Leah Rowe 2026-03-16 16:54:17 +00:00
  • af40114be7 util/nvmutil: portable fchmod Leah Rowe 2026-03-16 16:52:28 +00:00
  • a0fd201b31 Revert "util/nvmutil: don't use fsync()" Leah Rowe 2026-03-16 16:39:59 +00:00
  • e6b53e8aed util/nvmutil: longer string in mkstemp Leah Rowe 2026-03-16 16:37:07 +00:00
  • ad5a4771bf util/nvmutil: don't use mktemp Leah Rowe 2026-03-16 16:35:06 +00:00
  • f365969d34 util/nvmutil: don't declare libc prototypes Leah Rowe 2026-03-16 16:30:44 +00:00
  • 5927c175df util/nvmutil: portable memcpy/memcmp Leah Rowe 2026-03-16 16:27:56 +00:00
  • 612783bc24 util/nvmutil: more portable close() Leah Rowe 2026-03-16 16:21:07 +00:00
  • 26d8807b79 util/nvmutil: more secure tmpdir() Leah Rowe 2026-03-16 16:19:27 +00:00
  • 1ce06b01e0 util/nvmutil: fix O_NONBLOCK fallback Leah Rowe 2026-03-16 16:16:58 +00:00
  • 15cbafe20b util/nvmutil: more secure mkstemp Leah Rowe 2026-03-16 16:12:02 +00:00
  • 24c4e715e6 util/nvmutil: more reliable TMPDIR handling Leah Rowe 2026-03-16 16:10:25 +00:00
  • 0e0fcd5a81 util/nvmutil: don't use fsync() Leah Rowe 2026-03-16 16:04:41 +00:00
  • 4233f76fee util/nvmutil: more portable functtions Leah Rowe 2026-03-16 16:00:49 +00:00
  • 64835e67fd util/nvmutil: add portable malloc extern Leah Rowe 2026-03-16 15:50:52 +00:00
  • 0043446f60 util/nvmutil: don't use size_t/ssize_t Leah Rowe 2026-03-16 15:46:19 +00:00
  • a8fe2c79db util/nvmutil: don't use SSIZE_MAX (not portable) Leah Rowe 2026-03-16 15:43:06 +00:00
  • 6c37d2aa4b util/nvmutil: typeset size_t explicitly Leah Rowe 2026-03-16 15:40:05 +00:00
  • ae43dc391f util/nvmutil: run-time CHAR_BIT test Leah Rowe 2026-03-16 15:36:10 +00:00
  • ab806d2546 util/nvmutil: lower default PATH_LEN Leah Rowe 2026-03-16 15:34:28 +00:00
  • 9bdd91131d util/nvmutil: portable struct timeval Leah Rowe 2026-03-16 15:33:02 +00:00
  • ea71010f85 util/nvmutil: portable S_ISREG Leah Rowe 2026-03-16 15:23:20 +00:00
  • 6a898dff72 mktemp prototype Leah Rowe 2026-03-16 15:22:28 +00:00
  • ff458943c3 util/nvmutil: portable gettimeofday Leah Rowe 2026-03-16 15:21:59 +00:00
  • e9d90e8aca util/nvmutil: use portable mkstemp Leah Rowe 2026-03-16 15:15:53 +00:00
  • 2a6a63fef3 util/nvmutil: better urandom portability Leah Rowe 2026-03-16 15:10:49 +00:00
  • 609076d98b util/nvmutil: use local tmpfile on openbsd Leah Rowe 2026-03-16 14:56:11 +00:00
  • 381b7e3abb util/nvmutil: /dev/random fallback Leah Rowe 2026-03-16 14:47:55 +00:00
  • d7dea02fba add -I. to nvmutil makefile Leah Rowe 2026-03-15 23:28:44 +00:00
  • 5b8ea71bbd re-add strict flags Leah Rowe 2026-03-15 23:27:49 +00:00
  • e795e42f66 also remove -Wextra Leah Rowe 2026-03-15 21:32:22 +00:00
  • 7f14693e6c util/nvmutil: more portable Makefile Leah Rowe 2026-03-15 21:30:16 +00:00
  • 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