Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audit: explicitly check audit_context->context enum value
[ Upstream commit 3ed6695 ] Be explicit in checking the struct audit_context "context" member enum value rather than assuming the order of context enum values. Fixes: 12c5e81 ("audit: prepare audit_context for use in calling contexts beyond syscalls") Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information