[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221014084255.26103-1-yang.lee@linux.alibaba.com>
Date: Fri, 14 Oct 2022 16:42:55 +0800
From: Yang Li <yang.lee@...ux.alibaba.com>
To: john.johansen@...onical.com
Cc: paul@...l-moore.com, jmorris@...ei.org, serge@...lyn.com,
apparmor@...ts.ubuntu.com, linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH -next] apparmor: Fix spelling of function name in comment block
'resouce' -> 'resource'
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2396
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
---
security/apparmor/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c
index ed543f4edfd9..d7dbacc9a369 100644
--- a/security/apparmor/resource.c
+++ b/security/apparmor/resource.c
@@ -66,7 +66,7 @@ static int audit_resource(struct aa_profile *profile, unsigned int resource,
}
/**
- * aa_map_resouce - map compiled policy resource to internal #
+ * aa_map_resource - map compiled policy resource to internal #
* @resource: flattened policy resource number
*
* Returns: resource # for the current architecture.
--
2.20.1.7.g153144c
Powered by blists - more mailing lists