[0/3] Linux: Rework Linux PTY support

Message ID cover.1590574208.git.fweimer@redhat.com
Headers
Series Linux: Rework Linux PTY support |

Message

Florian Weimer May 27, 2020, 10:14 a.m. UTC
  BSD terminal support is pretty much always compiled out in the kernel,
and /dev does not contain the matching device nodes.  Therefore, the
fallback code is unused.

Tested on x86_64-linux-gnu.

Florian Weimer (3):
  login/tst-grantpt: Convert to support framework, more error checking
  Linux: unlockpt needs to fail with EINVAL, not ENOTTY (bug 26053)
  Linux: Require properly configured /dev/pts for PTYs

 NEWS                               |  12 ++++
 login/tst-grantpt.c                | 105 +++++++++++++++++++----------
 sysdeps/unix/sysv/linux/getpt.c    |  67 +-----------------
 sysdeps/unix/sysv/linux/grantpt.c  |  73 ++++++++++----------
 sysdeps/unix/sysv/linux/ptsname.c  |  95 ++------------------------
 sysdeps/unix/sysv/linux/unlockpt.c |  21 ++----
 6 files changed, 130 insertions(+), 243 deletions(-)