Skip to content

Commit e88ed48

Browse files
micah-mortonJames Morris
authored andcommitted
LSM: Update function documentation for cap_capable
This should have gone in with commit c1a85a0. Signed-off-by: Micah Morton <mortonm@chromium.org> Signed-off-by: James Morris <james.morris@microsoft.com>
1 parent 09186e5 commit e88ed48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎security/commoncap.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static void warn_setuid_and_fcaps_mixed(const char *fname)
5757
* @cred: The credentials to use
5858
* @ns: The user namespace in which we need the capability
5959
* @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
6161
*
6262
* Determine whether the nominated task has the specified capability amongst
6363
* its effective set, returning 0 if it does, -ve if it does not.

0 commit comments

Comments
 (0)