Skip to content

Commit 902d9fc

Browse files
committed
Merge tag 'seccomp-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
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
2 parents 8cc01d4 + 0fb0624 commit 902d9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/seccomp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ static inline bool seccomp_cache_check_allow(const struct seccomp_filter *sfilte
388388
}
389389
#endif /* SECCOMP_ARCH_NATIVE */
390390

391+
#define ACTION_ONLY(ret) ((s32)((ret) & (SECCOMP_RET_ACTION_FULL)))
391392
/**
392393
* seccomp_run_filters - evaluates all seccomp filters against @sd
393394
* @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
397398
*
398399
* Returns valid seccomp BPF response codes.
399400
*/
400-
#define ACTION_ONLY(ret) ((s32)((ret) & (SECCOMP_RET_ACTION_FULL)))
401401
static u32 seccomp_run_filters(const struct seccomp_data *sd,
402402
struct seccomp_filter **match)
403403
{

0 commit comments

Comments
 (0)