Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Maxim Kammerer <mk@×××.su>
Subject: Re: [gentoo-dev] glibc: pt_chown setuid going away by default
Date: Fri, 12 Apr 2013 16:21:13
Message-Id: 201304121222.36527.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] glibc: pt_chown setuid going away by default by Maxim Kammerer
1 On Friday 12 April 2013 02:50:20 Maxim Kammerer wrote:
2 > On Wed, Apr 10, 2013 at 8:15 AM, Mike Frysinger <vapier@g.o> wrote:
3 > > i plan on updating the latest glibc to add USE=suid. in pkg_preinst and
4 > > ROOT==/, the ebuild will read /proc/mounts for a devpts line with gid=5.
5 > > if it doesn't find one, i'll have it call `die`.
6 >
7 > What about chroot builds? I have /dev/pts bind-mounted from the (old)
8 > host filesystem into chroot, yet pt_chown has its suid bit happily
9 > disabled in deployed build since long time ago.
10
11 i don't know what you mean. if the ebuild detects devpts being mounted and
12 the mount is incorrect, it will die. if you don't have devpts mounted at all,
13 then it assumes you know what you're doing.
14 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] glibc: pt_chown setuid going away by default Maxim Kammerer <mk@×××.su>