This patch fixes this by utilizing the open_how struct that we store inside the audit_context with audit_openat2_how(). Independent of this patch, Richard Guy Briggs posted the same patch into the audit mailing https://loriuqjq261504.blog-gold.com/35095884/5-tips-about-smm-provedor-you-can-use-today