Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935922AbdIYOYG (ORCPT ); Mon, 25 Sep 2017 10:24:06 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:45323 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933355AbdIYOYF (ORCPT ); Mon, 25 Sep 2017 10:24:05 -0400 Subject: Re: [PATCH] apparmor: fix spelling mistake: "resoure" -> "resource" To: Colin King , James Morris , "Serge E . Hallyn" , linux-security-module@vger.kernel.org Cc: linux-kernel@vger.kernel.org References: <20170824083145.18799-1-colin.king@canonical.com> From: John Johansen Organization: Canonical Message-ID: <358b9115-2dbe-0a63-12e5-27b4c8e8d76d@canonical.com> Date: Mon, 25 Sep 2017 10:24:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20170824083145.18799-1-colin.king@canonical.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 37 On 08/24/2017 04:31 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in comment and also with text in > audit_resource call. > > Signed-off-by: Colin Ian King > --- > security/apparmor/resource.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c > index d8bc842594ed..cf4d234febe9 100644 > --- a/security/apparmor/resource.c > +++ b/security/apparmor/resource.c > @@ -47,7 +47,7 @@ static void audit_cb(struct audit_buffer *ab, void *va) > /** > * audit_resource - audit setting resource limit > * @profile: profile being enforced (NOT NULL) > - * @resoure: rlimit being auditing > + * @resource: rlimit being auditing > * @value: value being set > * @error: error value > * > @@ -128,7 +128,7 @@ int aa_task_setrlimit(struct aa_label *label, struct task_struct *task, > error = fn_for_each(label, profile, > audit_resource(profile, resource, > new_rlim->rlim_max, peer, > - "cap_sys_resoure", -EACCES)); > + "cap_sys_resource", -EACCES)); > else > error = fn_for_each_confined(label, profile, > profile_setrlimit(profile, resource, new_rlim)); > pulled in to apparmor-next