LSM: Update function documentation for cap_capable
This should have gone in with commit
c1a85a00ea
.
Signed-off-by: Micah Morton <mortonm@chromium.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
This commit is contained in:
parent
09186e5034
commit
e88ed488af
|
@ -57,7 +57,7 @@ static void warn_setuid_and_fcaps_mixed(const char *fname)
|
||||||
* @cred: The credentials to use
|
* @cred: The credentials to use
|
||||||
* @ns: The user namespace in which we need the capability
|
* @ns: The user namespace in which we need the capability
|
||||||
* @cap: The capability to check for
|
* @cap: The capability to check for
|
||||||
* @audit: Whether to write an audit message or not
|
* @opts: Bitmask of options defined in include/linux/security.h
|
||||||
*
|
*
|
||||||
* Determine whether the nominated task has the specified capability amongst
|
* Determine whether the nominated task has the specified capability amongst
|
||||||
* its effective set, returning 0 if it does, -ve if it does not.
|
* its effective set, returning 0 if it does, -ve if it does not.
|
||||||
|
|
Loading…
Reference in New Issue