summaryrefslogtreecommitdiff
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2021-02-17 03:46:48 +0300
committerPaul Moore <paul@paul-moore.com>2021-09-20 05:10:32 +0300
commit12c5e81d3fd0a690c49dfe1c3a99bf80a24075c7 (patch)
treecdd9679cfc7056c43d946dd501b3c9860f687f25 /fs/io-wq.c
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff)
downloadlinux-12c5e81d3fd0a690c49dfe1c3a99bf80a24075c7.tar.xz
audit: prepare audit_context for use in calling contexts beyond syscalls
This patch cleans up some of our audit_context handling by abstracting out the reset and return code fixup handling to dedicated functions. Not only does this help make things easier to read and inspect, it allows for easier reuse by future patches. We also convert the simple audit_context->in_syscall flag into an enum which can be used to by future patches to indicate a calling context other than the syscall context. Thanks to Richard Guy Briggs for review and feedback. Acked-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions