LWN: Comments on "Containers, pseudo TTYs, and backward compatibility" https://lwn.net/Articles/688809/ This is a special feed containing comments posted to the individual LWN article titled "Containers, pseudo TTYs, and backward compatibility". en-us Fri, 03 Oct 2025 23:56:30 +0000 Fri, 03 Oct 2025 23:56:30 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net A couple of updates and clarifications. https://lwn.net/Articles/690107/ https://lwn.net/Articles/690107/ ebiederm <div class="FormattedComment"> The code was merged for 4.7-rc2<br> <p> xen-create-image is not the only problematic piece of userspace code, but rather a concrete example of a mistake that is easy to make.<br> <p> Confusing a setuid pt_chown has been possible since multiple instances of devpts were introduced.<br> <p> The reasons for changing the behavior of what happens when devpts is mounted go beyond any concerns about a setuid pt_chown. The need for the newinstance option to devpts has been an imperfect solution from the start.<br> <p> </div> Tue, 07 Jun 2016 12:26:33 +0000 distro usage of pt_chown https://lwn.net/Articles/689555/ https://lwn.net/Articles/689555/ TheJH <div class="FormattedComment"> Debian did it until a few months ago, and I thiiink Ubuntu only pulled that change from them. See Debian's changelog:<br> <p> <a href="http://metadata.ftp-master.debian.org/changelogs//main/g/glibc/glibc_2.19-18+deb8u4_changelog">http://metadata.ftp-master.debian.org/changelogs//main/g/...</a><br> <p> glibc (2.19-18+deb8u4) stable; urgency=medium<br> <br> [ Aurelien Jarno ]<br> [...]<br> * sysdeps/linux.mk: don't build pt_chown (CVE-2013-2207). Closes: #717544.<br> <br> -- Aurelien Jarno &lt;aurel32@debian.org&gt; Sat, 27 Feb 2016 23:17:33 +0100<br> </div> Thu, 02 Jun 2016 18:03:15 +0000 distro usage of pt_chown https://lwn.net/Articles/689464/ https://lwn.net/Articles/689464/ vapier <div class="FormattedComment"> setuid pt_chown as a bad idea isn't a new discovery. CVE-2013-2207 documents this, and the solution in glibc was to stop building &amp; installing it by default:<br> <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=15755">https://sourceware.org/bugzilla/show_bug.cgi?id=15755</a><br> this has been the behavior with the glibc-2.18+ release.<br> <p> somewhat fortuitously, Gentoo dropped pt_chown a few months before to be proactive along the lines of "set*id is bad". this was applied to glibc-2.16+ versions.<br> <a href="https://bugs.gentoo.org/465308">https://bugs.gentoo.org/465308</a><br> <p> so what current distros are still passing --enable-pt_chown ? i'm not seeing it in Fedora's rpm spec files, nor in Debian's file list for libc-bin (which is based on glibc-2.19). Ubuntu has it up through wily, but looks like they finally dropped it in xenial.<br> </div> Thu, 02 Jun 2016 04:24:47 +0000