4 #include <linux/ioctl.h>
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 /* Returns the type of namespace (CLONE_NEW* value) referred to by
14 #define NS_GET_NSTYPE _IO(NSIO, 0x3)
15 /* Get owner UID (in the caller's user namespace) for a user namespace */
16 #define NS_GET_OWNER_UID _IO(NSIO, 0x4)
18 #endif /* __LINUX_NSFS_H */