From: Micah Morton Date: Mon, 25 Feb 2019 22:17:10 +0000 (-0800) Subject: LSM: Update function documentation for cap_capable X-Git-Tag: v5.1-rc1~132^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88ed488af0a70cbc925d2cce60788378bbe26e3;p=thirdparty%2Fkernel%2Flinux.git LSM: Update function documentation for cap_capable This should have gone in with commit c1a85a00ea66cb6f0bd0f14e47c28c2b0999799f. Signed-off-by: Micah Morton Signed-off-by: James Morris --- diff --git a/security/commoncap.c b/security/commoncap.c index 188eaf59f82f2..f1d117c3d8ae6 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -57,7 +57,7 @@ static void warn_setuid_and_fcaps_mixed(const char *fname) * @cred: The credentials to use * @ns: The user namespace in which we need the capability * @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 * its effective set, returning 0 if it does, -ve if it does not.