projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09186e5
)
LSM: Update function documentation for cap_capable
author
Micah Morton
<mortonm@chromium.org>
Mon, 25 Feb 2019 22:17:10 +0000
(14:17 -0800)
committer
James Morris
<james.morris@microsoft.com>
Mon, 25 Feb 2019 23:16:25 +0000
(15:16 -0800)
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>
security/commoncap.c
patch
|
blob
|
blame
|
history
diff --git
a/security/commoncap.c
b/security/commoncap.c
index 188eaf59f82f26b52c7540981d6ae71f022b6840..f1d117c3d8ae634eee3d31344eb8bc5e87c95f5f 100644
(file)
--- 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.