summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2022-08-25 22:32:38 +0300
committerPaul Moore <paul@paul-moore.com>2022-08-27 00:17:11 +0300
commit3ed66951f952ed8f1a5d03e171722bf2631e8d58 (patch)
treee80a33c9ef4b4c7823d92bfd85b1c298d0f0c1cd /tools/perf/scripts/python/export-to-sqlite.py
parente84d9f5214cb854fcd584aa78b5634794604d306 (diff)
downloadlinux-3ed66951f952ed8f1a5d03e171722bf2631e8d58.tar.xz
audit: explicitly check audit_context->context enum value
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@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions