Patch-ID# 101747-01 Keywords: O_NDELAY, O_NONBLOCK, socket, non-blocking, posix, connect Synopsis: SunOS 4.1.3: POSIX option O_NONBLOCK doesn't make a socket non-blocking Date: May/27/94 SunOS release: 4.1.3 Topic: O_NONBLOCK does not function like O_NDELAY on sockets BugId's fixed with this patch: 1165551 Architectures for which this patch is available: sun4,sun4m,sun4c Patches which may conflict with this patch: Obsoleted by: Problem Description: The O_NONBLOCK (or FNONBIO) flag in fcntl(F_SETFL) does not function the same as O_NDELAY when processing the connect(2) system call. This patch fixes it to return EINPROGRESS just as if O_NDELAY had been used. INSTALL: As root: Make a backup copy of the files to be installed: mv /sys/`arch -k`/OBJ/uipc_syscalls.o /sys/`arch -k`/OBJ/uipc_syscalls.o.FCS Now install the patched files: cp 4.1.3/`arch -k`/uipc_syscalls.o /sys/`arch -k`/OBJ Run /etc/config and make and install the new kernel. Please refer to the system and networking administration manual for details on building and installing a new kernel.