diff --git a/kernel-patches/for-mainline/audit-pairs-2.diff b/kernel-patches/for-mainline/audit-pairs-2.diff index cd3a2e172..c9f05c4fd 100644 --- a/kernel-patches/for-mainline/audit-pairs-2.diff +++ b/kernel-patches/for-mainline/audit-pairs-2.diff @@ -1,9 +1,34 @@ --- - security/apparmor/main.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + security/apparmor/main.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) --- a/security/apparmor/main.c +++ b/security/apparmor/main.c +@@ -331,10 +331,10 @@ static int aa_audit_base(struct aa_profi + } + + if (sa->task) +- audit_log_format(ab, " task=\"%d\"", sa->task); ++ audit_log_format(ab, " task=%d", sa->task); + + if (sa->parent) +- audit_log_format(ab, "parent=\"%d\"", sa->parent); ++ audit_log_format(ab, " parent=%d", sa->parent); + + if (sa->name) { + audit_log_format(ab, " name="); +@@ -347,9 +347,9 @@ static int aa_audit_base(struct aa_profi + } + + if (sa->magic_token) +- audit_log_format(ab, " magic_token=\"%llu\"", sa->magic_token); ++ audit_log_format(ab, " magic_token=%llu", sa->magic_token); + +- audit_log_format(ab, "pid=\"%d\"", current->pid); ++ audit_log_format(ab, " pid=%d", current->pid); + + if (profile) { + audit_log_format(ab, " profile="); @@ -854,7 +854,7 @@ repeat: goto repeat; if (PTR_ERR(old_profile) == -EPERM) {