Skip to content

Commit a495108

Browse files
gscuipcmoore
authored andcommitted
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>
1 parent ac9a786 commit a495108

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

kernel/capability.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ EXPORT_SYMBOL(file_ns_capable);
467467
/**
468468
* privileged_wrt_inode_uidgid - Do capabilities in the namespace work over the inode?
469469
* @ns: The user namespace in question
470+
* @idmap: idmap of the mount @inode was found from
470471
* @inode: The inode in question
471472
*
472473
* 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,
481482

482483
/**
483484
* capable_wrt_inode_uidgid - Check nsown_capable and uid and gid mapped
485+
* @idmap: idmap of the mount @inode was found from
484486
* @inode: The inode in question
485487
* @cap: The capability in question
486488
*

0 commit comments

Comments
 (0)