The attached patch adds a new function audit_log_user_avc_message_fmt
that behaves just like audit_log_user_avc_message, but takes a format
string and argument list instead of a fixed message string.
This change will make it easier to use libaudit from SElinux userspace
object managers, since the libselinux logging callback takes a
format-string and variable length list.
If desired, I can send a patch to introduce this alternative for the
other calls as well.
Signed-off-by: Eamon Walsh <ewalsh(a)tycho.nsa.gov>
 docs/audit_log_user_avc_message.3 |   12 +++++++++++-
 lib/audit_logging.c               |   25 +++++++++++++++++++++++++
 lib/libaudit.h                    |    3 +++
 3 files changed, 39 insertions(+), 1 deletion(-)
-- 
Eamon Walsh <ewalsh(a)tycho.nsa.gov>
National Security Agency