u4b - Fix panic on certain cell phone connections * Remove incorrect unlock in ucom_close(). * Add missing usb_callout_stop() to umass_cam_detach_sim(), fixes issue with umass if the mass-storage device quickly connects and disconnects from the bus. Reported-by: Rolinh
sendmail - pre-fork in daemon mode to avoid stall (2) * disconnect() and set CurrentPid on pre-fork. This fixes an issue where the boot console is revoked and enters getty before the backgrounded sendmail disconnects from the foreground process and tty, causing sendmail to complain in /var/log/maillog. This issue can occur due to myhostname() stalls when the internet is not available (e.g. /etc/resolv.conf is present but wifi-only system has not yet associated), or has other connectivity issues during boot. Reported-by: Rolinh
kernel: Fix error for dup2 if the new file descriptor is out of bounds. According to POSIX, when using fcntl()'s F_DUPFD or F_DUPFD_CLOEXEC commands and the new file descriptor is out of bounds, EINVAL must be returned. But if it is out of bounds when using dup2(), EBADF must be returned. So add detection of whether kern_dup() was called from kern_fcntl() or from sys_dup2() and act accordingly.
dhclient - Do not force-up wlan interfaces * Do not force a wlan interface up, this may interfere with wpa_supplicant operation. * Increase the default timeout for waiting for the interface to become active from 10 seconds to 30 seconds. wlan interfaces can take considerably longer than 10 seconds to associate and dhclient operation now detaches without waiting so the longer timeout will not interfere with the boot sequence.
dhclient - Add -x and -w and adjust rc scripts * Add the -w option which prevents dhclient from exiting on interface down. dhclient will sleep 10 seconds and retry, forever. * Add the -x option which kills any running dhclient on the specified interface. * Adjust rc.d/dhclient to use the -x option to kill the dhclient instead of taking down the interface (which no longer kills it), and also adjust the default flags to pass -w.