diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-02-27 14:37:59 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-02-27 14:37:59 +0000 |
commit | 8052f6641ab3f87995bf1c9a600febcff7342382 (patch) | |
tree | 4e000e1c2ca8bae0beae7671e4dabb7f36891ee4 /sys/dev/wscons | |
parent | 53d72e3c67f10180304ea6cd765bacaeff328c20 (diff) |
Replace openpty(3) with local function that uses pre-opened /dev/ptm fd
This allows more flexibility for upcoming changes and better pledge.
We also didn't use half of the features of libutil's openpty function.
Additionally, make sure that the ttys are closed correctly on shutdown.
OK gilles@
Diffstat (limited to 'sys/dev/wscons')
0 files changed, 0 insertions, 0 deletions