projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b07194
)
apparmor: fix spelling mistake: "resoure" -> "resource"
author
Colin Ian King
<colin.king@canonical.com>
Thu, 24 Aug 2017 08:31:45 +0000
(09:31 +0100)
committer
John Johansen
<john.johansen@canonical.com>
Tue, 21 Nov 2017 08:25:44 +0000
(
00:25
-0800)
Trivial fix to spelling mistake in comment and also with text in
audit_resource call.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/resource.c
patch
|
blob
|
history
diff --git
a/security/apparmor/resource.c
b/security/apparmor/resource.c
index d8bc842594edd884b12412edf540f3fae5feb810..cf4d234febe94c9e96a8c0dc7df4d0132f856621 100644
(file)
--- 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
+ * @resour
c
e: 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_resour
c
e", -EACCES));
else
error = fn_for_each_confined(label, profile,
profile_setrlimit(profile, resource, new_rlim));