CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/10/08 23:30:03
Modified files:
sys/kern : kern_pledge.c sys_generic.c
Log message:
shortcircuit TIOCGETA to directly return ENOTTY for non-ttys. It could
be called against a non-tty fd, so as to test "is this a tty". Discovered
by sthen and rob pierce at the same time.
