Unverified Commit 14f98438 authored by Christian Brauner's avatar Christian Brauner
Browse files

selftests/namespaces: add identifier selftests



Add a bunch of selftests for the identifier retrieval ioctls.

Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 87a1716c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
nsid_test
+7 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
CFLAGS += -Wall -O0 -g $(KHDR_INCLUDES) $(TOOLS_INCLUDES)

TEST_GEN_PROGS := nsid_test

include ../lib.mk
+7 −0
Original line number Diff line number Diff line
CONFIG_UTS_NS=y
CONFIG_TIME_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_CGROUPS=y
+986 −0

File added.

Preview size limit exceeded, changes collapsed.