[PATCH] Fix acct quoting in audit_log_acct_message())
Miloslav Trmac
mitr at redhat.com
Tue Mar 4 03:50:08 UTC 2008
Hello,
audit_log_acct_message() is currently quoting acct differently from all
other users: it adds quotes to acct if it is represented in hexadecimal,
not when it is represented as-is.
The attached patch fixes it - but it also changes the format of some of
the most-often used messages. It might be better to leave the message
format alone, and add a special case to libauparse and other
applications that parse the logs - I have no idea.
Mirek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audit_log_acct_message-quotes.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20080304/837affe1/attachment.bin>
More information about the Linux-audit
mailing list