]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bf7311bc7b7d1fe8c2dd78c1d2469d755b78e1c
treecb31684487723bae90c53e58d97b7b9e6aa53020
parent87952483ce9965ab42edaec14fa8743f4f05e99c
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