This patch fixes this by using the open_how struct that we store in the audit_context with audit_openat2_how(). Independent of this patch, Richard Guy Briggs posted a similar patch on the audit mailing checklist https://socialrus.com/story17235422/smmpromax-no-further-a-mystery