]> Zhao Yanbai Git Server - minix.git/commit
libutil: add O_NOCTTY to old pty open code
authorBen Gras <ben@minix3.org>
Mon, 26 Mar 2012 15:00:45 +0000 (17:00 +0200)
committerBen Gras <ben@minix3.org>
Tue, 27 Mar 2012 00:39:57 +0000 (02:39 +0200)
commit9afa2418d8451afe1a8674a28fc3f1e3579f2bc1
tree2a9ae6932c3a22aaeb8cc0db05755de1209a5dbb
parent886c25379341fb971ad32ae2c1e6c608742e9206
libutil: add O_NOCTTY to old pty open code

. fixes e.g. ssh sessions not getting their own
  controlling tty (causing ^C getting broadcast to too
  many processes)
. previously (before -lutil) handled like this by bsd-openpty.c in
  openssh
. reported by Andy Kosela, debugged by ThomasV
lib/libutil/pty.c