[screen-devel] [PATCH v3 (screen v4)] screen: handle pts devices in different namespaces

2017-04-05 Thread Christian Brauner
Various programs that deal with namespaces will use pty devices that exist in another namespace. One obvious candidate are containers. So far ttyname() was incorrectly handling this case because the pts device stems from the host and thus cannot be found amongst the current namespace's /dev/pts/ en

[screen-devel] [PATCH v3 (screen master)] screen: handle pts devices in different namespaces

2017-04-05 Thread Christian Brauner
Various programs that deal with namespaces will use pty devices that exist in another namespace. One obvious candidate are containers. So far ttyname() was incorrectly handling this case because the pts device stems from the host and thus cannot be found amongst the current namespace's /dev/pts/ en