Skip to content

Commit b906972

Browse files
rddunlapkees
authored andcommitted
seccomp: document the "filter_count" field
Add missing kernel-doc for the 'filter_count' field in struct seccomp. seccomp.h:40: warning: Function parameter or member 'filter_count' not described in 'seccomp' Fixes: c818c03 ("seccomp: Report number of loaded filters in /proc/$pid/status") Signed-off-by: Randy Dunlap <[email protected]> Cc: Kees Cook <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a1140cb commit b906972

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/seccomp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ struct seccomp_filter;
2727
*
2828
* @mode: indicates one of the valid values above for controlled
2929
* system calls available to a process.
30+
* @filter_count: number of seccomp filters
3031
* @filter: must always point to a valid seccomp-filter or NULL as it is
3132
* accessed without locking during system call entry.
3233
*

0 commit comments

Comments
 (0)