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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 18 Mar 2021 21:38:14 -0500
From:   Josh Poimboeuf <jpoimboe@...hat.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     x86@...nel.org, jgross@...e.com, mbenes@...e.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 05/14] objtool: Per arch retpoline naming

On Thu, Mar 18, 2021 at 06:11:08PM +0100, Peter Zijlstra wrote:
> @@ -872,7 +877,7 @@ static int add_jump_destinations(struct
>  		} else if (reloc->sym->type == STT_SECTION) {
>  			dest_sec = reloc->sym->sec;
>  			dest_off = arch_dest_reloc_offset(reloc->addend);
> -		} else if (!strncmp(reloc->sym->name, "__x86_indirect_thunk_", 21)) {
> +		} else if (arch_is_retpoline(reloc->sym)) {
>  			/*
>  			 * Retpoline jumps are really dynamic jumps in
>  			 * disguise, so convert them accordingly.

There's another one in add_call_destinations().

-- 
Josh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ