This patch fixes this by using the open_how struct that we store while in the audit_context with audit_openat2_how(). Independent of the patch, Richard dude Briggs posted the same patch to the audit mailing checklist https://bookmarks-hit.com/story17814977/the-ultimate-guide-to-a-smpp-me