Re: [ linus-git ] prctl(PR_SET_KEEPCAPS, ...) is broken for someconfigs, e.g. CONFIG_SECURITY_SELINUX

From: Chris Wright
Date: Tue Jun 10 2008 - 12:14:58 EST


* Serge E. Hallyn (serue@xxxxxxxxxx) wrote:
> If we decide to get rid of dummy long-term, then it's far less
> distasteful to have it lie and claim the keepcaps worked in the
> meantime.

We should get rid of it ASAP.

> So for 2.6.26 we could have dummy lie, then plan to make capabilities
> the default for 2.6.27?

It is already lying, so this isn't too big a stretch. I'd expect it not
to help since either capset will fail, or it would fail when it tried
to use the cap after dropping uid.

thanks,
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/