This patch fixes this by utilizing the open_how struct that we store during the audit_context with audit_openat2_how(). impartial of the patch, Richard Guy Briggs posted the same patch to the audit mailing list roughly https://socialmediainuk.com/story18192633/the-ultimate-guide-to-4-sgm