Commit a20b62bd authored by Richard Guy Briggs's avatar Richard Guy Briggs Committed by Eric Paris

audit: suppress stock memalloc failure warnings since already managed

Supress the stock memory allocation failure warnings for audit buffers
since audit alreay takes care of memory allocation failure warnings, including
rate-limiting, in audit_log_start().
Signed-off-by: default avatarRichard Guy Briggs <>
Signed-off-by: default avatarEric Paris <>
parent d3aea84a
......@@ -396,7 +396,8 @@ void common_lsm_audit(struct common_audit_data *a,
if (a == NULL)
/* we use GFP_ATOMIC so we won't sleep */
ab = audit_log_start(current->audit_context, GFP_ATOMIC, AUDIT_AVC);
ab = audit_log_start(current->audit_context, GFP_ATOMIC | __GFP_NOWARN,
if (ab == NULL)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment