mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
Add missing spaces and do not quote numbers
This commit is contained in:
parent
7c961abd52
commit
ece35dc8fe
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user