Re: Hard-coding PTY device node numbers in userspace

2017-02-21 Thread Greg KH
On Sun, Feb 19, 2017 at 04:35:12PM +0100, Florian Weimer wrote: > * Greg KH: > > > On Fri, Feb 17, 2017 at 12:02:52PM +0100, Florian Weimer wrote: > >> We want to reject PTY devices from other namespaces as valid input to > >> the ttyname and ttyname_r functions, while still providing a hint to >

Re: Hard-coding PTY device node numbers in userspace

2017-02-19 Thread Florian Weimer
* Greg KH: > On Fri, Feb 17, 2017 at 12:02:52PM +0100, Florian Weimer wrote: >> We want to reject PTY devices from other namespaces as valid input to >> the ttyname and ttyname_r functions, while still providing a hint to >> callers that the device is, in fact, a PTY. Christian Brauner wrote a >>

Re: Hard-coding PTY device node numbers in userspace

2017-02-17 Thread Greg KH
On Fri, Feb 17, 2017 at 12:02:52PM +0100, Florian Weimer wrote: > We want to reject PTY devices from other namespaces as valid input to > the ttyname and ttyname_r functions, while still providing a hint to > callers that the device is, in fact, a PTY. Christian Brauner wrote a > glibc patch for t