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: <20240117111000.12763-1-yangtiezhu@loongson.cn>
Date: Wed, 17 Jan 2024 19:09:57 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Alexei Starovoitov <ast@...nel.org>,
	Daniel Borkmann <daniel@...earbox.net>,
	Andrii Nakryiko <andrii@...nel.org>
Cc: Eduard Zingerman <eddyz87@...il.com>,
	John Fastabend <john.fastabend@...il.com>,
	Jiri Olsa <jolsa@...nel.org>,
	Hou Tao <houtao@...weicloud.com>,
	Song Liu <song@...nel.org>,
	bpf@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH bpf-next v5 0/3] Skip callback tests if jit is disabled in test_verifier

v5:
  -- Reuse is_ldimm64_insn() and insn_is_pseudo_func(),
     thanks Song Liu.

v4:
  -- Move the not-allowed-checking into "if (expected_ret ...)"
     block, thanks Hou Tao.
  -- Do some small changes to avoid checkpatch warning
     about "line length exceeds 100 columns".

v3:
  -- Rebase on the latest bpf-next tree.
  -- Address the review comments by Hou Tao,
     remove the second argument "0" of open(),
     check only once whether jit is disabled,
     check fd_prog, saved_errno and jit_disabled to skip.

Tiezhu Yang (3):
  selftests/bpf: Move is_jit_enabled() to testing_helpers
  libbpf: Move insn_is_pseudo_func() to libbpf_internal.h
  selftests/bpf: Skip callback tests if jit is disabled in 
    test_verifier

 tools/lib/bpf/libbpf.c                        |  5 -----
 tools/lib/bpf/libbpf_internal.h               |  5 +++++
 tools/testing/selftests/bpf/test_progs.c      | 18 -----------------
 tools/testing/selftests/bpf/test_verifier.c   | 20 ++++++++++++++++---
 tools/testing/selftests/bpf/testing_helpers.c | 18 +++++++++++++++++
 tools/testing/selftests/bpf/testing_helpers.h |  1 +
 6 files changed, 41 insertions(+), 26 deletions(-)

-- 
2.42.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ