projects/linux·commit 902d9fcd

Merge tag 'seccomp-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux

902d9fcd · Linus Torvalds <[email protected]> · 2023-02-21 11:04:56 -08:00

Pull seccomp update from Kees Cook:

 - Fix kernel-doc function name ordering to avoid warning (Randy Dunlap)

* tag 'seccomp-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  seccomp: fix kernel-doc function name warning
Commit
902d9fcd8dccf6a5ccd009f2ae8fec5b3db7f41b
Parents
8cc01d43 · 0fb0624b

Merge commit. Changes below are compared with the first parent: 8cc01d43.

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/seccomp.cmodified+1−1View file

kernel/seccomp.c

View file
diff --git a/kernel/seccomp.c b/kernel/seccomp.c
index e9852d1..cebf264 100644
--- a/kernel/seccomp.c
+++ b/kernel/seccomp.c
@@ -388,6 +388,7 @@ static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilte
}
#endif /* SECCOMP_ARCH_NATIVE */
+#define ACTION_ONLY(ret) ((s32)((ret) & (SECCOMP_RET_ACTION_FULL)))
/**
* seccomp_run_filters - evaluates all seccomp filters against @sd
* @sd: optional seccomp data to be passed to filters
@@ -397,7 +398,6 @@ static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilte
*
* Returns valid seccomp BPF response codes.
*/
-#define ACTION_ONLY(ret) ((s32)((ret) & (SECCOMP_RET_ACTION_FULL)))
static u32 seccomp_run_filters(const struct seccomp_data *sd,
struct seccomp_filter **match)
{