mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Add selftests for FSMOUNT_NAMESPACE which creates a new mount namespace with the newly created filesystem mounted onto a copy of the real rootfs. Link: https://patch.msgid.link/20260122-work-fsmount-namespace-v1-6-5ef0a886e646@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
11 lines
265 B
Makefile
11 lines
265 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
TEST_GEN_PROGS := open_tree_ns_test
|
|
|
|
CFLAGS += -Wall -O0 -g $(KHDR_INCLUDES) $(TOOLS_INCLUDES)
|
|
LDLIBS := -lcap
|
|
|
|
include ../../lib.mk
|
|
|
|
$(OUTPUT)/open_tree_ns_test: open_tree_ns_test.c ../utils.c
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
|