Project

General

Profile

Actions

Feature #5386

open

implement openpty(3C), forkpty(3C), and login_tty(3C)

Added by Rich Lowe over 7 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Category:
-
Start date:
2014-12-03
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Other systems have openpty() and forkpty() functions to make dealing with pty's considerably easier and more foolproof than they are for us.

The way it must be done on illumos is basically to implement whichever of those two routines you want, completely, and yourself. This should not be.

A correct implementation of each (and anything related I don't know of) should be in libc.


Related issues

Related to illumos gate - Feature #13994: align pseudo-terminal terminology with POSIXDuplicateJoshua M. Clulow

Actions
Related to illumos gate - Feature #14249: pseudo-terminal nomenclature should reflect POSIXClosedJoshua M. Clulow

Actions
Related to illumos gate - Bug #6995: ioctl I_PUSH on a pty ignores O_NOCTTY and acquires it as controlling terminalNew2016-05-24

Actions
Has duplicate illumos gate - Feature #9041: implement forkptyDuplicate2018-02-05

Actions
Actions

Also available in: Atom PDF