This patch fixes this by using the open_how struct that we store in the audit_context with audit_openat2_how(). impartial of this patch, Richard person Briggs posted an analogous patch into the audit mailing listing https://mediajx.com/story19525055/smm-vs-mgus-can-be-fun-for-anyone