Commit Graph

  • 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
  • 292f504524 nvmutil: stronger entropy_jitter() Leah Rowe 2026-03-16 22:09:26 +00:00
  • 464fb5c0d8 util/nvmutil: don't use strcpy Leah Rowe 2026-03-16 22:05:00 +00:00
  • cf8cb4bdcc util/nvmutil: check fd path in try_fdpath Leah Rowe 2026-03-16 22:02:17 +00:00
  • ab8929808f util/nvmutil: add bound check to x_try_fdpath Leah Rowe 2026-03-16 21:53:30 +00:00
  • 8911d2c1dd another comment Leah Rowe 2026-03-16 21:51:01 +00:00
  • c6ae1d5ea2 comment Leah Rowe 2026-03-16 21:46:06 +00:00
  • 6e6ab09cb0 cleanup (fix potential overflow in mkstemp) Leah Rowe 2026-03-16 21:17:25 +00:00
  • 47a654a870 fsync_dir: abort if path length is empty Leah Rowe 2026-03-16 21:15:01 +00:00
  • d0a125c16d nvmutil: prevent theoretical overflow on time() Leah Rowe 2026-03-16 21:13:13 +00:00
  • 28820d169c also O_NOFOLLOW Leah Rowe 2026-03-16 21:09:05 +00:00
  • 1207b1bb72 util/nvmutil: dir fsync with O_DIRECTORY Leah Rowe 2026-03-16 21:07:49 +00:00
  • ddb0bc314d util/nvmutil: fix mkstemp randomness Leah Rowe 2026-03-16 21:06:15 +00:00
  • b951ef2433 cast Leah Rowe 2026-03-16 21:01:33 +00:00
  • 251ba82ccb util/nvmutil: more reliable fallback crypto Leah Rowe 2026-03-16 20:53:46 +00:00
  • a575a47733 util/nvmutil: use real rename() syscall Leah Rowe 2026-03-16 19:56:53 +00:00
  • 8e2921f1ce nvmutil: harden against hardlink attacks Leah Rowe 2026-03-16 18:41:03 +00:00
  • 4871f4fda7 redundancy Leah Rowe 2026-03-16 18:38:21 +00:00
  • 0237c9c9c6 util/nvmutil: loop EINTR on fsync Leah Rowe 2026-03-16 18:35:35 +00:00
  • 5ce5ac2994 pointer safety Leah Rowe 2026-03-16 18:28:36 +00:00
  • 7b62a1653b don't use PATH_MAX Leah Rowe 2026-03-16 18:22:29 +00:00
  • 1883325cd0 macro safety Leah Rowe 2026-03-16 18:19:42 +00:00
  • 2b3966feba util/nvmutil: portable S_IFMT Leah Rowe 2026-03-16 18:18:44 +00:00
  • 7650ab051f util/nvmutil: remove integer typedefs Leah Rowe 2026-03-16 18:14:53 +00:00
  • 445e96aefc util/nvmutil: remove global statics Leah Rowe 2026-03-16 18:11:30 +00:00
  • 28a499e556 util/nvmutil: fix unveil usage Leah Rowe 2026-03-16 17:30:03 +00:00
  • 96dde65d16 util/nvmutil: proper /dev/fd search in fchmod Leah Rowe 2026-03-16 17:11:08 +00:00
  • 120241f1cf util/nvmutil: tidy up makefile options Leah Rowe 2026-03-16 16:59:17 +00:00
  • c46a634288 nope. put -Werror in the makefile Leah Rowe 2026-03-16 16:56:01 +00:00
  • 71ce22a938 nvmutil makefile: define WERROR but blank it Leah Rowe 2026-03-16 16:54:17 +00:00
  • af40114be7 util/nvmutil: portable fchmod Leah Rowe 2026-03-16 16:52:28 +00:00
  • a0fd201b31 Revert "util/nvmutil: don't use fsync()" Leah Rowe 2026-03-16 16:39:59 +00:00
  • e6b53e8aed util/nvmutil: longer string in mkstemp Leah Rowe 2026-03-16 16:37:07 +00:00
  • ad5a4771bf util/nvmutil: don't use mktemp Leah Rowe 2026-03-16 16:35:06 +00:00
  • f365969d34 util/nvmutil: don't declare libc prototypes Leah Rowe 2026-03-16 16:30:44 +00:00
  • 5927c175df util/nvmutil: portable memcpy/memcmp Leah Rowe 2026-03-16 16:27:56 +00:00
  • 612783bc24 util/nvmutil: more portable close() Leah Rowe 2026-03-16 16:21:07 +00:00
  • 26d8807b79 util/nvmutil: more secure tmpdir() Leah Rowe 2026-03-16 16:19:27 +00:00
  • 1ce06b01e0 util/nvmutil: fix O_NONBLOCK fallback Leah Rowe 2026-03-16 16:16:58 +00:00
  • 15cbafe20b util/nvmutil: more secure mkstemp Leah Rowe 2026-03-16 16:12:02 +00:00
  • 24c4e715e6 util/nvmutil: more reliable TMPDIR handling Leah Rowe 2026-03-16 16:10:25 +00:00
  • 0e0fcd5a81 util/nvmutil: don't use fsync() Leah Rowe 2026-03-16 16:04:41 +00:00
  • 4233f76fee util/nvmutil: more portable functtions Leah Rowe 2026-03-16 16:00:49 +00:00
  • 64835e67fd util/nvmutil: add portable malloc extern Leah Rowe 2026-03-16 15:50:52 +00:00
  • 0043446f60 util/nvmutil: don't use size_t/ssize_t Leah Rowe 2026-03-16 15:46:19 +00:00
  • a8fe2c79db util/nvmutil: don't use SSIZE_MAX (not portable) Leah Rowe 2026-03-16 15:43:06 +00:00
  • 6c37d2aa4b util/nvmutil: typeset size_t explicitly Leah Rowe 2026-03-16 15:40:05 +00:00
  • ae43dc391f util/nvmutil: run-time CHAR_BIT test Leah Rowe 2026-03-16 15:36:10 +00:00
  • ab806d2546 util/nvmutil: lower default PATH_LEN Leah Rowe 2026-03-16 15:34:28 +00:00
  • 9bdd91131d util/nvmutil: portable struct timeval Leah Rowe 2026-03-16 15:33:02 +00:00
  • ea71010f85 util/nvmutil: portable S_ISREG Leah Rowe 2026-03-16 15:23:20 +00:00
  • 6a898dff72 mktemp prototype Leah Rowe 2026-03-16 15:22:28 +00:00
  • ff458943c3 util/nvmutil: portable gettimeofday Leah Rowe 2026-03-16 15:21:59 +00:00
  • e9d90e8aca util/nvmutil: use portable mkstemp Leah Rowe 2026-03-16 15:15:53 +00:00
  • 2a6a63fef3 util/nvmutil: better urandom portability Leah Rowe 2026-03-16 15:10:49 +00:00
  • 609076d98b util/nvmutil: use local tmpfile on openbsd Leah Rowe 2026-03-16 14:56:11 +00:00
  • 381b7e3abb util/nvmutil: /dev/random fallback Leah Rowe 2026-03-16 14:47:55 +00:00
  • d7dea02fba add -I. to nvmutil makefile Leah Rowe 2026-03-15 23:28:44 +00:00
  • 5b8ea71bbd re-add strict flags Leah Rowe 2026-03-15 23:27:49 +00:00
  • e795e42f66 also remove -Wextra Leah Rowe 2026-03-15 21:32:22 +00:00
  • 7f14693e6c util/nvmutil: more portable Makefile Leah Rowe 2026-03-15 21:30:16 +00:00