This patch fixes this by using the open_how struct that we store during the audit_context with audit_openat2_how(). Independent of the patch, Richard dude Briggs posted an analogous patch towards the audit mailing https://mariyahatno957983.aboutyoublog.com/profile