Module Name: src Committed By: martin Date: Sun Feb 4 11:20:15 UTC 2024
Modified Files: src/sys/kern [netbsd-10]: uipc_socket.c uipc_syscalls.c src/sys/net [netbsd-10]: if_gre.c src/sys/sys [netbsd-10]: socketvar.h Log Message: Pull up following revision(s) (requested by jdolecek in ticket #583): sys/kern/uipc_socket.c: revision 1.308 sys/kern/uipc_syscalls.c: revision 1.211 sys/sys/socketvar.h: revision 1.168 sys/net/if_gre.c: revision 1.185 fix PIPE_SOCKETPAIR variant of pipe1() to apply correctly the 'flags' passed when called via pipe2(2), fixing repeatable process hang during compilation with 'gcc -pipe' refactor fsocreate() to return the new socket and file pointers, expect the caller to call fd_affix() once initialization is fully complete use the new fsocreate() to replace the duplicate open-coded 'flags' handling in makesocket() used for socketpair(2), and in the PIPE_SOCKETPAIR pipe1() this also fixes lib/libc/sys/t_pipe2 pipe2_cloexec test to succeed on PIPE_SOCKETPAIR kernel fixes PR kern/55690 To generate a diff of this commit: cvs rdiff -u -r1.302 -r1.302.4.1 src/sys/kern/uipc_socket.c cvs rdiff -u -r1.206 -r1.206.4.1 src/sys/kern/uipc_syscalls.c cvs rdiff -u -r1.184 -r1.184.4.1 src/sys/net/if_gre.c cvs rdiff -u -r1.165 -r1.165.4.1 src/sys/sys/socketvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.