]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9abbd8344d802c666414162f679c0e5692642b9
tree51bc0fb8b3a88c2227a03db8827645506bf439ea
parenteefbdcafb2826790beb74f26bd1601d9745ea22b
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