diff options
author | Micah Morton <mortonm@chromium.org> | 2019-02-25 17:17:10 -0500 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2019-02-25 18:16:25 -0500 |
commit | e88ed488af0a70cbc925d2cce60788378bbe26e3 (patch) | |
tree | 95153c501cc851e5f319316afecd5de0d98955dd | |
parent | 09186e503486da4a17f16f2f7c679e6e3e2a32f4 (diff) |
LSM: Update function documentation for cap_capable
This should have gone in with commit
c1a85a00ea66cb6f0bd0f14e47c28c2b0999799f.
Signed-off-by: Micah Morton <mortonm@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
-rw-r--r-- | security/commoncap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/commoncap.c b/security/commoncap.c index 188eaf59f82f..f1d117c3d8ae 100644 --- a/security/commoncap.c +++ b/security/commoncap.c | |||
@@ -57,7 +57,7 @@ static void warn_setuid_and_fcaps_mixed(const char *fname) | |||
57 | * @cred: The credentials to use | 57 | * @cred: The credentials to use |
58 | * @ns: The user namespace in which we need the capability | 58 | * @ns: The user namespace in which we need the capability |
59 | * @cap: The capability to check for | 59 | * @cap: The capability to check for |
60 | * @audit: Whether to write an audit message or not | 60 | * @opts: Bitmask of options defined in include/linux/security.h |
61 | * | 61 | * |
62 | * Determine whether the nominated task has the specified capability amongst | 62 | * Determine whether the nominated task has the specified capability amongst |
63 | * its effective set, returning 0 if it does, -ve if it does not. | 63 | * its effective set, returning 0 if it does, -ve if it does not. |