Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1328249 > unrolled thread
| Started by | Wei Yuan <weiyuan.wei@huawei.com> |
|---|---|
| First post | 2016-02-06 08:50 +0100 |
| Last post | 2016-02-08 17:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] audit: Fix typo in comment Wei Yuan <weiyuan.wei@huawei.com> - 2016-02-06 08:50 +0100
Re: [PATCH] audit: Fix typo in comment Paul Moore <paul@paul-moore.com> - 2016-02-08 17:40 +0100
| From | Wei Yuan <weiyuan.wei@huawei.com> |
|---|---|
| Date | 2016-02-06 08:50 +0100 |
| Subject | [PATCH] audit: Fix typo in comment |
| Message-ID | <qZ5N0-46X-13@gated-at.bofh.it> |
Signed-off-by: Weiyuan <weiyuan.wei@huawei.com>
---
kernel/audit_watch.c | 2 +-
kernel/auditfilter.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c
index 9f194aa..3cf1c59 100644
--- a/kernel/audit_watch.c
+++ b/kernel/audit_watch.c
@@ -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;
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
index b8ff9e1..94ca7b1 100644
--- a/kernel/auditfilter.c
+++ b/kernel/auditfilter.c
@@ -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)
{
@@ -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)
{
@@ -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;
--
2.1.0
[toc] | [next] | [standalone]
| From | Paul Moore <paul@paul-moore.com> |
|---|---|
| Date | 2016-02-08 17:40 +0100 |
| Message-ID | <qZX12-7Mz-67@gated-at.bofh.it> |
| In reply to | #1328249 |
On Saturday, February 06, 2016 03:39:47 PM Wei Yuan wrote:
> Signed-off-by: Weiyuan <weiyuan.wei@huawei.com>
> ---
> kernel/audit_watch.c | 2 +-
> kernel/auditfilter.c | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
Applied.
> diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c
> index 9f194aa..3cf1c59 100644
> --- a/kernel/audit_watch.c
> +++ b/kernel/audit_watch.c
> @@ -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;
> diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c
> index b8ff9e1..94ca7b1 100644
> --- a/kernel/auditfilter.c
> +++ b/kernel/auditfilter.c
> @@ -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)
> {
> @@ -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)
> {
> @@ -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;
--
paul moore
www.paul-moore.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web