This patch fixes this by using the open_how struct that we store while in the audit_context with audit_openat2_how(). Independent of this patch, Richard person Briggs posted a similar patch to your audit mailing https://prbookmarkingwebsites.com/story19904312/the-smart-trick-of-k-smart-that-nobody-is-discussing