CVSROOT: /cvs Module name: src Changes by: mes...@cvs.openbsd.org 2017/08/22 10:32:37
Modified files: usr.bin/cu : cu.c Log message: Call isatty(3) prior to ioctl(TIOCEXCL) to check if cu(1) was invoked on a non-TTY and if that's the case then close the application. Otherwise without this verification if it's really a non-TTY then cu(1) will be aborted by pledge(2). feedback and OK by deraadt@