[Bug 297293] fget_procdesc(): EBADF -> EINVAL change breaks Qt's forkfd
Date: Wed, 05 Aug 2026 18:17:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297293
--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=e8b9b6b9f31c463137b4104550bfb3286a43703a
commit e8b9b6b9f31c463137b4104550bfb3286a43703a
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-08-05 08:04:49 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-08-05 18:15:54 +0000
pdkill(2), pdgetpid(2): return EBADF if the file type is not procdesc
For pdwait(2) and pddupfd(2), the returned error is kept EINVAL.
PR: 297293
Reviewed by: lwhsu, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D58666
sys/kern/kern_exit.c | 3 ++-
sys/kern/kern_sig.c | 3 ++-
sys/kern/sys_procdesc.c | 10 ++++++----
sys/sys/procdesc.h | 4 ++--
4 files changed, 12 insertions(+), 8 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.