[Midnightbsd-cvs] [MidnightBSD/src] 02e3d3: kqueue: add NOTE_REAP; queue(3): add *_SPLIT_AFTER...

Thread index · Date index · Mailing lists

From: Lucas Holt <noreply_at_github.com>
Date: Thu, 15 Oct 2026 02:52:29 UTC

  Branch: refs/heads/bin-fbsd14-sync\n  Home:   https://github.com/MidnightBSD/src\n  Commit: 02e3d325884ca0fbfa817dc2bd2734f260ba54ea\n      https://github.com/MidnightBSD/src/commit/02e3d325884ca0fbfa817dc2bd2734f260ba54ea\n  Author: Lucas Holt <luke@foolishgames.com>\n  Date:   2026-10-14 (Wed, 14 Oct 2026)\n\n  Changed paths:\n    M lib/libc/sys/kqueue.2\n    M lib/libsysdecode/flags.c\n    M share/man/man3/queue.3\n    M sys/kern/kern_event.c\n    M sys/kern/kern_exit.c\n    M sys/kern/sys_procdesc.c\n    M sys/sys/event.h\n    M sys/sys/queue.h\n\n  Log Message:\n  -----------\n  kqueue: add NOTE_REAP; queue(3): add *_SPLIT_AFTER and *_ASSERT_* macros\n\nBackport from FreeBSD stable/14:\n\n- NOTE_REAP for EVFILT_PROC and EVFILT_PROCDESC fires when a process is\n  reaped by the wait(2) family rather than when it exits.  Needed by the\n  new pwait(1) -r.  NOTE_SIGNAL moves next to the other hint bits and\n  NOTE_PCTRLMASK is widened accordingly.  (FreeBSD b58c9e8cf6ac)\n- SLIST/STAILQ/LIST/TAILQ_SPLIT_AFTER and *_ASSERT_EMPTY/NONEMPTY\n  macros, used by the new ps(1).  (FreeBSD c4ee6d4acb90)\n\nCo-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>\n\n\n  Commit: 3595add5180ad1291f1bdb55302351ffa6b8c79f\n      https://github.com/MidnightBSD/src/commit/3595add5180ad1291f1bdb55302351ffa6b8c79f\n  Author: Lucas Holt <luke@foolishgames.com>\n  Date:   2026-10-14 (Wed, 14 Oct 2026)\n\n  Changed paths:\n    M bin/cat/cat.1\n    M bin/cat/cat.c\n    M bin/date/date.1\n    M bin/date/date.c\n    M bin/date/tests/format_string_test.sh\n    M bin/date/vary.c\n    M bin/dd/dd.c\n    M bin/dd/extern.h\n    M bin/dd/misc.c\n    M bin/dd/position.c\n    M bin/dd/tests/dd2_test.sh\n    M bin/ls/ls.1\n    M bin/ls/ls.c\n    M bin/ls/ls.h\n    M bin/ls/print.c\n    M bin/ls/tests/ls_tests.sh\n    M bin/ps/Makefile\n    M bin/ps/extern.h\n    M bin/ps/keyword.c\n    M bin/ps/print.c\n    M bin/ps/ps.1\n    M bin/ps/ps.c\n    M bin/ps/ps.h\n    M bin/pwait/pwait.1\n    M bin/pwait/pwait.c\n    M bin/pwait/tests/Makefile\n    A bin/pwait/tests/pwait_reap.c\n    M bin/pwait/tests/pwait_test.sh\n    M bin/timeout/tests/timeout_test.sh\n    M bin/timeout/timeout.1\n    M bin/timeout/timeout.c\n\n  Log Message:\n  -----------\n  bin: sync timeout, ps, pwait, ls, cat, dd and date with FreeBSD stable/14\n\ntimeout(1): -v/--verbose, short -f and -p, SIGALRM to timeout triggers the\n  time-out, other signals (except SIGKILL/SIGSTOP) are forwarded to the\n  child, timeout signal disposition is reset in the child.  Updated tests.\nps(1): -D up|down|both to expand the selection along the process tree,\n  -A documented, selection options now OR together with -X/-x as an\n  independent controlling-terminal filter.  Rewritten man page.  Adds the\n  PS_CHECK_KEYWORDS build knob; keeps the local tests hook.\npwait(1): -p prints PIDs still alive on exit, -r waits until the process\n  is reaped (needs the NOTE_REAP kernel), SIGINFO reports remaining PIDs,\n  PIDs tracked in a red-black tree.  New pwait_reap test.\nls(1): -g now means long format without the owner column, -S/-t/-v\n  override each other, fts_children() errors are reported and skipped\n  instead of silently producing partial output.\ncat(1): use copy_file_range(2) for plain files when no formatting flags\n  are given; keeps the MidnightBSD -A flag.\ndd(1): rework SIGINT handling so an interrupt during I/O terminates\n  cleanly, prints the summary and re-raises the signal.\ndate(1): -z output_zone, -I ns, %N / %nN / %-N nanosecond conversions,\n  nanosecond -r file, clock_settime(2).  Keeps the MidnightBSD -d GNU\n  compatibility option, hardened -v numeric parsing (now int64_t via\n  strtoimax) and the parse/vary tests.\n\nCo-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>\n\n\n  Commit: 2869879010babff050ce4e9693eff338e4196415\n      https://github.com/MidnightBSD/src/commit/2869879010babff050ce4e9693eff338e4196415\n  Author: Lucas Holt <luke@foolishgames.com>\n  Date:   2026-10-14 (Wed, 14 Oct 2026)\n\n  Changed paths:\n    M UPDATING\n\n  Log Message:\n  -----------\n  UPDATING: note bin/ sync with FreeBSD stable/14 and the pwait -r kernel dependency\n\nCo-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>\n\n\nCompare: https://github.com/MidnightBSD/src/compare/02e3d325884c%5E...2869879010ba\n\nTo unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications\n\nMidnightbsd-cvs\nmidnightbsd-cvs@midnightbsd.org\nTo unsubscribe: midnightbsd-cvs+unsubscribe@midnightbsd.org\nhttps://lists.midnightbsd.org/\n