tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enhance ptyfs to handle multiple instances.

On 04.04.2014 18:55, Christos Zoulas wrote:
> On Apr 4,  6:40pm, (Ilya Zykov) wrote:
> -- Subject: Re: Enhance ptyfs to handle multiple instances.
> | > 
> | > Should we put a pointer in the pty node that points to the primary mount 
> point
> | > then so we get the correct one? 
> | 
> | Why? In general case we forever must return first which mount first, next 
> mount point,
> | shouldn't replace previous, else incorrect TIOCPTMGET(path) for already 
> opened pty we will have.
> | Simple appends it to the tail will be good(IMHO).
> I have to think about it. If you opened a pty in a chroot, the pty node
> will appear both in the chroot and in the regular mount. If you opened
> a pty outside the chroot, the pty will appear only in the regular mount
> and not in the chroot, right? If you have 2 chroots, each one will only
> show its own ptys, but the regular not rooted mount will show all of them?

Maybe I do not understand you correctly.
No. Every is in proper MP.

Home | Main Index | Thread Index | Old Index