[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220405125145.404131-1-leif@leifhenriksen.net>
Date: Tue, 5 Apr 2022 14:51:45 +0200
From: Leif Henriksen <leif@...fhenriksen.net>
To: keescook@...omium.org
Cc: leif@...fhenriksen.net, Andy Lutomirski <luto@...capital.net>,
Will Drewry <wad@...omium.org>, linux-kernel@...r.kernel.org
Subject: [PATCH] kernel/seccomp.c : struct seccomp_filter comment reordering
Swapped the @log and @cache field comment to
match the same order as the struct declaration.
Signed-off-by: Leif Henriksen <leif@...fhenriksen.net>
---
kernel/seccomp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/seccomp.c b/kernel/seccomp.c
index b5ac87f6dbd4..ad0fed6bdf9b 100644
--- a/kernel/seccomp.c
+++ b/kernel/seccomp.c
@@ -198,8 +198,8 @@ static inline void seccomp_cache_prepare(struct seccomp_filter *sfilter)
* this filter after reaching 0. The @users count is always smaller
* or equal to @refs. Hence, reaching 0 for @users does not mean
* the filter can be freed.
- * @cache: cache of arch/syscall mappings to actions
* @log: true if all actions except for SECCOMP_RET_ALLOW should be logged
+ * @cache: cache of arch/syscall mappings to actions
* @prev: points to a previously installed, or inherited, filter
* @prog: the BPF program to evaluate
* @notif: the struct that holds all notification related information
--
2.25.1
Powered by blists - more mailing lists