From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 06FA01381F3 for ; Fri, 12 Apr 2013 16:21:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 701BDE0929; Fri, 12 Apr 2013 16:21:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C456E0920 for ; Fri, 12 Apr 2013 16:21:07 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 736A033E3E7; Fri, 12 Apr 2013 16:21:06 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] glibc: pt_chown setuid going away by default Date: Fri, 12 Apr 2013 12:22:35 -0400 User-Agent: KMail/1.13.7 (Linux/3.8.3; KDE/4.6.5; x86_64; ; ) Cc: Maxim Kammerer References: <201304100115.53431.vapier@gentoo.org> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1491638.8yKtDWmf6g"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201304121222.36527.vapier@gentoo.org> X-Archives-Salt: d33bf89c-d855-4190-8121-55be434301ae X-Archives-Hash: 1ebb6dc8b00b56212b8990fc9007a11a --nextPart1491638.8yKtDWmf6g Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Friday 12 April 2013 02:50:20 Maxim Kammerer wrote: > On Wed, Apr 10, 2013 at 8:15 AM, Mike Frysinger wrote: > > i plan on updating the latest glibc to add USE=3Dsuid. in pkg_preinst = and > > ROOT=3D=3D/, the ebuild will read /proc/mounts for a devpts line with g= id=3D5.=20 > > if it doesn't find one, i'll have it call `die`. >=20 > What about chroot builds? I have /dev/pts bind-mounted from the (old) > host filesystem into chroot, yet pt_chown has its suid bit happily > disabled in deployed build since long time ago. i don't know what you mean. if the ebuild detects devpts being mounted and= =20 the mount is incorrect, it will die. if you don't have devpts mounted at a= ll,=20 then it assumes you know what you're doing. =2Dmike --nextPart1491638.8yKtDWmf6g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJRaDTMAAoJEEFjO5/oN/WBM7sQALbJlOK1ARxqrD22pYkG0ygf Ziw/o0MJ3FqAtXrgb9R+8pxjAVM0b3l6B2n4WVXmPEvsVuwsxD7HmNV8G+jUaTfy O6bCrZHex38NrCubt5wfvytE1Zxw9jC25F9vnM0r67LdFkSoFDQaJ5o02ibPfMGZ X/h1tETjGuZYvpSlqlXDZgpa40vN+izxswBVxdZbDVM7a6lDWbKhxBiAi+hLy+Aq EQab+lz25U1Cr6/vDeowKYaa20l7DglHI5lOh5GYZ0Bwrm31qFFl19QFk3/3Y/Eb 2ofc/OsBcJzEeWa7+sSq3USzo4ktBcQf6B3MyiKwOHi38yfjT9Grka3/Iueyceyc 3/kW2YLOqwG4IM5NM0gxmBp9K6jdCbux+ccUyYMy/8RtAgYWVfulz27Y75c34Htb tl28f5wb5STyVdu9DR9tqeYaR/QExMiO1qpS35dc+rpHvpuS/ZhkCq2bPaYSIq5G czF1GW3DeNEC6zBzS+Sqh7oV7XvlOLn16dmuS81XI5wdgkVSXlaWPALdnLvRX7PW FWr2/iA1ItBAuoMylXF2le7rnS0nID5YSZzydkuD2HarSIG6jprAdflxOI/GmVyg mtl4zaSAXABUB/qfOy3rxlfUuAo2yCa6lq9P4r+0ABepWF+qBmhZkUdGkMlsUM6B QfYwVeyLGzuwQaOQnXly =2aHr -----END PGP SIGNATURE----- --nextPart1491638.8yKtDWmf6g--