Skip to content

Commit

Permalink
audit: Fix typo in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Weiyuan <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
  • Loading branch information
Wei Yuan authored and pcmoore committed Feb 8, 2016
1 parent 935c9e7 commit fd97646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kernel/audit_watch.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static struct audit_watch *audit_init_watch(char *path)
return watch;
}

/* Translate a watch string to kernel respresentation. */
/* Translate a watch string to kernel representation. */
int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op)
{
struct audit_watch *watch;
Expand Down
6 changes: 3 additions & 3 deletions kernel/auditfilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ char *audit_unpack_string(void **bufp, size_t *remain, size_t len)
return str;
}

/* Translate an inode field to kernel respresentation. */
/* Translate an inode field to kernel representation. */
static inline int audit_to_inode(struct audit_krule *krule,
struct audit_field *f)
{
Expand Down Expand Up @@ -415,7 +415,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
return 0;
}

/* Translate struct audit_rule_data to kernel's rule respresentation. */
/* Translate struct audit_rule_data to kernel's rule representation. */
static struct audit_entry *audit_data_to_entry(struct audit_rule_data *data,
size_t datasz)
{
Expand Down Expand Up @@ -593,7 +593,7 @@ static inline size_t audit_pack_string(void **bufp, const char *str)
return len;
}

/* Translate kernel rule respresentation to struct audit_rule_data. */
/* Translate kernel rule representation to struct audit_rule_data. */
static struct audit_rule_data *audit_krule_to_data(struct audit_krule *krule)
{
struct audit_rule_data *data;
Expand Down

0 comments on commit fd97646

Please sign in to comment.