aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorSamuel Zeter <[email protected]>2023-11-29 22:17:41 +0000
committerIngo Molnar <[email protected]>2023-11-30 08:38:09 +0000
commit60c2ea7c89e375804171552d8ea53d9084ec3269 (patch)
treec751bb833d66fb6a9d823975f3b43b338e04c651 /net/unix/unix_bpf.c
parentLinux 6.7-rc3 (diff)
downloadkernel-60c2ea7c89e375804171552d8ea53d9084ec3269.tar.gz
kernel-60c2ea7c89e375804171552d8ea53d9084ec3269.zip
x86/tools: objdump_reformat.awk: Ensure regex matches fwait
If there is "wait" mnemonic in the line being parsed, it is incorrectly handled by the script, and an extra line of "fwait" in objdump_reformat's output is inserted. As insn_decoder_test relies upon the formatted output, the test fails. This is reproducible when disassembling with llvm-objdump: Pre-processed lines: ffffffff81033e72: 9b wait ffffffff81033e73: 48 c7 c7 89 50 42 82 movq After objdump_reformat.awk: ffffffff81033e72: 9b fwait ffffffff81033e72: wait ffffffff81033e73: 48 c7 c7 89 50 42 82 movq The regex match now accepts spaces or tabs, along with the "fwait" instruction. Signed-off-by: Samuel Zeter <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Tested-by: Kees Cook <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Closes: https://github.com/ClangBuiltLinux/linux/issues/1364
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions