Commit Graph

  • 5b120d71e7 util/nvmutil: make invert an unsigned char Leah Rowe 2026-03-06 19:59:51 +00:00
  • 4bf190a5f5 util/nvmutil: make mac_updated unsigned Leah Rowe 2026-03-06 19:58:37 +00:00
  • 5c90b2453b util/nvmutil: use size_t in setmac functions Leah Rowe 2026-03-06 19:56:21 +00:00
  • fb805caf6a util/nvmutil: extra part check in set_checksum Leah Rowe 2026-03-06 19:40:28 +00:00
  • f316701d74 util/nvmutil: don't set part in write_mac_part Leah Rowe 2026-03-06 19:35:54 +00:00
  • c6c4e5303e util/nvmutil: fix duplicated word in comment Leah Rowe 2026-03-06 19:30:55 +00:00
  • 5d05921875 util/nvmutil: make part_modified an unsigned char Leah Rowe 2026-03-06 19:28:32 +00:00
  • 1aa8f33d50 util/nvmutil: fix bad string in gbe_read_part() Leah Rowe 2026-03-06 19:25:43 +00:00
  • 9095722079 util/nvmutil: calculate off AFTER part validation Leah Rowe 2026-03-06 19:23:56 +00:00
  • 1131240d02 util/nvmutil: made a comment a bit clearer Leah Rowe 2026-03-06 19:21:02 +00:00
  • 72caa5f892 util/nvmutil: fix another printf specifier Leah Rowe 2026-03-06 19:17:01 +00:00
  • efdf110317 util/nvmutil: remove unnecessary casts Leah Rowe 2026-03-06 19:08:55 +00:00
  • d94fbba779 util/nvmutil: fix more bad printf statements Leah Rowe 2026-03-06 19:04:38 +00:00
  • 6d2a1afbd4 util/nvmutil: fix a few bad printf statements Leah Rowe 2026-03-06 19:03:06 +00:00
  • 0698c6ada4 util/nvmutil: warn about partial gbe file writes Leah Rowe 2026-03-06 18:55:31 +00:00
  • 397fc78e58 util/nvmutil: use size_t for part numbers Leah Rowe 2026-03-06 18:45:26 +00:00
  • 82fdee91fa util/nvmutil: clean up file handling Leah Rowe 2026-03-06 18:36:29 +00:00
  • 58b17c98fd util/nvmutil: minor cleanup Leah Rowe 2026-03-06 18:25:24 +00:00
  • c8bd98c8a6 util/nvmutil: mem bound check on file read/write Leah Rowe 2026-03-06 18:17:07 +00:00
  • 41f7f6352d util/nvmutil: rename gbe_bound for clarity Leah Rowe 2026-03-06 17:47:49 +00:00
  • b1abef8881 util/nvmutil: make defines easier to understand Leah Rowe 2026-03-06 17:44:07 +00:00
  • edca6c2cd3 util/nvmutil: tidy up set_mac_nib Leah Rowe 2026-03-06 17:35:00 +00:00
  • 123e77d07f util/nvmutil: use portable printf on hexdump Leah Rowe 2026-03-06 17:30:53 +00:00
  • c0a77a7301 util/nvmutil: make the MAC shifting easier to read Leah Rowe 2026-03-06 17:21:15 +00:00
  • 596643a0d5 util/nvmutil: optimise hextonum Leah Rowe 2026-03-06 17:03:50 +00:00
  • 6023d17b6e util/nvmutil: fix parenthesis warning in GCC Leah Rowe 2026-03-06 17:01:48 +00:00
  • 199dbad96d util/nvmutil: tidy up set_mac_nib Leah Rowe 2026-03-06 16:55:23 +00:00
  • 9e32456c8c util/nvmutil: clearer intent on struct data Leah Rowe 2026-03-06 16:52:02 +00:00
  • 7ae2288c10 util/nvmutil: more readable NVM defines Leah Rowe 2026-03-06 16:49:08 +00:00
  • 2f0c189da9 util/nvmutil: more readable SIZE_nKB defines Leah Rowe 2026-03-06 16:46:01 +00:00
  • 7f6d7526cc util/nvmutil: use arc4random on DragonFly BSD Leah Rowe 2026-03-06 16:43:18 +00:00
  • a358a6fe09 util/nvmutil: use strlen instead of strnlen Leah Rowe 2026-03-06 16:41:59 +00:00
  • a82c766b8c util/nvmutil: add bound checks for gbe read/write Leah Rowe 2026-03-06 16:18:08 +00:00
  • 94f5e70366 util/nvmutil: minor code cleanup Leah Rowe 2026-03-06 16:05:21 +00:00
  • 0d4cc9e324 util/nvmutil: clearer macbuff init in set_mac_nib Leah Rowe 2026-03-06 15:51:46 +00:00
  • 7950a31c79 util/nvmutil: don't reset rfd on openbsd Leah Rowe 2026-03-06 15:02:46 +00:00
  • 99543bc632 util/nvmutil: tidy up rhex() Leah Rowe 2026-03-06 14:59:35 +00:00
  • a4b9a333a9 util/nvmutil: properly handle sizeof in rhex() Leah Rowe 2026-03-06 14:44:44 +00:00
  • cc47a756f2 util/nvmutil: make rmac an array, not a literal. Leah Rowe 2026-03-06 14:42:57 +00:00
  • e7cbd9441c util/nvmutil: use arc4random when available Leah Rowe 2026-03-06 14:40:23 +00:00
  • 95b294db05 util/nvmutil: inline pos calculation on word() Leah Rowe 2026-03-06 13:47:16 +00:00
  • d89d14e911 util/nvmutil: remove pointless check Leah Rowe 2026-03-06 13:36:42 +00:00
  • f96a119523 util/nvmutil: cast inside check_bound, not callers Leah Rowe 2026-03-06 13:33:24 +00:00
  • a31236b1f8 util/nvmutil: comment regarding endianness Leah Rowe 2026-03-06 13:30:14 +00:00
  • c7409cce03 util/nvmutil: clean up set_word Leah Rowe 2026-03-06 13:28:51 +00:00
  • feee6a728f util/nvmutil: use size_t for offsets in words Leah Rowe 2026-03-06 13:19:21 +00:00
  • 32429f2c37 util/nvmutil: remove the swap() function Leah Rowe 2026-03-06 13:02:24 +00:00
  • b3516e8c16 update nvmutil COPYING file (2026 copyright year) Leah Rowe 2026-03-04 11:24:55 +00:00
  • 2f2295fc37 util/nvmutil: rhex: don't read twice! Leah Rowe 2026-03-04 10:45:00 +00:00
  • aceafd684a util/nvmutil: unified file read error handling Leah Rowe 2026-03-04 02:32:50 +00:00
  • 947211fc3c util/nvmutil: tidy up cmd_brick Leah Rowe 2026-03-04 02:06:33 +00:00
  • 2f782b8a01 util/nvmutil: minor code cleanup Leah Rowe 2026-03-04 01:59:21 +00:00
  • f727675f6d util/nvmutil: provide comment about global state Leah Rowe 2026-03-04 01:48:41 +00:00
  • d6601059fb util/nvmutil: reset errno on *successful* read Leah Rowe 2026-03-04 01:43:39 +00:00
  • 84b4ba48b4 util/nvmutil: don't reset errno in check_read_or_die Leah Rowe 2026-03-04 01:39:34 +00:00
  • 94415ca73d util/nvmutil: minor code cleanup Leah Rowe 2026-03-04 01:39:11 +00:00
  • 75ea8ab175 util/nvmutil: comment regarding memcpy endianness Leah Rowe 2026-03-04 01:32:34 +00:00
  • ca98d418d5 util/nvmutil: don't usleep on file reads Leah Rowe 2026-03-04 01:29:04 +00:00
  • e28409d80b util/nvmutil: handle error after check_read_or_die Leah Rowe 2026-03-04 01:27:13 +00:00
  • 7d6f1a6b30 util/nvmutil: handle errno after file read Leah Rowe 2026-03-04 01:23:19 +00:00
  • 12778a0ffd util/nvmutil: simplified zero-mac-address check Leah Rowe 2026-03-04 01:11:35 +00:00
  • 84376fa308 util/nvmutil: don't pass h as param in cmd_setmac Leah Rowe 2026-03-04 01:09:56 +00:00
  • 0d4822e700 util/nvmutil: cast SIZE_4KB on the pwrite check Leah Rowe 2026-03-04 01:02:27 +00:00
  • 0d3a8749fe util/nvmutil: usleep 1 on check_read_or_die Leah Rowe 2026-03-04 00:57:48 +00:00
  • 3d27c77a63 util/nvmutil: reset errno on successful file reads Leah Rowe 2026-03-04 00:52:40 +00:00
  • 6e08614e69 util/nvmutil: reset fd/rfd to negative one Leah Rowe 2026-03-04 00:51:24 +00:00
  • 8143f95b41 util/nvmutil: reset buf in reset_global_state() Leah Rowe 2026-03-04 00:47:45 +00:00
  • 3e7148a9b7 util/nvmutil: reset macbuf in reset_global_state Leah Rowe 2026-03-04 00:46:42 +00:00
  • 53a680c063 util/nvmutil: reset errno in reset_global_state Leah Rowe 2026-03-04 00:44:47 +00:00
  • 46a0fe6b8a util/nvmutil: Comments relating to NVM size limit Leah Rowe 2026-03-04 00:41:08 +00:00
  • 4b42419122 util/nvmutil: remove err_if() Leah Rowe 2026-03-04 00:30:28 +00:00
  • 6efd0429e2 util/nvmutil: improved some error messages Leah Rowe 2026-03-04 00:07:14 +00:00
  • 6035a1bb6a util/nvmutil: rename valid_read Leah Rowe 2026-03-04 00:01:28 +00:00
  • be28140741 util/nvmutil: remove redundant casts Leah Rowe 2026-03-03 23:55:46 +00:00
  • 3b8de31f37 util/nvmutil: more thorough global_state_reset Leah Rowe 2026-03-03 23:46:01 +00:00
  • 704a7beeb4 util/nvmutil: reset fname properly Leah Rowe 2026-03-03 23:42:15 +00:00
  • 489f632cab util/nvmutil: simpler mac address totalling Leah Rowe 2026-03-03 23:40:28 +00:00
  • 76d6900d69 util/nvmutil: less obscure mac address zero check Leah Rowe 2026-03-03 23:37:59 +00:00
  • 8c5c4e1b93 util/nvmutil: reset global state in one function Leah Rowe 2026-03-03 23:27:59 +00:00
  • 213626d898 util/nvmutil: reset cmd in main Leah Rowe 2026-03-03 23:24:46 +00:00
  • 306f9087d9 util/nvmutil: reset fname in main Leah Rowe 2026-03-03 23:23:54 +00:00
  • d0141ca2e4 util/nvmutil: reset part_modified in main Leah Rowe 2026-03-03 23:23:28 +00:00
  • 1e407a2a65 util/nvmutil: reset invert in main Leah Rowe 2026-03-03 23:22:14 +00:00
  • dd109ccf07 util/nvmutil: reset mac in main Leah Rowe 2026-03-03 23:19:33 +00:00
  • 790009f58e util/nvmutil: reset macbuf in parse_mac_string Leah Rowe 2026-03-03 23:17:02 +00:00
  • 7b15b020b5 util/nvmutil: use off_t for partsize (pread/pwrite) Leah Rowe 2026-03-03 23:12:15 +00:00
  • ae080c35e4 util/nvmutil: clearer error messages on valid_read Leah Rowe 2026-03-03 23:09:54 +00:00
  • 75bcc46de4 util/nvmutil: comment valid_read for clarity Leah Rowe 2026-03-03 22:59:38 +00:00
  • 7a62ad3f62 util/nvmutil: clearer errno reset in valid_read Leah Rowe 2026-03-03 22:57:45 +00:00
  • 3268c225d6 util/nvmutil: pass size_t to read, not ssize_t Leah Rowe 2026-03-03 22:55:00 +00:00
  • 3077f51c67 util/nvmutil: use zd for printf in valid_read Leah Rowe 2026-03-03 22:51:50 +00:00
  • cc51ac32d0 util/nvmutil: minor cleanup in usage() Leah Rowe 2026-03-03 22:31:49 +00:00
  • ae6db44543 util/nvmutil: minor cleanup in cmd_setmac Leah Rowe 2026-03-03 22:29:21 +00:00
  • 8f81ed314a util/nvmutil: don't use err_if in usage Leah Rowe 2026-03-03 22:27:51 +00:00
  • f93a40ecb6 util/nvmutil: rename errval to nvm_errval Leah Rowe 2026-03-03 21:50:10 +00:00
  • 21b8de87ff util/nvmutil: re-try reads if errno is EINTR Leah Rowe 2026-03-03 21:43:32 +00:00
  • 493e3cf069 util/nvmutil: explicitly cast on read/pread/pwrite Leah Rowe 2026-03-03 20:38:36 +00:00
  • af5d876bf0 util/nvmutil: remove unnecessary check Leah Rowe 2026-03-03 20:30:52 +00:00
  • 418015c232 util/nvmutil: stricter check_bound Leah Rowe 2026-03-03 20:24:26 +00:00
  • 80a5b08090 util/nvmutil: set errno only if x is not 0 Leah Rowe 2026-03-03 20:13:31 +00:00