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]
Message-ID: <87h6j14huy.fsf@all.your.base.are.belong.to.us>
Date: Thu, 25 Jan 2024 15:17:57 +0100
From: Björn Töpel <bjorn@...nel.org>
To: Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann
 <daniel@...earbox.net>, Andrii Nakryiko <andrii@...nel.org>, Mykola
 Lysenko <mykolal@...com>, bpf@...r.kernel.org, netdev@...r.kernel.org
Cc: Björn Töpel <bjorn@...osinc.com>,
 linux-kselftest@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next] selftests/bpf: Include runner extras for
 install target

Björn Töpel <bjorn@...nel.org> writes:

> From: Björn Töpel <bjorn@...osinc.com>
>
> When using the "install" or targets depending on install, e.g.
> "gen_tar", the "runner extras" weren't included for the BPF machine
> flavors.
>
> Make sure the necessary helper scripts/tools are added to
> corresponding BPF machine flavor.
>
> Signed-off-by: Björn Töpel <bjorn@...osinc.com>
> ---
> tools/testing/selftests/bpf/Makefile | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/tools/testing/selftests/bpf/Makefile b/tools/testing/selftests/bpf/Makefile
> index fd15017ed3b1..a5e63ef78bf1 100644
> --- a/tools/testing/selftests/bpf/Makefile
> +++ b/tools/testing/selftests/bpf/Makefile
> @@ -747,5 +747,15 @@ override define INSTALL_RULE
>  	@for DIR in $(TEST_INST_SUBDIRS); do		  \
>  		mkdir -p $(INSTALL_PATH)/$$DIR;   \
>  		rsync -a $(OUTPUT)/$$DIR/*.bpf.o $(INSTALL_PATH)/$$DIR;\
> +		rsync -a --copy-unsafe-links \
> +			$(OUTPUT)/$$DIR/bpf_testmod.ko \
> +			$(OUTPUT)/$$DIR/bpftool \
> +			$(OUTPUT)/$$DIR/ima_setup.sh \
> +			$(OUTPUT)/$$DIR/liburandom_read.so \
> +			$(OUTPUT)/$$DIR/sign-file \
> +			$(OUTPUT)/$$DIR/uprobe_multi \
> +			$(OUTPUT)/$$DIR/urandom_read \
> +			$(OUTPUT)/$$DIR/verify_sig_setup.sh \
> +			$(OUTPUT)/$$DIR/xdp_synproxy $(INSTALL_PATH)/$$DIR;\

Nevermind this patch. The btf_dump_test_case*.c files are missing. I'll
spin a v2 (and also try to avoid the name duplication from
TRUNNER_EXTRA_FILES).

Björn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ