nsfs: move root inode number to uapi
authorChristian Brauner <brauner@kernel.org>
Fri, 6 Jun 2025 09:45:07 +0000 (11:45 +0200)
committerChristian Brauner <brauner@kernel.org>
Wed, 11 Jun 2025 09:59:08 +0000 (11:59 +0200)
commit6a9e2fb1bab53b54d02714a2ee3c6612d19629ce
treed2cc44509e4446deb30d4569dba12e6af1e40d47
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494
nsfs: move root inode number to uapi

Userspace relies on the root inode numbers to identify the initial
namespaces. That's already a hard dependency. So we cannot change that
anymore. Move the initial inode numbers to a public header.

Link: https://github.com/systemd/systemd/commit/d293fade24b34ccc2f5716b0ff5513e9533cf0c4
Link: https://lore.kernel.org/20250606-work-nsfs-v1-1-b8749c9a8844@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/proc_ns.h
include/uapi/linux/nsfs.h