Skip to content

Commit

Permalink
apparmor: fix spelling mistake: "resoure" -> "resource"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and John Johansen committed Nov 21, 2017
1 parent 0b07194 commit 5933a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/apparmor/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 5933a62

Please sign in to comment.