2020-10-08 03:37:52

by Zhouyi Zhou

[permalink] [raw]
Subject: [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback

There is a tiny typo in comment of function kprobes_module_callback.

Signed-off-by: Zhouyi Zhou <[email protected]>
---
kernel/kprobes.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index e995541..9d2042b 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -2432,7 +2432,7 @@ static int kprobes_module_callback(struct notifier_block *nb,
within_module_core((unsigned long)p->addr, mod))) {
/*
* The vaddr this probe is installed will soon
- * be vfreed buy not synced to disk. Hence,
+ * be vfreed but not synced to disk. Hence,
* disarming the breakpoint isn't needed.
*
* Note, this will also move any optimized probes
--
1.7.1


2020-10-08 04:19:38

by Masami Hiramatsu

[permalink] [raw]
Subject: Re: [PATCH V2] kprobes: Correct a typo in function kprobes_module_callback

On Thu, 8 Oct 2020 03:13:57 +0000
Zhouyi Zhou <[email protected]> wrote:

> There is a tiny typo in comment of function kprobes_module_callback.
>
> Signed-off-by: Zhouyi Zhou <[email protected]>

Thanks for reporting!

Acked-by: Masami Hiramatsu <[email protected]>


> ---
> kernel/kprobes.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/kprobes.c b/kernel/kprobes.c
> index e995541..9d2042b 100644
> --- a/kernel/kprobes.c
> +++ b/kernel/kprobes.c
> @@ -2432,7 +2432,7 @@ static int kprobes_module_callback(struct notifier_block *nb,
> within_module_core((unsigned long)p->addr, mod))) {
> /*
> * The vaddr this probe is installed will soon
> - * be vfreed buy not synced to disk. Hence,
> + * be vfreed but not synced to disk. Hence,
> * disarming the breakpoint isn't needed.
> *
> * Note, this will also move any optimized probes
> --
> 1.7.1
>


--
Masami Hiramatsu <[email protected]>