1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sbin/init
Ed Schouten 6ee5808be7 Properly clear the O_NONBLOCK flag after opening the TTY.
Though we should open the TTY with O_NONBLOCK to prevent rc(8) execution
from potentially stalling, we must not forget to clear the flag later
on, to prevent read(2) calls from failing later on.

This prevented the shell pathname prompt from working properly.

Reported by:	kib
2012-04-06 13:06:01 +00:00
..
init.8 mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
init.c Properly clear the O_NONBLOCK flag after opening the TTY. 2012-04-06 13:06:01 +00:00
Makefile Migrate init(8) towards utmpx. 2010-01-13 17:58:49 +00:00
NOTES
pathnames.h Make init(8) slightly more robust when /dev/console is missing. 2012-03-14 16:22:09 +00:00