Commit Graph

  • 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
  • 7c3a4e253f util/nvmutil: remove stale comment Leah Rowe 2026-03-08 02:08:40 +00:00
  • 26a69321ac util/nvmutil: use enum for command index Leah Rowe 2026-03-08 01:40:20 +00:00
  • 1d17a8ffcf util/nvmutil: call it nvmutil in makefile Leah Rowe 2026-03-08 01:07:03 +00:00
  • 6203f3ae61 util/nvmutil: print mac before setting Leah Rowe 2026-03-08 00:56:56 +00:00
  • 698d39dd06 util/nvmutil: store invert in command struct Leah Rowe 2026-03-08 00:21:58 +00:00
  • 50e20fb8bf util/nvmutil: make cmd an integer Leah Rowe 2026-03-08 00:16:45 +00:00
  • 3148d31798 util/clarity: name the gbe file half size Leah Rowe 2026-03-07 13:35:05 +00:00
  • 96cb52f21a util/nvmutil: only have newrandom on linux/oldunix Leah Rowe 2026-03-07 13:18:54 +00:00
  • c195e8cc2b util/nvmutil: tidy up open_dev_urandom Leah Rowe 2026-03-07 10:07:05 +00:00
  • 6a505c9162 util/nvmutil: correct type on hextonum() Leah Rowe 2026-03-07 03:28:15 +00:00
  • 50ce806dfa util/nvmutil: fix a comment Leah Rowe 2026-03-07 03:16:20 +00:00
  • a0da88d361 util/nvmutil: fix a comment Leah Rowe 2026-03-07 03:08:31 +00:00
  • ea1046dc46 util/nvmutil: unambiguous sign conv_argv_part_num Leah Rowe 2026-03-07 03:00:35 +00:00
  • b98f89c272 util/nvmutil: clean up hextonum() Leah Rowe 2026-03-07 02:50:30 +00:00
  • b8bd1ca65a util/nvmutil: tidy up some comments Leah Rowe 2026-03-07 02:44:11 +00:00
  • 49eca198da util/nvmutil: make mac_updated a uint8_t Leah Rowe 2026-03-07 02:38:36 +00:00
  • ef2937edbd util/nvmutil: fix prototype indentation Leah Rowe 2026-03-07 02:37:46 +00:00
  • 7bfe134a19 util/nvmutil: reset mac_buf for mac parsing Leah Rowe 2026-03-07 02:35:03 +00:00
  • 14ad5a9818 util/nvmutil: comment the unhandled errno exit Leah Rowe 2026-03-07 02:09:56 +00:00
  • 90bd395cb1 util/nvmutil: tidy up set_mac_byte Leah Rowe 2026-03-07 02:05:57 +00:00
  • 4619dad0b7 util/nvmutil: further mac address parsing cleanup Leah Rowe 2026-03-07 01:55:59 +00:00
  • 921144856c util/nvmutil: tidy up mac parsing code Leah Rowe 2026-03-07 01:39:57 +00:00
  • 86357dbe52 util/nvmutil: fix a bad comment Leah Rowe 2026-03-07 01:28:50 +00:00
  • 7e88f53e99 util/nvmutil: tidy up set_mac_byte Leah Rowe 2026-03-07 01:20:42 +00:00
  • c02f3166bb util/nvmutil: make do_read a uint8_t Leah Rowe 2026-03-07 01:11:07 +00:00
  • a9f5cbb542 util/nvmutil: clearer commenting about commands Leah Rowe 2026-03-07 01:09:52 +00:00
  • 0084452c4a util/nvmutil: comment regarding buf Leah Rowe 2026-03-07 01:01:44 +00:00
  • 364abddeab util/nvmutil: minor code cleanup Leah Rowe 2026-03-07 00:32:03 +00:00
  • 68d689336b util/nvmutil: fix an err string Leah Rowe 2026-03-07 00:10:36 +00:00
  • 658ed55bc1 util/nvmutil: tidy up conv_argv_part_num Leah Rowe 2026-03-07 00:08:17 +00:00
  • 330b2da20c util/nvmutil: Shorten a comment Leah Rowe 2026-03-07 00:04:05 +00:00
  • 58182b48c3 util/nvmutil: fix a bad comment Leah Rowe 2026-03-07 00:03:10 +00:00
  • 884a6779f9 util/nvmutil: make gbe_st local, not static/global Leah Rowe 2026-03-07 00:01:27 +00:00
  • 44e6b00626 util/nvmutil: rename rfd to urandom_fd Leah Rowe 2026-03-06 23:58:04 +00:00
  • 9e5736baa9 util/nvmutil: remove reset_global_state Leah Rowe 2026-03-06 23:56:19 +00:00
  • 13b35ed1fc util/nvmutil: rename arc4random define Leah Rowe 2026-03-06 23:51:57 +00:00
  • 79c972367e util/nvmutil: reset errno on /dev/random fallback Leah Rowe 2026-03-06 23:50:06 +00:00
  • 6e47315192 util/nvmutil: remove rval from conv_argv_part_num Leah Rowe 2026-03-06 23:42:33 +00:00
  • 85b09c4275 util/nvmutil: set part_modified to a uint8_t Leah Rowe 2026-03-06 23:15:50 +00:00
  • e5b108a764 util/nvmutil: make invert a uint8_t Leah Rowe 2026-03-06 23:14:26 +00:00
  • 69c4d70650 util/nvmutil: safer argv part number parsing Leah Rowe 2026-03-06 23:07:29 +00:00
  • 9b6f2a2f7e util/nvmutil: rename check_bound check_nvm_bound Leah Rowe 2026-03-06 22:39:43 +00:00
  • a7d7f68a5c util/nvmutil: be clearer about GbE file sizes Leah Rowe 2026-03-06 22:34:15 +00:00
  • e273391792 util/nvmutil: rename fd to fd_ptr in xopen() Leah Rowe 2026-03-06 22:26:22 +00:00
  • 4635a0eae9 util/nvmutil: cleaned up a few prototypes Leah Rowe 2026-03-06 22:20:15 +00:00
  • 0f5fcbd883 util/nvmutil: more readable xopen Leah Rowe 2026-03-06 22:18:26 +00:00
  • 2c2bda31ea util/nvmutil: use unsigned char in hextonum Leah Rowe 2026-03-06 22:08:15 +00:00
  • f57358ac1e util/nvmutil: remove redundant break Leah Rowe 2026-03-06 21:43:11 +00:00
  • f59f45893b util/nvmutil: rename write_gbe to write_gbe_file Leah Rowe 2026-03-06 21:39:58 +00:00
  • 85877a93bb util/nvmutil: rename read_gbe to read_gbe_file Leah Rowe 2026-03-06 21:39:21 +00:00
  • dad1f613fc util/nvmutil: unified partnum validation Leah Rowe 2026-03-06 21:35:13 +00:00
  • ed32108613 util/nvmutil: rename global st variable Leah Rowe 2026-03-06 21:22:50 +00:00
  • b65c988007 util/nvmutil: full prototypes Leah Rowe 2026-03-06 21:21:40 +00:00
  • 3aa30c5039 util/nvmutil: tidy up read_gbe Leah Rowe 2026-03-06 21:08:47 +00:00
  • 040eee4607 util/nvmutil: tidy up set_mac_nib Leah Rowe 2026-03-06 21:06:58 +00:00
  • 6b924787be util/nvmutil: remove unnecessary checck Leah Rowe 2026-03-06 20:59:50 +00:00
  • af55dd8959 Revert "util/nvmutil: make invert an unsigned char" Leah Rowe 2026-03-06 20:57:39 +00:00
  • 10c8be92aa util/nvmutil: general code cleanup Leah Rowe 2026-03-06 20:52:13 +00:00
  • a34d430754 util/nvmutil: cleaner mac address variable names Leah Rowe 2026-03-06 20:33:27 +00:00
  • 00e0197cfe util/nvmutil: general code cleanup Leah Rowe 2026-03-06 20:11:30 +00:00