PR/60436 CVS commit: src/sys/kern

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR kern/60436; it has been noted by GNATS.

From: "Taylor R Campbell" <[email protected]>
To: [email protected]
Cc: 
Subject: PR/60436 CVS commit: src/sys/kern
Date: Fri, 10 Jul 2026 14:32:21 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Jul 10 14:32:21 UTC 2026
 
 Modified Files:
 	src/sys/kern: kern_event.c
 
 Log Message:
 kqueue(2): Tighten branch in previous change.
 
 If sleepok is true, then kmem_zalloc should never fail, and this
 routine is inline with constant arguments at every call site, so
 let's let the compiler prune dead branches for the call sites that
 can sleep.
 
 PR kern/60436: kqueue(2): random kernel null pointer deref in
 EVFILT_PROC NOTE_TRACK
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.153 -r1.154 src/sys/kern/kern_event.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.