diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2023-05-11 03:27:15 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-05-22 20:30:52 +0200 |
commit | a495108ea99c64ce6b5727cb163162ba28e27bff (patch) | |
tree | 784c9d6d240fc26978cf2b608650efc3be33df6a /kernel/capability.c | |
parent | Linux 6.4-rc1 (diff) | |
download | linux-a495108ea99c64ce6b5727cb163162ba28e27bff.tar.xz linux-a495108ea99c64ce6b5727cb163162ba28e27bff.zip |
capability: fix kernel-doc warnings in capability.c
Fix all kernel-doc warnings in capability.c:
kernel/capability.c:477: warning: Function parameter or member 'idmap'
not described in 'privileged_wrt_inode_uidgid'
kernel/capability.c:493: warning: Function parameter or member 'idmap'
not described in 'capable_wrt_inode_uidgid'
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/capability.c')
-rw-r--r-- | kernel/capability.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/capability.c b/kernel/capability.c index 3e058f41df32..1a2795102ae4 100644 --- a/kernel/capability.c +++ b/kernel/capability.c @@ -467,6 +467,7 @@ EXPORT_SYMBOL(file_ns_capable); /** * privileged_wrt_inode_uidgid - Do capabilities in the namespace work over the inode? * @ns: The user namespace in question + * @idmap: idmap of the mount @inode was found from * @inode: The inode in question * * Return true if the inode uid and gid are within the namespace. @@ -481,6 +482,7 @@ bool privileged_wrt_inode_uidgid(struct user_namespace *ns, /** * capable_wrt_inode_uidgid - Check nsown_capable and uid and gid mapped + * @idmap: idmap of the mount @inode was found from * @inode: The inode in question * @cap: The capability in question * |