lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 16 Jun 2016 06:33:49 +0900
From:	Masami Hiramatsu <mhiramat@...nel.org>
To:	Jinbum Park <jinb.park7@...il.com>
Cc:	ananth@...ux.vnet.ibm.com, anil.s.keshavamurthy@...el.com,
	davem@...emloft.net, kernel-janitors@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	linux@...linux.org.uk
Subject: Re: [PATCH] kprobes: fix a comment typo

On Thu, 16 Jun 2016 00:19:22 +0900
Jinbum Park <jinb.park7@...il.com> wrote:

> Just fix a typo in the code comment.

Thanks :)

Acked-by: Masami Hiramatsu <mhiramat@...nel.org>

> 
> Signed-off-by: Jinbum Park <jinb.park7@...il.com>
> ---
>  arch/arm/probes/kprobes/opt-arm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/probes/kprobes/opt-arm.c b/arch/arm/probes/kprobes/opt-arm.c
> index bcdecc2..073c0ba 100644
> --- a/arch/arm/probes/kprobes/opt-arm.c
> +++ b/arch/arm/probes/kprobes/opt-arm.c
> @@ -223,7 +223,7 @@ int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *or
>  	 *
>  	 * So the maximum forward branch should be:
>  	 *   (0x007fffff << 2) = 0x01fffffc =  0x1fffffc
> -	 * The maximum backword branch should be:
> +	 * The maximum backward branch should be:
>  	 *   (0xff800000 << 2) = 0xfe000000 = -0x2000000
>  	 *
>  	 * We can simply check (rel & 0xfe000003):
> -- 
> 1.9.1
> 


-- 
Masami Hiramatsu <mhiramat@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ