-
由 Kees Cook 提交于
Checking for capabilities should be the last operation when performing access control tests so that PF_SUPERPRIV is set only when it was required for success (implying that the capability was needed for the operation). Reported-by: NSolar Designer <solar@openwall.com> Signed-off-by: NKees Cook <keescook@chromium.org> Acked-by: NSerge Hallyn <serge@hallyn.com> Reviewed-by: NAndy Lutomirski <luto@kernel.org> Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
cc658db4