Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753643AbdHXUYx (ORCPT ); Thu, 24 Aug 2017 16:24:53 -0400 Received: from mout.gmx.net ([212.227.17.20]:54793 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbdHXUYw (ORCPT ); Thu, 24 Aug 2017 16:24:52 -0400 Date: Thu, 24 Aug 2017 22:24:21 +0200 From: Stefan Lippers-Hollmann To: Linus Torvalds Cc: "Eric W. Biederman" , Christian Brauner , Christian Brauner , Linux Kernel Mailing List , "Serge E. Hallyn" , Al Viro , Thorsten Leemhuis Subject: Re: [PATCH 0/1] devpts: use dynamic_dname() to generate proc name Message-ID: <20170824222421.7c59dd8e@mir> In-Reply-To: References: <20170816171211.4021-1-christian.brauner@ubuntu.com> <87ziazqdfr.fsf@xmission.com> <20170824022436.44adb497@mir> <87378hhi3y.fsf@xmission.com> <87wp5tfynr.fsf@xmission.com> <20170824062432.1e05e6f8@mir> <874lsxezal.fsf@xmission.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:OCzLSYpCJJ16iMu7XzLEp7yG+ftBb2DiJvFwgDgxxeO6lemZXxL ZEMbe0POI6l6lm+y4VYZcA4t8sC331fXQgOdZT6InhLxW5QH3uIyppF63xKDLIdtqNa78XK x/7DaiNUTHx18XXa6dhmfDEZOe8vUofiq7PJdmvbimz0mwmDrbUIpo0PQMTLSadjc1zdNUt J1Izrn8uASYhZrz+7xVeg== X-UI-Out-Filterresults: notjunk:1;V01:K0:bx2EnWAVjNQ=:Ve07sCOBefHcroS85VnjDs 2EddfOz+02hMMp2tPXzVHXXEg+BI3mRvDH6GKYPBJSQkZeuX2Mlc45GxBYKlCL2ECapVwMGi5 hGk4cviFIzyfwkQI5nhPNfYhYaOrAcXw1tjAFW9Y2jFeoMXKomVMybR1/gC+TKNriv1k/48NU cUhMayoMP+UDALHyIuHEN/GyQeniI71eB18oWFUhQoJeRTkMEhPczxpaZRhiRA53gtu+/WMEA X4ngxme6eyAkelKv3MCOr3eYe++v7wIaUVlGpZ/QPyNheRQz7gb6S99WAlR+bDhyxoISbcLX7 JIoP2QcXhUrHor2h5wONyn6MPkZiHrBIa6tNvBp3WD7F0cMjLjFitmxOpMVMDczGYWSt6lEDg Q4apCr197WpUxVONzN2ToIBU1vZ7ByNztPoaFp48VP9Rd5XtXU/SqPAXcC2IW83n9P9tP9ko8 KFOVroRwld3VUXQ817BkaldfWjlR8gBSW58d4c56u9MBS1qU3hVUGgS8X5Chx+QQIUTLsWZpn 2wZb0Yl1LFr7WMsDdiT2FGNyMLEgUx+5pqrhMFqUGOFOFZb/ElIWSb++FRShXD6Az5G+pWPMS IF67uZskbi/TpeXnaOG9IpvRYb2HcFzCiW/3JGulw+DHvOBWpRMpc8/K2H7aHQHSTBO0oJvpP KjJJnkphCsvwDlRF9cTbA69sPzNwDcMEOBnZwy5eCEOPV19AfB5G6rDT/r2KkeRGzTAY7RAHq 0SCUpRNbkRkvqQajsVOdlTdHNYEZ3M7C3ZOmLJy7Jj6YXUbgh3A15hk9yuaARopt0+JObx5QG nmo66faxEPpCoO+TgYULtqrP5l9CQZ83qup1vs3s8KevaW1iic= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 24 Hi [ sorry for the re-send, this accidentally only reached you, rather than the mailing list and the other recipients as well ] On 2017-08-24, Linus Torvalds wrote: > On Thu, Aug 24, 2017 at 11:31 AM, Linus Torvalds > wrote: > > > > It should just do a "return ptm_open_peer(file, tty, (int)arg);" instead. > > Here's the actual tested patch. It "WorksForMe(tm)", including the > TIOCGPTPEER ioctl, and also verified that it gets the pathname right > in /proc, which was the original problem. > > But I did *not* check that pbuilder is still happy. Stefan? This patch seems to work, ssh, xterm (konsole5), real tty and pbuilder (creating- and updating the build chroots, just as well as building several fairly involved packages) are fine with this patch on top of v4.13-rc6-66-g143c97cc6529 (tested on x86_64). Thanks a lot Stefan Lippers-Hollmann