audit: purge audit_log_string from the intra-kernel audit API
authorRichard Guy Briggs <rgb@redhat.com>
Mon, 13 Jul 2020 19:51:59 +0000 (15:51 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 21 Jul 2020 15:12:31 +0000 (11:12 -0400)
commitf1d9b23cabc61e58509164c3c3132556476491d2
tree51bc0fb8b3a88c2227a03db8827645506bf439ea
parentd7481b24b816b8c3955a9eaf01b97e2bd7f61a37
audit: purge audit_log_string from the intra-kernel audit API

audit_log_string() was inteded to be an internal audit function and
since there are only two internal uses, remove them.  Purge all external
uses of it by restructuring code to use an existing audit_log_format()
or using audit_log_format().

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

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/audit.h
kernel/audit.c
security/apparmor/audit.c
security/apparmor/file.c
security/apparmor/ipc.c
security/apparmor/net.c
security/lsm_audit.c