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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251017090201.317521-1-reddybalavignesh9979@gmail.com>
Date: Fri, 17 Oct 2025 14:32:01 +0530
From: Bala-Vignesh-Reddy <reddybalavignesh9979@...il.com>
To: akpm@...ux-foundation.org
Cc: linux-kselftest@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	shuah@...nel.org,
	richard.weiyang@...il.com,
	lkp@...el.com,
	reddybalavignesh9979@...il.com,
	linux-kernel-mentees@...ts.linux.dev
Subject: [PATCH] samples/vfs: add selftests include path for kselftest.h

The test-list-all-mounts sample includes pidfd.h from selftests,
which now uses the centralized kselftest.h include after the
previous change. Add the selftests directory to the include path
so the build can find kselftest.h

This fixes a build error reported by the kernel test robot.

Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202510171513.6IWk005g-lkp@intel.com/

Signed-off-by: Bala-Vignesh-Reddy <reddybalavignesh9979@...il.com>
---
 samples/vfs/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/vfs/Makefile b/samples/vfs/Makefile
index 6554b73a75c8..9256ca5d762b 100644
--- a/samples/vfs/Makefile
+++ b/samples/vfs/Makefile
@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0-only
 userprogs-always-y += test-fsmount test-statx mountinfo test-list-all-mounts
 
+userccflags += -I $(srctree)/tools/testing/selftests/
 userccflags += -I usr/include
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ