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-next>] [day] [month] [year] [list]
Message-Id: <20210820194453.395548-1-joe.lawrence@redhat.com>
Date:   Fri, 20 Aug 2021 15:44:51 -0400
From:   Joe Lawrence <joe.lawrence@...hat.com>
To:     x86@...nel.org, Josh Poimboeuf <jpoimboe@...hat.com>,
        Peter Zijlstra <peterz@...radead.org>
Cc:     linux-kernel@...r.kernel.org, Miroslav Benes <mbenes@...e.cz>
Subject: [PATCH v2 0/2] objtool: altinstructions fix and cleanup

Hi Josh,

Here's an updated patchset with suggestions from the initial post.

For the second patch, I assumed that the two values were intended to be
synonymous, so it was effectively a big s/sec->len/sec->sh_size.

v2:
- drop the sec->len update from the first patch [josh]
- rip out sec->len as suggested [josh]

Joe Lawrence (2):
  objtool: make .altinstructions section entry size consistent
  objtool: remove redundant len value from struct section

 tools/objtool/arch/x86/decode.c      |  4 ++--
 tools/objtool/check.c                | 19 ++++++++++---------
 tools/objtool/elf.c                  | 15 +++++++--------
 tools/objtool/include/objtool/arch.h |  2 +-
 tools/objtool/include/objtool/elf.h  |  1 -
 tools/objtool/orc_gen.c              |  2 +-
 tools/objtool/special.c              |  4 ++--
 7 files changed, 23 insertions(+), 24 deletions(-)

-- 
2.26.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ