Skip to content

Commit a2098ab

Browse files
Fabian Frederickhnaz
Fabian Frederick
authored andcommitted
kernel/seccomp.c: kernel-doc warning fix
+ fix small typo Signed-off-by: Fabian Frederick <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent f78c42f commit a2098ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/seccomp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* is only needed for handling filters shared across tasks.
4040
* @prev: points to a previously installed, or inherited, filter
4141
* @len: the number of instructions in the program
42-
* @insns: the BPF program instructions to evaluate
42+
* @insnsi: the BPF program instructions to evaluate
4343
*
4444
* seccomp_filter objects are organized in a tree linked via the @prev
4545
* pointer. For any task, it appears to be a singly-linked list starting
@@ -220,7 +220,7 @@ static long seccomp_attach_filter(struct sock_fprog *fprog)
220220
return -ENOMEM;
221221

222222
/*
223-
* Installing a seccomp filter requires that the task have
223+
* Installing a seccomp filter requires that the task has
224224
* CAP_SYS_ADMIN in its namespace or be running with no_new_privs.
225225
* This avoids scenarios where unprivileged tasks can affect the
226226
* behavior of privileged children.

0 commit comments

Comments
 (0)