Hi On 2017-08-24, Eric W. Biederman wrote: > The implementation of TIOCGPTPEER has two issues. > > When /dev/ptmx (as opposed to /dev/pts/ptmx) is opened the wrong > vfsmount is passed to dentry_open. Which results in the kernel displaying > the wrong pathname for the peer.
[...] > v2: Lots of fixes to make the code actually work > v3: Suggestions by Linus > - Removed the unnecessary initialization of filp in ptm_open_peer > - Simplified devpts_ptmx_path as gotos are no longer required This version of the patch is working for me as well in all my test (including pbuilder) so far, thanks a lot. Regards Stefan Lippers-Hollmann
pgpwzn2D_Gl7T.pgp
Description: Digitale Signatur von OpenPGP