capabilities: use intuitive names for id changes
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 12 Oct 2017 00:57:09 +0000 (20:57 -0400)
committerJames Morris <james.l.morris@oracle.com>
Fri, 20 Oct 2017 04:22:44 +0000 (15:22 +1100)
commit81a6a012996b3fd47608d87b16e79412dd73578e
treeb20231b7838d106cf0524028e2a614c23e382e37
parent9304b46c912d65a103a68f093b456ba3c02dca3b
capabilities: use intuitive names for id changes

Introduce a number of inlines to make the use of the negation of
uid_eq() easier to read and analyse.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Acked-by: Kees Cook <keescook@chromium.org>
Okay-ished-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/commoncap.c