Commit Graph

  • 6db9514c95 libreboot-utils: tidy up the rand code mkhtemp-wip Leah Rowe 2026-03-25 11:23:49 +00:00
  • 49cc239884 util/mkhtemp: allow zero as a rand value Leah Rowe 2026-03-25 11:13:56 +00:00
  • 7bff5712b4 util/libreboot-utils: simplified rand Leah Rowe 2026-03-25 11:03:23 +00:00
  • a6da25ad0b libreboot-utils: remove 1989 rand Leah Rowe 2026-03-25 10:36:50 +00:00
  • f7f1856969 libreboot-utils: move rand to own file Leah Rowe 2026-03-25 10:34:37 +00:00
  • e1ff02f323 util/libreboot-utils: added more string functions Leah Rowe 2026-03-25 07:27:13 +00:00
  • 5f93b7faec lib/mkhtemp: fix bad string comparison Leah Rowe 2026-03-25 04:58:23 +00:00
  • 7efdc40cab lib/mkhtemp: rename suffix to template Leah Rowe 2026-03-25 00:44:13 +00:00
  • 1228f7e0e5 util/mkhtemp: require at least 3 X Leah Rowe 2026-03-25 00:23:48 +00:00
  • f06db344ad mkhtemp: fix err() Leah Rowe 2026-03-25 00:03:31 +00:00
  • 3ddd7a0d36 util/mkhtemp: add -q option (silence errors) Leah Rowe 2026-03-24 23:23:16 +00:00
  • 2cee58188c util/nvmutil: make tmp files dotfiles Leah Rowe 2026-03-24 22:44:43 +00:00
  • 1ed2ca6b69 util/libreboot-utils: rename err() to b0rk() Leah Rowe 2026-03-24 22:27:04 +00:00
  • 4fc4946f3c util/nvmutil: fix name size in fs_resolve_at Leah Rowe 2026-03-24 22:21:22 +00:00
  • f8d9c51a36 util/mkhtemp: template support on util Leah Rowe 2026-03-24 22:19:40 +00:00
  • b8a045ef86 util/mkhtemp: allow relative path with -p Leah Rowe 2026-03-24 20:23:00 +00:00
  • 715723c7ce mkhtemp: harden tmpdir access control Leah Rowe 2026-03-24 20:18:15 +00:00
  • b16bb6c445 util/mkhtemp: loosen execution restriction Leah Rowe 2026-03-24 20:12:51 +00:00
  • 75f03ea696 util/mkhtemp: add directory override (-p) option. Leah Rowe 2026-03-24 20:06:09 +00:00
  • 88ff5f7380 util/mkhtemp: O_TMPFILE fast path on linux Leah Rowe 2026-03-24 19:44:22 +00:00
  • bf5a3df796 mkhtemp: fix bad comparison Leah Rowe 2026-03-24 19:35:43 +00:00
  • 3522a23587 util/nvmutil: use renameat for atomic write Leah Rowe 2026-03-24 19:13:59 +00:00
  • 217ad55bed improve the error message Leah Rowe 2026-03-24 18:56:51 +00:00
  • c1befbcd3e util/nvmutil: never do cross-filesystem moves Leah Rowe 2026-03-24 18:46:36 +00:00
  • 6593e76c6a TODO: exdev handling still broken on nvmutil Leah Rowe 2026-03-24 17:32:52 +00:00
  • e9c5da1a25 util/nvmutil: use new fs_open functions for gbe Leah Rowe 2026-03-24 17:06:48 +00:00
  • 56ab5a18fe mkhtemp: show progname on error Leah Rowe 2026-03-24 16:35:40 +00:00
  • 9de01208b0 comment Leah Rowe 2026-03-24 09:59:49 +00:00
  • cce396a1ac libreboot-utils: general code cleanup Leah Rowe 2026-03-24 07:41:45 +00:00
  • e7ede0c755 mkhtemp: unified non-error close handling Leah Rowe 2026-03-24 07:06:39 +00:00
  • 616099edad util/nvmutil: make it compile again Leah Rowe 2026-03-24 04:43:52 +00:00
  • 61ee661b88 nvmutil/state: remove unnecessary check Leah Rowe 2026-03-24 04:29:31 +00:00
  • 8b8a5635c3 add comment about mkhtemp calling convention Leah Rowe 2026-03-24 03:15:19 +00:00
  • 2c21a04741 util/mkhtemp: show path on error accessing it Leah Rowe 2026-03-24 02:41:26 +00:00
  • a5eed39a76 lib/mkhtemp.c: use standard suffix Leah Rowe 2026-03-24 01:32:59 +00:00
  • f2544d094b util/mkhtemp: new utility (hardened mktemp) Leah Rowe 2026-03-24 00:28:15 +00:00
  • afcd535816 mkhtemp: split library into its own file Leah Rowe 2026-03-23 23:31:00 +00:00
  • a9165d2503 mkhtemp: fail if TMPDIR is SET, but set wrong Leah Rowe 2026-03-23 10:51:02 +00:00
  • ba80191b78 mkhtemp: PROPER fd leak/overwrite fix Leah Rowe 2026-03-23 09:14:41 +00:00
  • 8261553818 util/nvmutil: remove bad check in world stick func Leah Rowe 2026-03-23 08:57:04 +00:00
  • 7c414b2d84 mkhtemp: fix bad close Leah Rowe 2026-03-23 08:44:01 +00:00
  • 024862a152 mkhtemp: fix bad check Leah Rowe 2026-03-23 08:30:19 +00:00
  • c1c1aee695 mkhtemp: fix initialisied fd Leah Rowe 2026-03-23 08:21:18 +00:00
  • f18f995c42 WIP remove xdev from openat2p Leah Rowe 2026-03-23 06:42:57 +00:00
  • 186d612ac7 WIP: "finished" Leah Rowe 2026-03-23 05:22:01 +00:00
  • 1f7d4c72f4 remove dead code WIP Leah Rowe 2026-03-23 04:48:14 +00:00
  • c87e425442 WIP dir support (also demons) Leah Rowe 2026-03-23 00:27:05 +00:00
  • 1684f475cd WIP identity check unification Leah Rowe 2026-03-22 23:37:43 +00:00
  • cf4be895f9 WIP verify after lock Leah Rowe 2026-03-22 23:28:40 +00:00
  • 79376a900a WIP cleanup Leah Rowe 2026-03-22 21:59:22 +00:00
  • ca92e7831a cleanup WIP Leah Rowe 2026-03-22 21:08:18 +00:00
  • cc7b0a4381 WIP cleanup: split mkhtemp Leah Rowe 2026-03-22 20:24:54 +00:00
  • df99f345dc WIP cleanup Leah Rowe 2026-03-22 20:06:10 +00:00
  • a505cb261a WIP: remove local mode in mkhtemp + cleanup Leah Rowe 2026-03-22 19:49:50 +00:00
  • b8ababa2be WIP: split out rand fill on mkhtemp Leah Rowe 2026-03-22 19:27:37 +00:00
  • 535ab29deb WIP: file system sandboxing Leah Rowe 2026-03-22 18:29:22 +00:00
  • 5818ec11bf openat2 WIP Leah Rowe 2026-03-22 17:09:03 +00:00
  • c766c819b3 WIP: fs_resolve_at Leah Rowe 2026-03-22 16:43:28 +00:00
  • 7694b307b8 WIP: always use openat Leah Rowe 2026-03-22 15:54:48 +00:00
  • 825d520575 WIP: pathless resolution Leah Rowe 2026-03-22 14:36:33 +00:00
  • 6838db4647 WIP: hardened mktemp Leah Rowe 2026-03-20 04:02:51 +00:00
  • f50ffd6bb1 Merge pull request 'Add Dell OptiPlex 3040 Micro support' (#413) from tab011/lbmk:dell-optiplex-3040 into master master Leah Rowe 2026-03-21 07:42:59 +01:00
  • cd3f8985b0 Merge pull request 'Added full support for the X280' (#412) from AlguienSasaki/lbmk:x280-port into master Leah Rowe 2026-03-21 07:41:34 +01:00
  • 1cb9e42660 Merge pull request 'Updated dependencies for Fedora' (#409) from duchy/lbmk:master into master Leah Rowe 2026-03-21 07:38:59 +01:00
  • 00f7306971 Merge pull request 'Enable CBFS file option backend on T480s' (#410) from noisytoot/t480s-cbfs-file-option-backend into master Leah Rowe 2026-03-21 07:38:39 +01:00
  • 3871c02cb5 nvmutil: fix unveil call Leah Rowe 2026-03-19 20:40:42 +00:00
  • 3a0460607d util/nvmutil: better getrandom safety Leah Rowe 2026-03-19 19:55:27 +00:00
  • 2c211d385e fix variable name Leah Rowe 2026-03-19 19:16:32 +00:00
  • e55f7ea081 util/nvmutil: re-add fallback timer rand Leah Rowe 2026-03-19 19:02:59 +00:00
  • 0229e84539 util/nvmutil: remove arandom fallback on rand Leah Rowe 2026-03-19 18:36:59 +00:00
  • f8b07dba29 util/nvmutil: rand: use getrandom on newer linux Leah Rowe 2026-03-19 18:34:28 +00:00
  • 7c66a788bd util/nvmutil: buffered urandom reads Leah Rowe 2026-03-19 17:27:02 +00:00
  • 55f006318a tidy some comments Leah Rowe 2026-03-19 16:02:15 +00:00
  • 7ad924a91f nvmutil: make tmpdir string much more random Leah Rowe 2026-03-19 08:50:09 +00:00
  • 50300f846f util/nvmutil: hardened mkstemp Leah Rowe 2026-03-19 08:07:47 +00:00
  • 4b35d9ac29 nvmutil: rename lseek_loop to lseek_on_eintr Leah Rowe 2026-03-19 07:48:53 +00:00
  • 1fbe972fa7 nvmutil: rename x_i_close to close_on_eintr Leah Rowe 2026-03-19 07:45:34 +00:00
  • dcf698b9a0 nvmutil: don't have finite eintr wait Leah Rowe 2026-03-19 07:43:43 +00:00
  • 2eee2b5cac nvmutil: rename x_i_fsync to fsync_on_eintr Leah Rowe 2026-03-19 07:41:04 +00:00
  • 6d0bb47b82 util/rename: rename x_i_fsync Leah Rowe 2026-03-19 07:38:54 +00:00
  • 846cb23585 nvmutil: remove memcmp/memcpy/strrchr/rename Leah Rowe 2026-03-19 07:32:46 +00:00
  • f1fda8b43e util/nvmutil: tidy up includes Leah Rowe 2026-03-19 06:59:11 +00:00
  • 2ed8db3adc util/nvmutil: major cleanup Leah Rowe 2026-03-18 19:30:32 +00:00
  • 6ccd54635f now remove the .empty files Leah Rowe 2026-03-18 14:27:41 +00:00
  • 61a32316ed util/nvmutil: add obj dir to git Leah Rowe 2026-03-18 14:26:39 +00:00
  • fe00bebc06 util/nvmutil: add rule to create lib objdir Leah Rowe 2026-03-18 14:25:14 +00:00
  • 594cc262f4 nvmutil: move lib files to lib/ Leah Rowe 2026-03-18 14:04:51 +00:00
  • 4dbb1c9bf3 util/nvmutil: put objects in obj/ Leah Rowe 2026-03-18 14:00:30 +00:00
  • bd7be7bb7e nvmutil makefile: use portable assignments Leah Rowe 2026-03-18 13:40:20 +00:00
  • 27371af4bc nvmutil: split nvmutil.c into multiple files Leah Rowe 2026-03-18 13:13:27 +00:00
  • 722ed03179 util/nvmutil: remove global variable x Leah Rowe 2026-03-18 07:17:40 +00:00
  • 5c51352cf7 nvmutil: disable arc4random on obsd below 2.1 Leah Rowe 2026-03-18 05:18:23 +00:00
  • 71da2f53cf util/nvmutil: initialise st in tmpdir Leah Rowe 2026-03-18 05:13:02 +00:00
  • 3b389d4aec util/nvmutil: use strlen for tmpdir length Leah Rowe 2026-03-18 05:08:54 +00:00
  • ee5ff03765 nvmutil tmpdir: check world-writeable / sticky bits Leah Rowe 2026-03-18 04:49:22 +00:00
  • 4810284f12 nvmutil: fix modulo bias in mkstemp Leah Rowe 2026-03-18 04:45:53 +00:00
  • 8d467ecea9 util/nvmutil: limit EAGAIN/EINTR retries Leah Rowe 2026-03-18 04:44:36 +00:00
  • 3f2a6e749f util/nvmutil: use real fsync Leah Rowe 2026-03-18 04:39:50 +00:00
  • ef2d5ccdf4 nvmutil: don't disable blocking on random Leah Rowe 2026-03-18 04:36:04 +00:00
  • e48a8046d3 re-add arc4random in nvmutil Leah Rowe 2026-03-18 04:31:25 +00:00