* [PATCH] apparmor: fix spelling mistake "immutible" -> "immutable"
@ 2019-04-16 14:42 Colin King
2019-04-16 19:56 ` John Johansen
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2019-04-16 14:42 UTC (permalink / raw)
To: John Johansen, James Morris, Serge E . Hallyn, linux-security-module
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There is a spelling mistake in an information message string, fix it.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
security/apparmor/policy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
index 71a3e6291478..04f2480e8374 100644
--- a/security/apparmor/policy.c
+++ b/security/apparmor/policy.c
@@ -587,7 +587,7 @@ static int replacement_allowed(struct aa_profile *profile, int noreplace,
{
if (profile) {
if (profile->label.flags & FLAG_IMMUTIBLE) {
- *info = "cannot replace immutible profile";
+ *info = "cannot replace immutable profile";
return -EPERM;
} else if (noreplace) {
*info = "profile already exists";
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] apparmor: fix spelling mistake "immutible" -> "immutable"
2019-04-16 14:42 [PATCH] apparmor: fix spelling mistake "immutible" -> "immutable" Colin King
@ 2019-04-16 19:56 ` John Johansen
0 siblings, 0 replies; 2+ messages in thread
From: John Johansen @ 2019-04-16 19:56 UTC (permalink / raw)
To: Colin King, James Morris, Serge E . Hallyn, linux-security-module
Cc: kernel-janitors, linux-kernel
On 4/16/19 7:42 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake in an information message string, fix it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: John Johansen <john.johansen@canonical.com>
I'll pull it into the apparmor tree
> ---
> security/apparmor/policy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/security/apparmor/policy.c b/security/apparmor/policy.c
> index 71a3e6291478..04f2480e8374 100644
> --- a/security/apparmor/policy.c
> +++ b/security/apparmor/policy.c
> @@ -587,7 +587,7 @@ static int replacement_allowed(struct aa_profile *profile, int noreplace,
> {
> if (profile) {
> if (profile->label.flags & FLAG_IMMUTIBLE) {
> - *info = "cannot replace immutible profile";
> + *info = "cannot replace immutable profile";
> return -EPERM;
> } else if (noreplace) {
> *info = "profile already exists";
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-16 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 14:42 [PATCH] apparmor: fix spelling mistake "immutible" -> "immutable" Colin King
2019-04-16 19:56 ` John Johansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).