linux/tools/testing/selftests/filesystems/overlayfs/Makefile
Christian Brauner 39796254f4
selftests/filesystems: check that an automount below an overlay layer is refused
Make sure that we don't automount on top of internal things.

Link: https://patch.msgid.link/20261002-work-mount-fixes-4-v1-12-dd44b89d44ce@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-10-04 12:31:40 +02:00

18 lines
371 B
Makefile

# SPDX-License-Identifier: GPL-2.0
CFLAGS += -Wall
CFLAGS += $(KHDR_INCLUDES)
LDLIBS += -lcap
LOCAL_HDRS += ../wrappers.h log.h
TEST_GEN_PROGS := dev_in_maps
TEST_GEN_PROGS += set_layers_via_fds
TEST_GEN_PROGS += idmapped_mounts
TEST_GEN_PROGS += automount_in_layer
include ../../lib.mk
$(OUTPUT)/set_layers_via_fds: ../utils.c
$(OUTPUT)/idmapped_mounts: ../utils.c