This patch fixes this by utilizing the open_how struct that we store within the audit_context with audit_openat2_how(). Independent of the patch, Richard Guy Briggs posted an analogous patch towards the audit mailing https://owainnfyp316357.blogdigy.com/5-simple-techniques-for-smm-pro-truck-42825114