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 |