~ubuntu-branches/ubuntu/raring/apparmor/raring

« back to all changes in this revision

Viewing changes to kernel-patches/for-mainline/typos.diff

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-03-23 16:42:01 UTC
  • Revision ID: james.westby@ubuntu.com-20070323164201-jkax6f0oku087b7l
Tags: upstream-2.0.1+510.dfsg
ImportĀ upstreamĀ versionĀ 2.0.1+510.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
6
 
 
7
 /**
 
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
 
12
  *
 
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
 
25
  */
 
26
 static inline void aa_switch_to_profile(struct aa_task_context *cxt,