Re: [PATCH 2/2] file capabilities: remove CONFIG_SECURITY_FILE_CAPABILITIES

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge E. Hallyn
Date: Wednesday, September 24, 2008 - 6:02 pm

Quoting Chris Wright (chrisw@sous-sol.org):

(what are you using to get these numbers?)


That surprises me - I thought a reasonable amount of code was cut as
well.  Sounds like it may be worth it to refactor some of the code.


Fedora 9 and ubuntu intrepid already have full capabilities support and
modern libcap.  Sles is set to ship with a modern libcap, and according
to what Andreas is saying, if we can provide them with the no_file_caps
boot option then suse is willing to have a kernel with capabilities
turned on.  I think gentoo still comes with libcap-1.  Need to look into
changing that.

I suppose the next baby-step will be to do get rid of setuid on little
things like ping.  Actually using inheritable caps for pseudo-admin
'roles' may be a bit farther off, and a particularly interesting problem
will be to take huge pieces of cross-os software like ssh which make
assumptions about setuid behavior, and find ways to make them work
correctly with capabilities, with capabilities in
SECURE_NOROOT|SECURE_NOSETUIDFIXUP, and with non-linux oses.

-serge
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] file capabilities: add no_file_caps switch (v3), Serge E. Hallyn, (Tue Sep 23, 7:04 pm)
Re: [PATCH 2/2] file capabilities: remove CONFIG_SECURITY_ ..., Serge E. Hallyn, (Wed Sep 24, 6:02 pm)
Re: [PATCH 2/2] file capabilities: remove CONFIG_SECURITY_ ..., Andreas Gruenbacher, (Wed Sep 24, 6:36 pm)