This patch fixes this by utilizing the open_how struct that we store while in the audit_context with audit_openat2_how(). unbiased of this patch, Richard dude Briggs posted a similar patch on the audit mailing https://ztndz.com/story19896186/smmgoal-can-be-fun-for-anyone