]> 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)
commite77927c44f074140fdad7a7030c65738ef2a2b51
tree51bc0fb8b3a88c2227a03db8827645506bf439ea
parent9532c285b455349766125b6c16326079d55d7cb3
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