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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250830163949.20952-2-reddybalavignesh9979@gmail.com>
Date: Sat, 30 Aug 2025 22:09:48 +0530
From: Bala-Vignesh-Reddy <reddybalavignesh9979@...il.com>
To: reddybalavignesh9979@...il.com,
	akpm@...ux-foundation.org,
	richard.weiyang@...il.com
Cc: Liam.Howlett@...cle.com,
	davem@...emloft.net,
	david@...hat.com,
	edumazet@...gle.com,
	gnoack@...gle.com,
	horms@...nel.org,
	kuba@...nel.org,
	linux-kernel@...r.kernel.org,
	linux-kselftest@...r.kernel.org,
	linux-mm@...ck.org,
	linux-security-module@...r.kernel.org,
	lorenzo.stoakes@...cle.com,
	mhocko@...e.com,
	mic@...ikod.net,
	ming.lei@...hat.com,
	pabeni@...hat.com,
	rppt@...nel.org,
	shuah@...nel.org,
	skhan@...uxfoundation.org,
	surenb@...gle.com,
	vbabka@...e.cz
Subject: [PATCH v2 1/2] selftests: Centralize include path for kselftest.h and kselftest_harness.h

Add compile flag in lib.mk, to include the selftest/
directory while building.

Suggested-by: Wei Yang <richard.weiyang@...il.com>

Signed-off-by: Bala-Vignesh-Reddy <reddybalavignesh9979@...il.com>
---
 tools/testing/selftests/lib.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 530390033929..975840bb5477 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -199,6 +199,8 @@ clean: $(if $(TEST_GEN_MODS_DIR),clean_mods_dir)
 # Build with _GNU_SOURCE by default
 CFLAGS += -D_GNU_SOURCE=
 
+CFLAGS += -I${top_srcdir}/tools/testing/selftests
+
 # Enables to extend CFLAGS and LDFLAGS from command line, e.g.
 # make USERCFLAGS=-Werror USERLDFLAGS=-static
 CFLAGS += $(USERCFLAGS)
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ