[PATCH v2] audit: Make audit_filter_syscall() return void

Paul Moore paul at paul-moore.com
Thu Jan 28 03:00:00 UTC 2021


On Tue, Jan 26, 2021 at 9:52 PM <menglong8.dong at gmail.com> wrote:
>
> From: Yang Yang <yang.yang29 at zte.com.cn>
>
> No invoker uses the return value of audit_filter_syscall().
> So make it return void, and amend the comment of
> audit_filter_syscall().
>
> Changes since v1:
> - amend the comment of audit_filter_syscall().
>
> Signed-off-by: Yang Yang <yang.yang29 at zte.com.cn>
> Reviewed-by: Richard Guy Briggs <rgb at redhat.com>
> ---
>  kernel/auditsc.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

This is a simple enough patch so I think merging it during -rc5 should
be okay; merged into audit/next - thanks!

-- 
paul moore
www.paul-moore.com




More information about the Linux-audit mailing list