security: fix description of values returned by cap_inode_need_killpriv
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 27 Jul 2017 02:27:05 +0000 (22:27 -0400)
committerJames Morris <james.l.morris@oracle.com>
Sun, 24 Sep 2017 04:15:41 +0000 (21:15 -0700)
commitab5348c9c23cd253f5902980d2d8fe067dc24c82
treed38fb063da3df1edd50a78ff0fdb397e7d3ccc56
parent53a2ebaaabc1eb8458796fec3bc1e0e80746b642
security: fix description of values returned by cap_inode_need_killpriv

cap_inode_need_killpriv returns 1 if security.capability exists and
has a value and inode_killpriv() is required, 0 otherwise. Fix the
description of the return value to reflect this.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/commoncap.c