Commit Graph

  • 1ad9ffb482 util/nvmutil: include time.h after types.h Leah Rowe 2026-03-12 14:16:11 +00:00
  • 922344e81e util/nvmutil: mitigate fast calls to rand Leah Rowe 2026-03-12 14:13:55 +00:00
  • 53c5a40007 util/nvmutil: fallback randomiser Leah Rowe 2026-03-12 14:10:29 +00:00
  • 5ba0b98fbc util/nvmutil: correct install usage Leah Rowe 2026-03-12 13:58:38 +00:00
  • 35ba3aef91 util/nvmutil: fix makefile Leah Rowe 2026-03-12 13:56:47 +00:00
  • af1a219e40 util/nvmutil: remove errno extern Leah Rowe 2026-03-12 13:54:04 +00:00
  • 8269b05a63 util/nvmutil: use install -d instead of mkdir -p Leah Rowe 2026-03-12 13:53:02 +00:00
  • e931f66b99 util/nvmutil: fix comment Leah Rowe 2026-03-12 13:48:53 +00:00
  • fe630cba5e util/nvmutil: use chmod instead, in Makefile Leah Rowe 2026-03-12 13:43:20 +00:00
  • 478c994f34 util/nvmutil: add -m to install on Makefile Leah Rowe 2026-03-12 13:42:12 +00:00
  • ea4deb98b5 util/nvmutil: simplify flags on urandom Leah Rowe 2026-03-12 13:31:35 +00:00
  • 55e071c381 util/nvmutil: fix mistake in random check Leah Rowe 2026-03-12 13:28:18 +00:00
  • a9e5f9ef4f util/nvmutil: portable errno Leah Rowe 2026-03-12 13:25:13 +00:00
  • 87b74aadbc util/nvmutil: fix non-portable variable declaration Leah Rowe 2026-03-12 13:22:30 +00:00
  • 1184dcb05c util/nvmutil: disable urandom if not found Leah Rowe 2026-03-12 13:20:10 +00:00
  • 74f2d9a1f3 util/nvmutil: use ECANCELED on checksum err Leah Rowe 2026-03-12 13:10:10 +00:00
  • a40d14fcd6 util/nvmutil: don't use errno for program state Leah Rowe 2026-03-12 12:52:22 +00:00
  • a4f5061297 util/spkmodem-recv: code cleanup Leah Rowe 2026-03-12 07:13:42 +00:00
  • 2479633368 util/spkmodem-recv: optimise pulse check Leah Rowe 2026-03-12 05:31:00 +00:00
  • e23cecb496 util/spkmodem-recv: clearer pulse decoding Leah Rowe 2026-03-12 05:28:34 +00:00
  • 1d2ee1cabc util/spkmodem-recv: say what freq_sep/data are Leah Rowe 2026-03-12 05:25:24 +00:00
  • fcecb1229e util/spkmodem-recv: add a usage function Leah Rowe 2026-03-12 05:22:25 +00:00
  • 69fb0618cc util/spkmodem-recv: tidy up the getopt loop Leah Rowe 2026-03-12 05:20:09 +00:00
  • 65a6205dab util/spkmodem-recv: allow short sample reads Leah Rowe 2026-03-12 05:17:09 +00:00
  • 59f04eba9e util/spkmodem-recv: don't exit in print_stats Leah Rowe 2026-03-12 05:13:44 +00:00
  • 9ac0331595 util/spkmodem-recv: buffer calls to fread() Leah Rowe 2026-03-12 05:03:42 +00:00
  • 2c3d0b5a3e util/spkmodem-recv: make new pulse calculation clearer Leah Rowe 2026-03-12 04:59:42 +00:00
  • 62a496ec9e util/spkmodem-recv: tidy up pulse decoding Leah Rowe 2026-03-12 04:55:18 +00:00
  • 1953812efd util/spkmodem-recv: split up handle_audio() Leah Rowe 2026-03-12 04:53:05 +00:00
  • a31ccd8c3d util/spkmodem-recv: tidy up handle_audio Leah Rowe 2026-03-12 04:49:03 +00:00
  • 44c6b453bc util/spkmodem-recv: optimise ring buffer pos calc Leah Rowe 2026-03-12 04:44:44 +00:00
  • 54936a45a5 util/spkmodem-recv: don't use modulus on decode Leah Rowe 2026-03-12 04:39:00 +00:00
  • 19e0249a8a spkmodemrecv makefile: add -c to install Leah Rowe 2026-03-12 04:36:29 +00:00
  • 72eed0b12c util/spkmodem-recv: further portability / cleanup Leah Rowe 2026-03-12 04:21:13 +00:00
  • bbb8825553 util/nvmutil: further clean up decode_pulse() Leah Rowe 2026-03-11 23:40:34 +00:00
  • 42cad20ffd util/spkmodem-recv: tidy up frame decoding Leah Rowe 2026-03-11 23:34:43 +00:00
  • bf9c4a67f8 util/spkmodem-recv: handle fread errors Leah Rowe 2026-03-11 23:30:22 +00:00
  • 9195ff97b7 util/spkmodem-recv: fix getopt prototype Leah Rowe 2026-03-11 23:24:52 +00:00
  • 62c0cc68c5 removed some unnecessary things Leah Rowe 2026-03-11 23:14:51 +00:00
  • 361dbef41c another fix Leah Rowe 2026-03-11 23:13:33 +00:00
  • 7af3015a89 tiny fix Leah Rowe 2026-03-11 23:12:27 +00:00
  • 6962404ce5 util/spkmodem-recv: portability and code cleanup Leah Rowe 2026-03-11 22:35:46 +00:00
  • 977c83873e util/nvmutil: re-use do_rw() from prw() Leah Rowe 2026-03-10 18:20:47 +00:00
  • 5f8fe4fdc3 util/nvmutil: add missing sanitization tests Leah Rowe 2026-03-10 17:17:39 +00:00
  • 48f65abb01 util/nvmutil: properly use rc in rw_File_exact Leah Rowe 2026-03-10 16:57:46 +00:00
  • 9eb3895f4e util/nvmutil: tidy up gbe_cat_buf() Leah Rowe 2026-03-10 16:52:38 +00:00
  • 69cf4fe6ed util/nvmutil: split up rw_file_exact() Leah Rowe 2026-03-10 16:43:47 +00:00
  • 454af12153 util/nvmutil: update some comments Leah Rowe 2026-03-10 16:25:43 +00:00
  • 1403bdf1cc util/nvmutil: re-add EINTR loop check on rw Leah Rowe 2026-03-10 16:17:33 +00:00
  • f0240df229 util/nvmutil: rename set_err for code clarity Leah Rowe 2026-03-10 16:14:43 +00:00
  • c41483916a util/nvmutil: skip errno check in main Leah Rowe 2026-03-10 16:06:13 +00:00
  • 13c759bf3a util/nvmutil: don't reset errno in rw_file_exact Leah Rowe 2026-03-10 16:02:57 +00:00
  • 82dbeb9736 util/nvmutil: reset errno in gbe_cat Leah Rowe 2026-03-10 16:00:16 +00:00
  • 9ba84d1117 util/nvmutil: reset errno in gbe_cat_buf Leah Rowe 2026-03-10 15:58:57 +00:00
  • ca37bef34f util/nvmutil: fix bad loop in command sanitizer Leah Rowe 2026-03-10 15:55:05 +00:00
  • 9691e7e7db util/nvmutil: use set_err where appropriate Leah Rowe 2026-03-10 15:50:45 +00:00
  • 59eac512eb util/nvmutil: properly set errno everywhere Leah Rowe 2026-03-10 15:46:30 +00:00
  • 3174806b3f util/nvmutil: fix /dev/random fallback Leah Rowe 2026-03-10 15:38:30 +00:00
  • 318c0eb95b Revert "util/nvmutil: fix check in command sanitizer" Leah Rowe 2026-03-10 15:36:43 +00:00
  • 9b6b89250d util/nvmutil: don't use bad pointer cast in prw Leah Rowe 2026-03-10 15:33:50 +00:00
  • b28076557b util/nvmutil: fix check in command sanitizer Leah Rowe 2026-03-10 15:30:10 +00:00
  • 0b4e298cb1 util/nvmutil: use EINVAL in command sanitizen Leah Rowe 2026-03-10 15:29:23 +00:00
  • 4819dcbc75 util/nvmutil: don't use xopen() for urandom Leah Rowe 2026-03-10 15:21:55 +00:00
  • 9427285dce util/nvmutil: conservative use of errno Leah Rowe 2026-03-10 15:15:03 +00:00
  • 1f953359cb util/nvmutil: re-try /dev/[u]random on EAGAIN Leah Rowe 2026-03-10 15:12:12 +00:00
  • b291bbf2e5 util/nvmutil: Make rw_file_exact an ssize_t Leah Rowe 2026-03-10 15:03:16 +00:00
  • 4bc7ba1e4b util/nvmutil: use O_NONBLOCK on /dev/[u]random Leah Rowe 2026-03-10 14:25:43 +00:00
  • c953228bb0 util/nvmutil: fix possible overflow: gbe_x_offset Leah Rowe 2026-03-10 14:15:34 +00:00
  • 883860d687 util/nvmutil: reset rw_file_exact errno on EINTR Leah Rowe 2026-03-10 14:10:45 +00:00
  • 6eefd80efe util/nvmutil: comment prw() Leah Rowe 2026-03-10 14:07:35 +00:00
  • 06cb129530 util/nvmutil: better SSIZE_MAX define Leah Rowe 2026-03-10 13:42:43 +00:00
  • 79106c5b3d util/nvmutil: define EXIT_FAILURE/SUCCESS Leah Rowe 2026-03-10 13:34:40 +00:00
  • adfe865afc util/nvmutil: more sensible errno init Leah Rowe 2026-03-10 13:32:29 +00:00
  • 4202ded96c util/nvmutil: proper errno status on prw() Leah Rowe 2026-03-10 13:21:34 +00:00
  • ee751c27ed util/nvmutil: reset errno if EINTR on lseek Leah Rowe 2026-03-10 12:32:42 +00:00
  • bbe6de44e8 util/nvmutil: stricter errno on prw() Leah Rowe 2026-03-10 11:24:11 +00:00
  • 5603fa51d2 util/nvmutil: fix printf c89/c90 specifiers Leah Rowe 2026-03-10 11:15:43 +00:00
  • 7431046ea6 util/nvmutil: reset part_valid Leah Rowe 2026-03-10 11:08:42 +00:00
  • 632c85ce1c util/nvmutil: restore errno if lseek resets it Leah Rowe 2026-03-10 11:06:31 +00:00
  • 8d156bcf35 util/nvmutil: fix another printf specifier Leah Rowe 2026-03-10 11:02:39 +00:00
  • fa859d80d5 util/nvmutil: fix bad print specifier (c90) Leah Rowe 2026-03-10 10:58:41 +00:00
  • 6778a4ed98 util/nvmutil: only inc num_invalid on bad checksum Leah Rowe 2026-03-10 10:56:56 +00:00
  • e3e02fa657 util/nvmutil: restore errno on failed offset restore Leah Rowe 2026-03-10 10:53:11 +00:00
  • 6408570fa1 util/nvmutil: don't leave part_valid untouched Leah Rowe 2026-03-10 10:48:16 +00:00
  • 090a702b74 util/nvmutil: remove unused st variable Leah Rowe 2026-03-10 10:44:27 +00:00
  • cbd7ad13a3 util/nvmutil: check whether a file is a file Leah Rowe 2026-03-10 10:35:51 +00:00
  • 91a6395e5c util/nvmutil: preserve errno during i/o Leah Rowe 2026-03-10 10:26:12 +00:00
  • 5a005eff9e util/nvmutil prw: always restore original offset Leah Rowe 2026-03-10 10:24:16 +00:00
  • 890d1a2ff6 util/nvmutil: err if file offset fails Leah Rowe 2026-03-10 10:18:25 +00:00
  • b56cfbcc54 util/nvmutil: fix buffer overread in prw() Leah Rowe 2026-03-10 10:14:25 +00:00
  • 19ee28161e util/nvmutil: fix rc overflow bug in rw_file_exact Leah Rowe 2026-03-10 10:00:20 +00:00
  • 6d27853f56 util/nvmutil: use C90 instead of C99 Leah Rowe 2026-03-10 09:25:27 +00:00
  • f2d982e9b3 util/nvmutil: define O_BINARY flag Leah Rowe 2026-03-10 09:17:45 +00:00
  • 630852b7be util/nvmutil: fix indent on ifdefs Leah Rowe 2026-03-10 09:15:55 +00:00
  • e9a593b2c0 util/nvmutil: define SIZE_MAX if not defined Leah Rowe 2026-03-10 09:10:43 +00:00
  • 7620d1d126 util/nvmutil: remove arc4random for portability Leah Rowe 2026-03-10 09:07:15 +00:00
  • 21f8d323f4 util/nvmutil: portable pread/pwrite Leah Rowe 2026-03-10 09:04:20 +00:00
  • 5ae5d53751 wip Leah Rowe 2026-03-10 08:44:56 +00:00
  • edb1508a59 util/nvmutil: more reliable stdint.h check Leah Rowe 2026-03-10 08:26:20 +00:00
  • 2a20251ad6 util/nvmutil: reset errno before run_cmd Leah Rowe 2026-03-10 07:12:55 +00:00