Commit Graph

  • e151179d14 cleanup Leah Rowe 2026-03-26 01:45:58 +00:00
  • c4ff47a8ed fix makefile Leah Rowe 2026-03-26 01:45:18 +00:00
  • f4f3fe3e0a libreboot-utils: tidy up rand.c Leah Rowe 2026-03-26 01:33:01 +00:00
  • 58ce1d74c0 libreboot-utils: new function, scatn() Leah Rowe 2026-03-26 01:09:10 +00:00
  • b84c929e64 rmalloc Leah Rowe 2026-03-25 23:53:51 +00:00
  • e0319f0116 util/libreboot-utils: randomisation test Leah Rowe 2026-03-25 22:20:19 +00:00
  • dc7a02da2d cleanup Leah Rowe 2026-03-25 21:51:50 +00:00
  • c66f381e90 mkrstr Leah Rowe 2026-03-25 21:23:52 +00:00
  • 1e79219bea lbutils: new function, mkrbuf (random malloc) Leah Rowe 2026-03-25 21:07:56 +00:00
  • ee4f765719 lbutils: close fd on rset failure Leah Rowe 2026-03-25 20:54:24 +00:00
  • e8c4bccd86 further clarify intentt Leah Rowe 2026-03-25 20:50:59 +00:00
  • 4034b211ce lbutils, rset: err if zero bytes requested Leah Rowe 2026-03-25 20:49:10 +00:00
  • b26837c4dc dot Leah Rowe 2026-03-25 20:23:49 +00:00
  • e44ea5d794 lbutils: also check null! Leah Rowe 2026-03-25 20:19:18 +00:00
  • 7b3c8cf7ec lbutils: clarify design regarding urandom/getrandom Leah Rowe 2026-03-25 19:58:23 +00:00
  • 34f26319d7 lbutils, rand: err on zero return (fatal) Leah Rowe 2026-03-25 19:51:46 +00:00
  • bce1099509 cleanup Leah Rowe 2026-03-25 19:50:01 +00:00
  • 0626bf48f4 lbutils: cast to prevent ub in rset() Leah Rowe 2026-03-25 19:40:27 +00:00
  • 50e3b1f45d cleanup Leah Rowe 2026-03-25 19:35:57 +00:00
  • 0d86fd38df fix offset on urandom falback Leah Rowe 2026-03-25 19:30:06 +00:00
  • a6f76ac4ee libreboot-utils: tidy up rand Leah Rowe 2026-03-25 19:26:48 +00:00
  • cbe48caf1b cleanup Leah Rowe 2026-03-25 18:06:51 +00:00
  • a70ede850d libreboot-utils: replace rlong() with rset() Leah Rowe 2026-03-25 18:01:38 +00:00
  • 00b56c0278 libreboot-utils: tidy up rand Leah Rowe 2026-03-25 17:52:53 +00:00
  • 6c8cf9a9e0 util/mkhtemp: use /dev/urandom *if enabled* Leah Rowe 2026-03-25 17:17:39 +00:00
  • 718095b0fe util/mkhtemp: extremely hardened mkhtemp Leah Rowe 2026-03-20 04:02:51 +00:00
  • c2ad2f9b40 Add Dell OptiPlex 3040 Micro support Todd Baker 2026-03-14 04:53:58 -04:00
  • 417b85b464 Added full support for the X280 AlguienSasaki 2026-03-08 13:32:46 -06:00
  • 1586482c15 Added missing dependency duchy 2026-03-06 12:41:37 +01:00
  • 0c2de61a7e Added missing dependency duchy 2026-03-06 12:41:22 +01:00
  • 92610cc92b Enable CBFS file option backend on T480s Ron Nazarov 2026-03-07 17:26:14 +00:00
  • 6d70a0dc56 nvmutil: fix unveil call Leah Rowe 2026-03-19 20:40:42 +00:00
  • f7072fc4c0 util/nvmutil: better getrandom safety Leah Rowe 2026-03-19 19:55:27 +00:00
  • 49413b7d6b fix variable name Leah Rowe 2026-03-19 19:16:32 +00:00
  • bd5fc60dd9 util/nvmutil: re-add fallback timer rand Leah Rowe 2026-03-19 19:02:59 +00:00
  • 59b9215a97 util/nvmutil: remove arandom fallback on rand Leah Rowe 2026-03-19 18:36:59 +00:00
  • a3e3cdc057 util/nvmutil: rand: use getrandom on newer linux Leah Rowe 2026-03-19 18:34:28 +00:00
  • bad5688ae9 util/nvmutil: buffered urandom reads Leah Rowe 2026-03-19 17:27:02 +00:00
  • 0e105e8135 tidy some comments Leah Rowe 2026-03-19 16:02:15 +00:00
  • 1c210e3857 nvmutil: make tmpdir string much more random Leah Rowe 2026-03-19 08:50:09 +00:00
  • 113f2db37c util/nvmutil: hardened mkstemp Leah Rowe 2026-03-19 08:07:47 +00:00
  • 7cc584fe0e nvmutil: rename lseek_loop to lseek_on_eintr Leah Rowe 2026-03-19 07:48:53 +00:00
  • f4ea610014 nvmutil: rename x_i_close to close_on_eintr Leah Rowe 2026-03-19 07:45:34 +00:00
  • d9f2aff95c nvmutil: don't have finite eintr wait Leah Rowe 2026-03-19 07:43:43 +00:00
  • 81ac8eead9 nvmutil: rename x_i_fsync to fsync_on_eintr Leah Rowe 2026-03-19 07:41:04 +00:00
  • 2ddb9019c8 util/rename: rename x_i_fsync Leah Rowe 2026-03-19 07:38:54 +00:00
  • 861cc85580 nvmutil: remove memcmp/memcpy/strrchr/rename Leah Rowe 2026-03-19 07:32:46 +00:00
  • 1b82927843 util/nvmutil: tidy up includes Leah Rowe 2026-03-19 06:59:11 +00:00
  • aff629f571 util/nvmutil: major cleanup Leah Rowe 2026-03-18 19:30:32 +00:00
  • 3010781df6 now remove the .empty files Leah Rowe 2026-03-18 14:27:41 +00:00
  • c189c9c483 util/nvmutil: add obj dir to git Leah Rowe 2026-03-18 14:26:39 +00:00
  • 331a1af6df util/nvmutil: add rule to create lib objdir Leah Rowe 2026-03-18 14:25:14 +00:00
  • a5a4e3d215 nvmutil: move lib files to lib/ Leah Rowe 2026-03-18 14:04:51 +00:00
  • 275f8e6f05 util/nvmutil: put objects in obj/ Leah Rowe 2026-03-18 14:00:30 +00:00
  • 98aa88ad44 nvmutil makefile: use portable assignments Leah Rowe 2026-03-18 13:40:20 +00:00
  • 0fea4f69e0 nvmutil: split nvmutil.c into multiple files Leah Rowe 2026-03-18 13:13:27 +00:00
  • a7fa5c3bf4 util/nvmutil: remove global variable x Leah Rowe 2026-03-18 07:17:40 +00:00
  • 411076b499 nvmutil: disable arc4random on obsd below 2.1 Leah Rowe 2026-03-18 05:18:23 +00:00
  • b60a243a87 util/nvmutil: initialise st in tmpdir Leah Rowe 2026-03-18 05:13:02 +00:00
  • 321b0ac07c util/nvmutil: use strlen for tmpdir length Leah Rowe 2026-03-18 05:08:54 +00:00
  • 3256c3fcb8 nvmutil tmpdir: check world-writeable / sticky bits Leah Rowe 2026-03-18 04:49:22 +00:00
  • 21cd0b7a91 nvmutil: fix modulo bias in mkstemp Leah Rowe 2026-03-18 04:45:53 +00:00
  • 65ed83d2e7 util/nvmutil: limit EAGAIN/EINTR retries Leah Rowe 2026-03-18 04:44:36 +00:00
  • 232b069492 util/nvmutil: use real fsync Leah Rowe 2026-03-18 04:39:50 +00:00
  • 1197d43923 nvmutil: don't disable blocking on random Leah Rowe 2026-03-18 04:36:04 +00:00
  • 7fd8869c20 re-add arc4random in nvmutil Leah Rowe 2026-03-18 04:31:25 +00:00
  • a3b8f1e8eb util/nvmutil: remove randomness fallback Leah Rowe 2026-03-18 04:26:10 +00:00
  • e3a007a8ae nvmutil: don't read urandom fd if fd not open Leah Rowe 2026-03-18 04:21:18 +00:00
  • cdce83d19e nvmutil: new urandom fd every time (rlong) Leah Rowe 2026-03-18 04:18:58 +00:00
  • a400409517 util/nvmutil: fix typo in unveil call Leah Rowe 2026-03-18 04:14:47 +00:00
  • 4260327edc util/nvmutil: fix rlong static variables Leah Rowe 2026-03-18 04:13:50 +00:00
  • 5a9e5017ea nvmutil: remove redundant srand call Leah Rowe 2026-03-18 04:06:23 +00:00
  • e57dc2efcb nvmutil: remove redundant check Leah Rowe 2026-03-18 03:59:06 +00:00
  • a3eeedf2d8 util/nvmutil: obsessively check null cmd Leah Rowe 2026-03-18 03:53:05 +00:00
  • 5b808d4f26 util/nvmutil: tidy up variables Leah Rowe 2026-03-18 03:17:38 +00:00
  • f63837888c stricter S_ISREG check Leah Rowe 2026-03-18 01:52:43 +00:00
  • e087d2cf77 nvmutil: even stronger double-run protection Leah Rowe 2026-03-18 00:29:33 +00:00
  • 562dc92325 util/nvmutil: guard against running twice Leah Rowe 2026-03-18 00:16:01 +00:00
  • bb6acae8f4 nvmutil: make commands check themselves Leah Rowe 2026-03-17 23:44:14 +00:00
  • 1057bebce5 util/nvmutil: check file flags properly Leah Rowe 2026-03-17 22:26:17 +00:00
  • 72dab46dbc util/nvmutil: tighter pledge and unveil Leah Rowe 2026-03-17 22:14:48 +00:00
  • 6e6b1dd366 util/nvmutil: stricter work buf check Leah Rowe 2026-03-17 21:43:37 +00:00
  • f5104c5893 79-character rule must be obeyed Leah Rowe 2026-03-17 21:40:25 +00:00
  • 182ea65774 util/nvmutil: fix comment Leah Rowe 2026-03-17 21:24:04 +00:00
  • 3871b60124 util/nvmutil: default to clang on make-hell Leah Rowe 2026-03-17 21:00:43 +00:00
  • 5d7e516e33 util/nvmutil: tidy up memcmp Leah Rowe 2026-03-17 20:35:10 +00:00
  • 2fe71dfb90 nvmutil: add suffixes to makefile Leah Rowe 2026-03-17 19:39:27 +00:00
  • 2457944d75 nvmutil: tidy up the makefile Leah Rowe 2026-03-17 19:35:50 +00:00
  • 92580f0659 util/nvmutil: portable default make rules Leah Rowe 2026-03-17 19:08:49 +00:00
  • ac0451c0b8 util/nvmutil: move asserts to header Leah Rowe 2026-03-17 18:30:07 +00:00
  • 611217e57e nvmutil: extremely defensive CHAR_BIT test Leah Rowe 2026-03-17 18:27:14 +00:00
  • 38022c5d47 util/nvmutil: add defensive buffer check Leah Rowe 2026-03-17 18:19:40 +00:00
  • 400369b361 util/nvmutil: remove stale comment Leah Rowe 2026-03-17 18:09:17 +00:00
  • b6d176189e util/nvmutil: fix randomness in mkstemp Leah Rowe 2026-03-17 17:36:11 +00:00
  • 4688dee7cb util/nvmutil: split up copy_gbe Leah Rowe 2026-03-17 17:29:07 +00:00
  • 60a6d3861c util/nvmuti: make fsync_dir() generic Leah Rowe 2026-03-17 16:59:50 +00:00
  • c1c49c3945 prototype for new_state() in nvmutil Leah Rowe 2026-03-17 08:09:27 +00:00
  • 50695c9fbd util/nvmutil: split up nvmutil.c Leah Rowe 2026-03-17 07:31:54 +00:00
  • b1a51d7e5c cleanup Leah Rowe 2026-03-17 03:09:27 +00:00
  • 2703c9c938 util/nvmutil: start removing global state Leah Rowe 2026-03-17 02:48:31 +00:00