This patch fixes this by utilizing the open_how struct that we store from the audit_context with audit_openat2_how(). unbiased of the patch, Richard man Briggs posted an identical patch on the audit mailing listing https://prbookmarkingwebsites.com/story19904312/the-smart-trick-of-k-smart-that-nobody-is-discussing