Skip to content

Commit fd97646

Browse files
Wei Yuanpcmoore
authored andcommitted
audit: Fix typo in comment
Signed-off-by: Weiyuan <weiyuan.wei@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent 935c9e7 commit fd97646

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

kernel/audit_watch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static struct audit_watch *audit_init_watch(char *path)
185185
return watch;
186186
}
187187

188-
/* Translate a watch string to kernel respresentation. */
188+
/* Translate a watch string to kernel representation. */
189189
int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op)
190190
{
191191
struct audit_watch *watch;

kernel/auditfilter.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ char *audit_unpack_string(void **bufp, size_t *remain, size_t len)
158158
return str;
159159
}
160160

161-
/* Translate an inode field to kernel respresentation. */
161+
/* Translate an inode field to kernel representation. */
162162
static inline int audit_to_inode(struct audit_krule *krule,
163163
struct audit_field *f)
164164
{
@@ -415,7 +415,7 @@ static int audit_field_valid(struct audit_entry *entry, struct audit_field *f)
415415
return 0;
416416
}
417417

418-
/* Translate struct audit_rule_data to kernel's rule respresentation. */
418+
/* Translate struct audit_rule_data to kernel's rule representation. */
419419
static struct audit_entry *audit_data_to_entry(struct audit_rule_data *data,
420420
size_t datasz)
421421
{
@@ -593,7 +593,7 @@ static inline size_t audit_pack_string(void **bufp, const char *str)
593593
return len;
594594
}
595595

596-
/* Translate kernel rule respresentation to struct audit_rule_data. */
596+
/* Translate kernel rule representation to struct audit_rule_data. */
597597
static struct audit_rule_data *audit_krule_to_data(struct audit_krule *krule)
598598
{
599599
struct audit_rule_data *data;

0 commit comments

Comments
 (0)