• Eric Paris's avatar
    [AUDIT] include audit type in audit message when using printk · e445deb5
    Eric Paris authored
    Currently audit drops the audit type when an audit message goes through
    printk instead of the audit deamon.  This is a minor annoyance in
    that the audit type is no longer part of the message and the information
    the audit type conveys needs to be carried in, or derived from the
    message data.
    
    The attached patch includes the type number as part of the printk.
    Admittedly it isn't the type name that the audit deamon provides but I
    think this is better than dropping the type completely.
    Signed-pff-by: default avatarJohn Johansen <jjohansen@suse.de>
    Signed-off-by: default avatarEric Paris <eparis@redhat.com>
    e445deb5
audit.c 38 KB