Commit Graph

  • 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
  • d2cd126775 util/nvmutil: explicitly check cmd nullptr Leah Rowe 2026-03-10 07:05:34 +00:00
  • 978c30a961 util/nvmutil: safer SSIZE_MAX define Leah Rowe 2026-03-10 06:55:04 +00:00
  • a6d0146a3b util/nvmutil: fix a bad cast (or lack thereof) Leah Rowe 2026-03-10 06:53:39 +00:00
  • e26511c8b8 util/nvmutil: err if unsupported rw_type on i/o Leah Rowe 2026-03-10 06:51:47 +00:00
  • 0a55f286c1 util/nvmutil: rename badly named off_t assert Leah Rowe 2026-03-10 06:43:13 +00:00
  • 0f035e208e util/nvmutil: assert two's compliment integers Leah Rowe 2026-03-10 06:35:17 +00:00
  • 6392eb18b6 util/nvmutil: add assert for int Leah Rowe 2026-03-10 06:31:04 +00:00
  • 83f3a059b9 util/nvmutil: add assert for off_t Leah Rowe 2026-03-10 06:30:52 +00:00
  • 6ad7eaef32 Revert "util/nvmutil: don't use zx printf specifier" Leah Rowe 2026-03-10 06:18:29 +00:00
  • 90fada0a23 util/nvmutil: explain errval handling in err() Leah Rowe 2026-03-10 06:17:04 +00:00
  • 2fda988da6 util/nvmutil: make rc size_t (not ssize_t) Leah Rowe 2026-03-10 06:11:31 +00:00
  • ba3cf14faa util/nvmutil: don't use zx printf specifier Leah Rowe 2026-03-10 06:09:56 +00:00
  • 2f1f129753 util/nvmutil: add portable asserts for integers Leah Rowe 2026-03-10 06:07:21 +00:00
  • 9747ca4151 util/nvmutil: abort if I/O len exceeds SSIZE_MAX Leah Rowe 2026-03-10 05:33:12 +00:00
  • 93a4ec3497 util/nvmutil: annotate the prototypes Leah Rowe 2026-03-10 05:11:32 +00:00
  • f53a8d4f18 util/nvmutil: unified gbe file part I/O Leah Rowe 2026-03-10 04:56:23 +00:00
  • baca2d8883 util/nvmutil: remove stale define Leah Rowe 2026-03-10 04:20:55 +00:00
  • 80f3aac62d util/nvmutil: unified I/O: stdout, urandom and gbe Leah Rowe 2026-03-10 04:02:28 +00:00
  • 6402a0fbe9 util/nvmutil: unified urandom/gbe file reading Leah Rowe 2026-03-10 03:08:09 +00:00
  • 4131402589 util/nvmutil: safer read_gbe_file_exact Leah Rowe 2026-03-10 02:32:13 +00:00
  • 0c23474322 util/nvmutil: report checksum in cmd_dump Leah Rowe 2026-03-10 01:51:18 +00:00
  • 84a9e8f89b util/nvmutil: reduce checksum report verbosity Leah Rowe 2026-03-10 01:38:22 +00:00
  • 007dece09e util/nvmutil: unified io flags Leah Rowe 2026-03-10 01:29:12 +00:00
  • bb9010fdc1 util/nvmutil: require good checksum on cat Leah Rowe 2026-03-10 01:02:45 +00:00
  • 08b1d95874 util/nvmutil: initialise w in gbe_cat_buf Leah Rowe 2026-03-10 00:53:53 +00:00
  • 8f3bc13ac5 util/nvmutil: simplify the cat command Leah Rowe 2026-03-10 00:46:18 +00:00
  • aa67cf087d util/nvmutil: add cat16 and cat128 commands Leah Rowe 2026-03-09 23:40:27 +00:00
  • 66f1640552 util/nvmutil: nope. rename out back to cat. Leah Rowe 2026-03-09 22:54:38 +00:00
  • 724c9bb36c util/nvmutil: rename cat to out Leah Rowe 2026-03-09 22:34:28 +00:00
  • 3d6e2637d6 util/nvmutil: remove stale comment Leah Rowe 2026-03-09 22:25:39 +00:00
  • 1e45d19f5d util/nvmutil: added a "cat" command Leah Rowe 2026-03-09 21:59:34 +00:00
  • 7d64b8ea8d util/nvmutil: allow dump without good checksums Leah Rowe 2026-03-09 21:41:14 +00:00
  • 45ea92a077 util/nvmutil: fix bad cast conversion Leah Rowe 2026-03-09 21:12:59 +00:00
  • b5af1bf3ac util/nvmutil: add guard in rhex() Leah Rowe 2026-03-09 21:08:36 +00:00
  • f8ddb6ef84 util/nvmutil: fix EINTR detection on urandom read Leah Rowe 2026-03-09 21:02:33 +00:00
  • c59b3b7638 util/nvmutil: reorder some functions linearly Leah Rowe 2026-03-09 20:47:45 +00:00
  • 0f9ce929b4 util/nvmutil: tidy up gbe/urandom reading Leah Rowe 2026-03-09 20:22:09 +00:00
  • 1f4ab21403 util/nvmutil: fix a bad comment Leah Rowe 2026-03-09 18:11:34 +00:00
  • 61968ec2b9 util/nvmutil: explicitly reset file descriptors Leah Rowe 2026-03-09 17:53:56 +00:00
  • b69863e51f util/nvmutil: fix indentation in rhex() Leah Rowe 2026-03-09 17:46:46 +00:00
  • cd63f1a7f3 util/nvmutil: remove unused variable in rhex Leah Rowe 2026-03-09 17:45:50 +00:00
  • 646e349893 util/nvmutil: fix bsd build issue Leah Rowe 2026-03-09 17:44:48 +00:00
  • 85cc3071bb util/nvmutil: even safer rhex() Leah Rowe 2026-03-09 17:41:29 +00:00
  • b2a3edd170 util/nvmutil: only check n in rhex on linux Leah Rowe 2026-03-09 17:33:23 +00:00
  • 8f719f80b8 util/nvmutil: safer calculated_checksum Leah Rowe 2026-03-09 17:07:53 +00:00
  • 61015dbc6c util/nvmutil: much safer rhex() Leah Rowe 2026-03-09 17:00:58 +00:00
  • f34d020a20 util/nvmutil: tidy up hexdump() Leah Rowe 2026-03-09 16:54:42 +00:00
  • d3b567edcf util/nvmutil: assert uint16_t as 16-bits Leah Rowe 2026-03-09 16:43:54 +00:00
  • afebfe7389 util/nvmutil: safer cast in nvm_word Leah Rowe 2026-03-09 16:41:40 +00:00
  • 2d4567238a util/nvmutil: define _FILE_OFFSET_BITS Leah Rowe 2026-03-09 16:34:59 +00:00
  • 48b8be7a24 util/nvmutil: include sys/types.h Leah Rowe 2026-03-09 16:33:13 +00:00
  • 31bd21a466 util/nvmutil: use even older define for pread Leah Rowe 2026-03-09 16:29:05 +00:00
  • 8fc0f4fa07 util/nvmutil: tidied up a comment Leah Rowe 2026-03-09 15:32:26 +00:00
  • 681967c386 util/nvmutil: don't include not-needed inttypes.h Leah Rowe 2026-03-09 15:30:03 +00:00
  • 2773736dfc util/nvmutil: reset errno on urandom partial read Leah Rowe 2026-03-09 15:00:52 +00:00
  • 62964b42ed util/nvmutil: consistent file location on err() Leah Rowe 2026-03-09 14:47:33 +00:00
  • f2a5f2de45 move nvmutil .gitignore rules to util/nvmutil/ Leah Rowe 2026-03-09 14:38:21 +00:00
  • 7e0b052412 util/nvmutil: remove empty ChangeLog/README Leah Rowe 2026-03-09 14:35:44 +00:00
  • f05a273cb4 util/nvmutil: clean up the Makefile Leah Rowe 2026-03-09 14:33:21 +00:00
  • 3f566d3250 util/nvmutil: tidy up the main comment header Leah Rowe 2026-03-09 14:32:15 +00:00
  • 4fd6bdc4ef util/nvmutil: say what the program does! Leah Rowe 2026-03-09 07:03:55 +00:00
  • f266e2a16c util/nvmutil: standardised Makefile (add all) Leah Rowe 2026-03-09 06:46:12 +00:00
  • c96254be8b util/nvmutil: Makefile cleanup Leah Rowe 2026-03-09 06:34:57 +00:00
  • 6a4ad68273 util/nvmutil: add phone section to Makefile Leah Rowe 2026-03-09 06:33:52 +00:00
  • ec1e6bd7e8 util/nvmutil: safer / more portable install Leah Rowe 2026-03-09 06:31:52 +00:00
  • 1446df01f2 util/nvmutil: create install dir in Makefile Leah Rowe 2026-03-09 06:30:14 +00:00
  • 9f75a23a84 util/nvmutil: fix target in Makefile Leah Rowe 2026-03-09 06:28:50 +00:00
  • d0bf316edf util/nvmutil: directly compare fd/urandom_fd Leah Rowe 2026-03-09 06:24:22 +00:00
  • dbc7fadcbc util/nvmutil: allow partial reads of /dev/urandom Leah Rowe 2026-03-09 06:00:41 +00:00
  • e092b2ce0b util/nvmutil: explicit cast in nvm_word Leah Rowe 2026-03-09 05:31:51 +00:00
  • 3b73ea4288 util/nvmutil: clarify CFLAGS in code Leah Rowe 2026-03-09 05:25:58 +00:00
  • 3b188b4d2b util/nvmutil: specifically enable -std=c99 Leah Rowe 2026-03-09 05:16:57 +00:00
  • 532d723ccd util/nvmutil: fix indentation in setmac Leah Rowe 2026-03-09 04:37:48 +00:00
  • 14c2588772 util/nvmutil: err sooner, on bad command Leah Rowe 2026-03-09 04:04:12 +00:00
  • 1a60eabcfe util/nvmutil: print expected checksums Leah Rowe 2026-03-09 03:51:52 +00:00
  • c27f8b709a util/nvmutil: rename cmd helper functions Leah Rowe 2026-03-09 03:29:08 +00:00
  • 2cf1d1bed8 util/nvmutil: remove MAC address short-commands Leah Rowe 2026-03-09 03:03:33 +00:00
  • aeb076b30e util/nvmutil: remove cmd_brick Leah Rowe 2026-03-09 02:23:22 +00:00
  • 0c64907a9e util/nvmutil: remove the setchecksum command Leah Rowe 2026-03-09 02:19:24 +00:00
  • f7dfb0d265 util/nvmutil: re-order functions by execution Leah Rowe 2026-03-09 01:58:46 +00:00
  • a6e271c86d util/nvmutil: unified checksum update Leah Rowe 2026-03-09 01:17:49 +00:00
  • 39cdd562d8 util/nvmutil: don't pledge on OLD openbsd Leah Rowe 2026-03-09 00:14:59 +00:00
  • db440bd71d util/nvmutil: make write_mac_part() a void Leah Rowe 2026-03-08 23:42:11 +00:00
  • 5dc3f323c3 util/nvmutil: fix typo in message Leah Rowe 2026-03-08 23:40:12 +00:00
  • 07f9f607ab util/nvmutil: don't re-calculate skip_part Leah Rowe 2026-03-08 23:39:13 +00:00
  • dbd4d6d84a util/nvmutil: limit rw size on specific commands Leah Rowe 2026-03-08 23:32:08 +00:00
  • 70da9c3940 util/nvmutil: better error message for bin check Leah Rowe 2026-03-08 23:06:01 +00:00
  • 4d6732dade util/nvmutil: EINTR looping on write_gbe_file Leah Rowe 2026-03-08 23:02:31 +00:00
  • 163bf8beac util/nvmutil: clean up obsessive comments Leah Rowe 2026-03-08 22:41:03 +00:00
  • 848d575cea util/nvmutil: policy-only cmd_swap and cmd_copy Leah Rowe 2026-03-08 22:17:25 +00:00
  • 61188ee9dc util/nvmutil: remove redundant checksum checks Leah Rowe 2026-03-08 22:11:39 +00:00
  • c012d4ea5b util/nvmutil: clean up a few binary checks Leah Rowe 2026-03-08 22:03:06 +00:00
  • bd64d118f5 util/nvmutil: fix check in set_err() Leah Rowe 2026-03-08 21:37:53 +00:00
  • 61e7147505 util/nvmutil: fix bad arc4random check Leah Rowe 2026-03-08 21:16:18 +00:00
  • c425c74c54 util/nvmutil: improved clarity on checksum check Leah Rowe 2026-03-08 21:03:06 +00:00