diff options
Diffstat (limited to 'include/uapi/linux/nsfs.h')
-rw-r--r-- | include/uapi/linux/nsfs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/linux/nsfs.h b/include/uapi/linux/nsfs.h new file mode 100644 index 000000000000..3af617230d1b --- /dev/null +++ b/include/uapi/linux/nsfs.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #ifndef __LINUX_NSFS_H | ||
2 | #define __LINUX_NSFS_H | ||
3 | |||
4 | #include <linux/ioctl.h> | ||
5 | |||
6 | #define NSIO 0xb7 | ||
7 | |||
8 | /* Returns a file descriptor that refers to an owning user namespace */ | ||
9 | #define NS_GET_USERNS _IO(NSIO, 0x1) | ||
10 | /* Returns a file descriptor that refers to a parent namespace */ | ||
11 | #define NS_GET_PARENT _IO(NSIO, 0x2) | ||
12 | |||
13 | #endif /* __LINUX_NSFS_H */ | ||