audit: remove unused actx param from audit_rule_match
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 31 Jan 2019 16:52:11 +0000 (11:52 -0500)
committerPaul Moore <paul@paul-moore.com>
Fri, 1 Feb 2019 04:00:15 +0000 (23:00 -0500)
commit90462a5bd30c6ed91c6758e59537d047d7878ff9
tree19dac5d6a368d626695ee639c29a2ac18490043e
parent57d4657716aca81ef4d7ec23e8123d26e3d28954
audit: remove unused actx param from audit_rule_match

The audit_rule_match() struct audit_context *actx parameter is not used
by any in-tree consumers (selinux, apparmour, integrity, smack).

The audit context is an internal audit structure that should only be
accessed by audit accessor functions.

It was part of commit 03d37d25e0f9 ("LSM/Audit: Introduce generic
Audit LSM hooks") but appears to have never been used.

Remove it.

Please see the github issue
https://github.com/linux-audit/audit-kernel/issues/107

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: fixed the referenced commit title]
Signed-off-by: Paul Moore <paul@paul-moore.com>
12 files changed:
include/linux/lsm_hooks.h
include/linux/security.h
kernel/auditfilter.c
kernel/auditsc.c
security/apparmor/audit.c
security/apparmor/include/audit.h
security/integrity/ima/ima.h
security/integrity/ima/ima_policy.c
security/security.c
security/selinux/include/audit.h
security/selinux/ss/services.c
security/smack/smack_lsm.c