| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include_next <linux/nsfs.h> /* IWYU pragma: export */ |
| 5 |
|
| 6 |
/* Root namespace inode numbers, as per include/linux/proc_ns.h in the kernel source tree, since v3.8: |
| 7 |
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=98f842e675f96ffac96e6c50315790912b2812be */ |
| 8 |
|
| 9 |
#define PROC_IPC_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFF)) |
| 10 |
#define PROC_UTS_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFE)) |
| 11 |
#define PROC_USER_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFD)) |
| 12 |
#define PROC_PID_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFC)) |
| 13 |
#define PROC_CGROUP_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFB)) |
| 14 |
#define PROC_TIME_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFA)) |
| 15 |
|
| 16 |
/* From kernel-internal include/linux/exportfs.h, not part of uapi. */ |
| 17 |
#ifndef FILEID_NSFS |
| 18 |
#define FILEID_NSFS 0xf1 |
| 19 |
#endif |