Thread (51 messages) 51 messages, 8 authors, 2017-08-01

[PATCH v3 07/15] commoncap: Move cap_elevated calculation into bprm_set_creds

From: jmorris@namei.org (James Morris)
Date: 2017-07-19 09:28:56
Also in: linux-fsdevel, lkml

On Tue, 18 Jul 2017, Kees Cook wrote:
Instead of a separate function, open-code the cap_elevated test, which
lets us entirely remove bprm->cap_effective (to use the local "effective"
variable instead), and more accurately examine euid/egid changes via the
existing local "is_setid".

Cc: Serge Hallyn <serge@hallyn.com>
Cc: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Kees Cook <redacted>

Reviewed-by: James Morris <redacted>


-- 
James Morris
[off-list ref]

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help