[PATCH] LSM: add SafeSetID module that gates setid calls

Kees Cook keescook at chromium.org
Wed Oct 31 21:57:59 UTC 2018


On Wed, Oct 31, 2018 at 2:02 PM, Serge E. Hallyn <serge at hallyn.com> wrote:
> Just to be sure - your end-goal is to have a set of tasks which have
> some privileges, including CAP_SETUID, but which cannot transition to
> certain uids, perhaps including root?

AIUI, the issue is that CAP_SETUID is TOO permissive. Instead, run
_without_ CAP_SETUID and still allow whitelisted uid transitions.

-Kees

-- 
Kees Cook



More information about the Linux-security-module-archive mailing list