[Bug 297293] fget_procdesc(): EBADF -> EINVAL change breaks Qt's forkfd

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Aug 2026 02:48:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297293

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=83fa3c3ad84405df0ccbe5e65491df63b24782a0

commit 83fa3c3ad84405df0ccbe5e65491df63b24782a0
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-08-05 08:04:49 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-08-16 02:41:39 +0000

    pdkill(2), pdgetpid(2): return EBADF if the file type is not procdesc

    PR:     297293

    (cherry picked from commit e8b9b6b9f31c463137b4104550bfb3286a43703a)

 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.