Commit Graph

  • 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
  • 6abc150e89 util/nvmutil: close files in err() Leah Rowe 2026-03-08 20:57:30 +00:00
  • 840f79fd82 util/nvmutil: only close gbe fd if opened Leah Rowe 2026-03-08 20:50:44 +00:00
  • 1400508400 util/nvmutil: generalised checksum verification Leah Rowe 2026-03-08 20:22:31 +00:00
  • 3330f005fd util/nvmutil: validate ARG_PART and ARG_NOPART Leah Rowe 2026-03-08 17:57:28 +00:00
  • 5532a721f5 util/nvmutil: clean up some code Leah Rowe 2026-03-08 17:54:26 +00:00
  • 35ffe64765 util/nvmutil: fix 3-arg setmac Leah Rowe 2026-03-08 17:46:11 +00:00
  • a0829f7a27 util/nvmutil: simplified exit error Leah Rowe 2026-03-08 17:24:25 +00:00
  • 624ecc4ce1 util/nvmutil: generalise skip-read on copy/brick Leah Rowe 2026-03-08 17:20:36 +00:00
  • dd320601c2 util/nvmutil: remove redundant code Leah Rowe 2026-03-08 17:06:41 +00:00
  • 3c55808e27 util/nvmutil: call usage() on cmd validation err Leah Rowe 2026-03-08 16:27:03 +00:00
  • 37c04ac218 util/nvmutil: generalised cmd copy/swap Leah Rowe 2026-03-08 15:51:32 +00:00
  • 74224e3dc6 util/nvmutil: print rmac method in setmac Leah Rowe 2026-03-08 15:20:26 +00:00
  • 08de8d98e9 util/nvmutil: additional flag check on write Leah Rowe 2026-03-08 15:10:38 +00:00
  • b5054f68ba util/nvmutil: don't write gbe file if errno set Leah Rowe 2026-03-08 15:07:29 +00:00
  • 1d630f8e36 util/nvmutil: set errno in xstrxcmp Leah Rowe 2026-03-08 15:06:01 +00:00
  • 502aeb8653 util/nvmutil: rename word/set_word Leah Rowe 2026-03-08 14:55:53 +00:00
  • e6767d6e47 util/nvmutil: make xstrxcmp() easier to read Leah Rowe 2026-03-08 14:49:57 +00:00
  • 6f2e5149f2 util/nvmutil: use N_COMMAND for items(command) Leah Rowe 2026-03-08 14:36:58 +00:00
  • 10507e1436 util/nvmutil: portable, secure strlen function Leah Rowe 2026-03-08 14:27:27 +00:00
  • 9be83fa034 util/nvmutil: use xstrxlen for mac length Leah Rowe 2026-03-08 14:16:32 +00:00
  • 4a9aea629b util/nvmutil: use own strnlen function: xstrxlen Leah Rowe 2026-03-08 14:01:02 +00:00
  • 0881b584f4 add util/nvmutil/nvmutil to .gitignore Leah Rowe 2026-03-08 13:29:56 +00:00
  • 92bd44676a util/nvmutil: err if arc4random disused on bsd Leah Rowe 2026-03-08 13:15:54 +00:00
  • e5d0dee668 util/nvmutil: unified cmd_index reset Leah Rowe 2026-03-08 13:11:22 +00:00
  • 1ff1dca661 util/nvmutil: unified cmd validity check Leah Rowe 2026-03-08 13:10:03 +00:00
  • 5517f81cbe util/nvmutil: commented some defines Leah Rowe 2026-03-08 05:19:28 +00:00
  • be7c965845 util/nvmutil: rename cmd to cmd_index Leah Rowe 2026-03-08 04:53:59 +00:00
  • a7f97f385c util/nvmutil: sanitize the command list Leah Rowe 2026-03-08 04:46:49 +00:00
  • 8ce1cbe7f4 util/nvmutil: never allow cmd to be negative Leah Rowe 2026-03-08 04:16:05 +00:00
  • 0160b26aee util/nvmutil: tidy up set_cmd() Leah Rowe 2026-03-08 03:34:03 +00:00
  • de1963fdee util/nvmutil: do cmd bound check Leah Rowe 2026-03-08 03:26:51 +00:00
  • ccc58cefbb util/nvmutil: rename check_cmd_args Leah Rowe 2026-03-08 03:26:09 +00:00
  • ec3ab4059c util/nvmutil: close random_fd only if used Leah Rowe 2026-03-08 03:22:50 +00:00
  • 63fcc0891f util/nvmutil: Do not allow /dev/urandom on OBSD Leah Rowe 2026-03-08 02:45:20 +00:00
  • b1866312bd util/nvmutil: rename print_mac_address Leah Rowe 2026-03-08 02:41:46 +00:00
  • 1bbc6ac890 util/nvmutil: only open /dev/urandom on setmac Leah Rowe 2026-03-08 02:39:53 +00:00
  • 9bd7d04b49 util/nvmutil: say what randomiser is used Leah Rowe 2026-03-08 02:34:26 +00:00
  • c1bfe6a438 util/nvmutil: rename command.args to argc Leah Rowe 2026-03-08 02:20:13 +00:00
  • bf30cdd021 util/nvmutil: fix mistake in command Leah Rowe 2026-03-08 02:18:34 +00:00
  • 4cdf22cf8f util/nvmutil: minor cleanup Leah Rowe 2026-03-08 02:15:03 +00:00