mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add helper to utils.c and use it in mount-notify and statmount tests. Linking with utils.c drags in a dependecy with libcap, so add it to the Makefile of the tests. Reviewed-by: John Hubbard <jhubbard@nvidia.com> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Link: https://lore.kernel.org/20250509133240.529330-7-amir73il@gmail.com Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
10 lines
249 B
Makefile
10 lines
249 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
CFLAGS += -Wall -O2 -g $(KHDR_INCLUDES) $(TOOLS_INCLUDES)
|
|
LDLIBS += -lcap
|
|
|
|
TEST_GEN_PROGS := statmount_test statmount_test_ns listmount_test
|
|
|
|
include ../../lib.mk
|
|
|
|
$(OUTPUT)/statmount_test_ns: ../utils.c
|