(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
--