1
Index: b/security/apparmor/main.c
2
===================================================================
3
--- a/security/apparmor/main.c
4
+++ b/security/apparmor/main.c
5
@@ -1086,7 +1086,7 @@ void aa_release(struct task_struct *task
8
* do_change_hat - actually switch hats
9
- * @hat_name: name of hat to swtich to
10
+ * @hat_name: name of hat to switch to
11
* @cxt: current aa_task_context
13
* Switch to a new hat. Return %0 on success, error otherwise.
14
Index: b/security/apparmor/inline.h
15
===================================================================
16
--- a/security/apparmor/inline.h
17
+++ b/security/apparmor/inline.h
18
@@ -60,7 +60,7 @@ static inline struct aa_profile *aa_get_
19
* profile. The cxt_lock must be held to ensure consistency against
20
* other writers. Some write paths (ex. aa_register) require
21
* cxt->profile not to change over several operations, so the calling
22
- * function is responsible for grabing the cxt_lock to meet its
23
+ * function is responsible for grabbing the cxt_lock to meet its
24
* consistency constraints before calling aa_switch_to_profile
26
static inline void aa_switch_to_profile(struct aa_task_context *cxt,