]> git.ipfire.org Git - thirdparty/linux.git/commit - kernel/audit.c
audit: use inline function to get audit context
authorRichard Guy Briggs <rgb@redhat.com>
Sun, 13 May 2018 01:58:20 +0000 (21:58 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 14 May 2018 21:24:18 +0000 (17:24 -0400)
commitcdfb6b341f0f2409aba24b84f3b4b2bba50be5c5
treecb31684487723bae90c53e58d97b7b9e6aa53020
parentf0b752168d7091f38e7d61a80de2542e8b71d266
audit: use inline function to get audit context

Recognizing that the audit context is an internal audit value, use an
access function to retrieve the audit context pointer for the task
rather than reaching directly into the task struct to get it.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: merge fuzz in auditsc.c and selinuxfs.c, checkpatch.pl fixes]
Signed-off-by: Paul Moore <paul@paul-moore.com>
15 files changed:
include/linux/audit.h
include/net/xfrm.h
kernel/audit.c
kernel/audit_watch.c
kernel/auditsc.c
net/bridge/netfilter/ebtables.c
net/core/dev.c
net/netfilter/x_tables.c
net/netlabel/netlabel_user.c
security/integrity/ima/ima_api.c
security/integrity/integrity_audit.c
security/lsm_audit.c
security/selinux/hooks.c
security/selinux/selinuxfs.c
security/selinux/ss/services.c