All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Guril <alexander.guril02@gmail.com>
To: john.johansen@canonical.com, jmorris@namei.org
Cc: linux-security-module@vger.kernel.org,
	Alexander Guril <alexander.guril02@gmail.com>
Subject: [PATCH] Security/Apparmor: Fixed a bracket problem in audit.c
Date: Mon, 21 Dec 2020 15:32:52 +0100	[thread overview]
Message-ID: <20201221143252.32271-1-alexander.guril02@gmail.com> (raw)

This patch fixes a bracket problem in security/apparmor/audit.c

Signed-off-by: Alexander Guril <alexander.guril02@gmail.com>
---
 security/apparmor/audit.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/security/apparmor/audit.c b/security/apparmor/audit.c
index f7e97c7e80f3..63c4367f97b7 100644
--- a/security/apparmor/audit.c
+++ b/security/apparmor/audit.c
@@ -61,9 +61,8 @@ static void audit_pre(struct audit_buffer *ab, void *ca)
 				 aa_audit_type[aad(sa)->type]);
 	}
 
-	if (aad(sa)->op) {
+	if (aad(sa)->op)
 		audit_log_format(ab, " operation=\"%s\"", aad(sa)->op);
-	}
 
 	if (aad(sa)->info) {
 		audit_log_format(ab, " info=\"%s\"", aad(sa)->info);
-- 
2.29.2


                 reply	other threads:[~2020-12-21 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201221143252.32271-1-alexander.guril02@gmail.com \
    --to=alexander.guril02@gmail.com \
    --cc=jmorris@namei.org \
    --cc=john.johansen@canonical.com \
    --cc=linux-security-module@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.