]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pidns: move is-ancestor logic to helper
authorAleksa Sarai <cyphar@cyphar.com>
Tue, 5 Aug 2025 05:45:08 +0000 (15:45 +1000)
committerChristian Brauner <brauner@kernel.org>
Tue, 2 Sep 2025 09:37:24 +0000 (11:37 +0200)
commit7df87820122acd3204565109f636a1367912655a
treeff91f35f804b422001219c5057815b38afbf49bf
parent998541db0ed257ab0682e4a392d8ced5f2d5ff6b
pidns: move is-ancestor logic to helper

This check will be needed in later patches, and there's no point
open-coding it each time.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Link: https://lore.kernel.org/20250805-procfs-pidns-api-v4-1-705f984940e7@cyphar.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/pid_namespace.h
kernel/pid_namespace.c