Gentoo Archives: gentoo-dev

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] POSIX capability in Gentoo
Date: Sun, 31 Jul 2011 19:47:31
Message-Id: CADqQcK4RL8bWessPds+4sHa7TLR3Fj0-T68WEiuZK+Lo1oroew@mail.gmail.com
In Reply to: [gentoo-dev] POSIX capability in Gentoo by "Anthony G. Basile"
1 On Sun, Jul 31, 2011 at 8:13 PM, Anthony G. Basile <blueness@g.o> wrote:
2 > Hi everyone,
3 >
4 > A couple of days ago, bonsaikitten (Patrick), kerframil (Kerin Millar)
5 > and myself were talking about other distros moving away from setuid
6 > binaries towards caps.  Openwall and Fedora are now setuid-less [1].
7 > Some googling showed that Constanze has done quite a bit of work in the
8 > area and that there was a consensus to include functions to set caps
9 > within portage [2].  I don't know what, if anything has been done since
10 > then, but I'd like to lend my support.
11 >
12
13 One problem that came up was that a lot of people use tmpfs for
14 /var/tmp/portage, and tmpfs doesn't support xattrs which are needed
15 for setting caps.
16
17 Linux 3.0 has added support for xattrs with tmpfs (the redhat folks
18 did the work, afaik), so that problem is partly solved now.
19
20
21 --
22 ~Nirbheek Chauhan
23
24 Gentoo GNOME+Mozilla Team

Replies

Subject Author
Re: [gentoo-dev] POSIX capability in Gentoo "Anthony G. Basile" <blueness@g.o>
Re: [gentoo-dev] POSIX capability in Gentoo "Michał Górny" <mgorny@g.o>