From: SF Markus Elfring <hidden> Date: 2017-05-08 01:33:56
From: Markus Elfring <redacted>
Date: Sun, 7 May 2017 13:58:08 +0200
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Combine two function calls into one in aa_fs_seq_raw_abi_show()
Use seq_putc() in two functions
security/apparmor/apparmorfs.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
--
2.12.2
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: SF Markus Elfring <hidden> Date: 2017-05-08 01:34:29
From: Markus Elfring <redacted>
Date: Sun, 7 May 2017 13:43:50 +0200
A bit of data was put into a sequence by two separate function calls.
Print the same data by a single function call instead.
Signed-off-by: Markus Elfring <redacted>
---
security/apparmor/apparmorfs.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
--
2.12.2
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: John Johansen <john.johansen@canonical.com> Date: 2017-05-08 00:10:01
On 05/07/2017 05:02 AM, SF Markus Elfring wrote:
From: Markus Elfring <redacted>
Date: Sun, 7 May 2017 13:43:50 +0200
A bit of data was put into a sequence by two separate function calls.
Print the same data by a single function call instead.
Signed-off-by: Markus Elfring <redacted>
Acked-by: John Johansen <john.johansen@canonical.com>
I'll pull it into my tree for my next push
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: SF Markus Elfring <hidden> Date: 2017-05-08 01:34:52
From: Markus Elfring <redacted>
Date: Sun, 7 May 2017 13:50:28 +0200
Two single characters (line breaks) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <redacted>
---
security/apparmor/apparmorfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.12.2
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: John Johansen <john.johansen@canonical.com> Date: 2017-05-08 00:10:20
On 05/07/2017 05:03 AM, SF Markus Elfring wrote:
From: Markus Elfring <redacted>
Date: Sun, 7 May 2017 13:50:28 +0200
Two single characters (line breaks) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <redacted>
Acked-by: John Johansen <john.johansen@canonical.com>
I'll pull it into my tree for my next push
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html