CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2018/07/30 06:22:14
Modified files: sys/kern : subr_log.c sys_socket.c uipc_socket.c uipc_syscalls.c sys/net : bfd.c if_pflow.c sys/miscfs/fifofs: fifo_vnops.c sys/nfs : krpc_subr.c nfs_boot.c nfs_socket.c sys/sys : socketvar.h share/man/man9 : socreate.9 Log message: Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O mode for sockets is non-blocking. This allows us to G/C SS_NBIO. Having to keep the two flags in sync in a mp-safe way is complicated. This change introduce a behavior change in sosplice(), it can now always block. However this should not matter much due to the socket lock being taken beforhand. ok bluhm@, benno@, visa@