audit-userspace: auparse/lru.c sanity_check_queue() compile error with DEBUG
Steve Grubb
sgrubb at redhat.com
Wed Dec 20 21:19:42 UTC 2017
On Tuesday, December 19, 2017 2:49:08 PM EST Mor, Omri wrote:
> >> sanity_check_queue() attempts to call msg(), which as far as I can tell
> >> isn’t defined. It appears that this should be syslog() or audit_msg()
> >> instead.
> >> This causes compilation failure when DEBUG is defined.
> >
> > Thanks for reporting this. The function name is now fixed in git.
>
> On second look, I think it’s supposed to be syslog(), not audit_msg().
> The rest of the code in auparse/lru.c calls syslog(),
Yes, I see that now. Normally syslog is wrapped so that messages can be switched
between stderr and syslog depending on the needs. Its fixed again in git.
-Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-audit/attachments/20171220/15d4cc67/attachment.htm>
More information about the Linux-audit
mailing list