apparmor: leverage audit_log_n_untrustedstring() when possible

Make use of the audit_log_n_untrustedstring() function to simplify the
code in aa_label_xaudit().

Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Paul Moore 2026-07-17 17:52:55 -04:00 • committed by John Johansen
commit 3693ff45ec