CVS commit: [netbsd-9] src
"Martin Husemann" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: martin Date: Sat Jun 27 19:32:16 UTC 2026 Modified Files: src/sys/kern [netbsd-9]: uipc_usrreq.c src/tests/net/net [netbsd-9]: t_unix.c Log Message: Pull up following revision(s) (requested by riastradh in ticket #2019): tests/net/net/t_unix.c: revision 1.26 tests/net/net/t_unix.c: revision 1.27 tests/net/net/t_unix.c: revision 1.28 sys/kern/uipc_usrreq.c: revision 1.208 t_unix: Sort includes. No functional change intended. Preparation for: PR kern/59220: accept(2): null pointer deref t_unix: Make existing tests more reliable by exiting in child. Returning into atf in the child is not helpful. Preparation for adding a test for: PR kern/59220: accept(2): null pointer deref unp_accept: Fix assertion in SS_ISCONNECTING case. This null test matches the assertion inside soisconnected. In this context, so2 must also be locked, and we no longer assert so directly here -- but the assertions never worked as far as I can tell since they were added in 2008, and soisconnected already asserts solocked(so2), so this is fine. (Not doing this via xfail test because it crashes the whole test bed when the assertion fires, but the test that tripped this assertion is coming shortly.) PR kern/59220: accept(2): null pointer deref t_unix: Test LOCAL_CONNWAIT. PR kern/59220: accept(2): null pointer deref To generate a diff of this commit: cvs rdiff -u -r1.194.2.2 -r1.194.2.3 src/sys/kern/uipc_usrreq.c cvs rdiff -u -r1.18 -r1.18.2.1 src/tests/net/net/t_unix.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.