[PATCH ghak138 v2 2/4] audit: explicitly check audit_context->context enum value

Paul Moore paul at paul-moore.com
Fri Aug 26 21:18:19 UTC 2022


On Thu, Aug 25, 2022 at 3:33 PM Richard Guy Briggs <rgb at redhat.com> wrote:
>
> Be explicit in checking the struct audit_context "context" member enum
> value rather than assuming the order of context enum values.
>
> Fixes: 12c5e81d3fd0 ("audit: prepare audit_context for use in calling contexts beyond syscalls")
> Signed-off-by: Richard Guy Briggs <rgb at redhat.com>
> ---
>  kernel/auditsc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged into audit/next, thanks.

-- 
paul-moore.com



More information about the Linux-audit mailing list