In sys/kern/kern_event.c function sysctl_kern_proc_kqueue() checks for the FREEBSD_COMPAT32 define, which doesn't exist. It should be COMPAT_FREEBSD32 instead: #ifdef FREEBSD_COMPAT32 compat32 = SV_CURPROC_FLAG(SV_ILP32); #else compat32 = false; #endif
^Triage: over to committer of ab9b296498fe .
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=cab4cf201acf76b415a8f1a59ea4eeeb14b4636c commit cab4cf201acf76b415a8f1a59ea4eeeb14b4636c Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-09-13 17:42:11 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-09-13 17:42:11 +0000 kern/kern_event.c: properly spell COMPAT_FREEBSD32 PR: 289504 Reported by: Damjan Jovanovic <damjan.jov@gmail.com> Sponsored by: The FreeBSD Foundation MFC after: 1 week sys/kern/kern_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c2427a67c7af60bd4d07acce0ab4f0c4be2258c2 commit c2427a67c7af60bd4d07acce0ab4f0c4be2258c2 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-09-13 17:42:11 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-09-16 02:45:13 +0000 kern/kern_event.c: properly spell COMPAT_FREEBSD32 PR: 289504 (cherry picked from commit cab4cf201acf76b415a8f1a59ea4eeeb14b4636c) sys/kern/kern_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8c40728a46d4c2a3a93314deca47252f5c2ebe12 commit 8c40728a46d4c2a3a93314deca47252f5c2ebe12 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-09-13 17:42:11 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-09-16 02:44:39 +0000 kern/kern_event.c: properly spell COMPAT_FREEBSD32 PR: 289504 (cherry picked from commit cab4cf201acf76b415a8f1a59ea4eeeb14b4636c) sys/kern/kern_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)