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: <20250917164734.GA2047227@nvidia.com>
Date: Wed, 17 Sep 2025 13:47:34 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Thomas Weißschuh <thomas.weissschuh@...utronix.de>,
	Kees Cook <kees@...nel.org>, Eric Biederman <ebiederm@...ssion.com>,
	Shuah Khan <shuah@...nel.org>,
	Nathan Chancellor <nathan@...nel.org>,
	Nick Desaulniers <ndesaulniers@...gle.com>,
	Bill Wendling <morbo@...gle.com>,
	Justin Stitt <justinstitt@...gle.com>,
	Andy Lutomirski <luto@...nel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Vincenzo Frascino <vincenzo.frascino@....com>,
	Willy Tarreau <w@....eu>, "Jason A. Donenfeld" <Jason@...c4.com>,
	Christophe Leroy <christophe.leroy@...roup.eu>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
	llvm@...ts.linux.dev
Subject: Re: [PATCH v2 16/16] selftests: vDSO: vdso_standalone_test_x86:
 Switch to nolibc

On Wed, Sep 17, 2025 at 06:24:13PM +0200, Thomas Weißschuh wrote:
> Care to try this:
> 
> diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
> index 530390033929..a448fae57831 100644
> --- a/tools/testing/selftests/lib.mk
> +++ b/tools/testing/selftests/lib.mk
> @@ -228,7 +228,10 @@ $(OUTPUT)/%:%.S
>         $(LINK.S) $^ $(LDLIBS) -o $@
>  endif
> 
> +# Extract the expected header directory
> +khdr_output := $(patsubst %/usr/include,%,$(filter %/usr/include,$(KHDR_INCLUDES)))
> +
>  headers:
> -       $(Q)$(MAKE) -C $(top_srcdir) headers
> +       $(Q)$(MAKE) -f $(top_srcdir)/Makefile -C $(khdr_output) headers
> 
>  .PHONY: run_tests all clean install emit_tests gen_mods_dir clean_mods_dir headers

Worked for me, thanks!

Reviewed-by: Jason Gunthorpe <jgg@...dia.com>

Though I notice it still spews stuff out of the build directory:

tools/testing/selftests/mm/local_config.h
tools/testing/selftests/mm/local_config.mk
tools/testing/selftests/net/rds/include.sh
tools/testing/selftests/prctl/disable-tsc-ctxt-sw-stress-test
tools/testing/selftests/prctl/disable-tsc-on-off-stress-test
tools/testing/selftests/prctl/disable-tsc-test
tools/testing/selftests/prctl/set-anon-vma-name-test
tools/testing/selftests/prctl/set-process-name
tools/testing/selftests/uevent/uevent_filtering

It is not related to this

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ