Scroll to navigation

AUDIT_LOG(9) Audit Interfaces AUDIT_LOG(9)

NAME

audit_log - Log an audit record

SYNOPSIS

void audit_log(struct audit_context * ctx, gfp_t gfp_mask, int type, const char * fmt, ...);

ARGUMENTS

struct audit_context * ctx
audit context

gfp_t gfp_mask

type of allocation

int type

audit message type

const char * fmt

format string to use

...

variable parameters matching the format string

DESCRIPTION

This is a convenience function that calls audit_log_start, audit_log_vformat, and audit_log_end. It may be called in any context.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11