nsfs: add ioctl to get an owning user namespace for ns file descriptor
[linux-2.6-block.git] / include / uapi / linux / nsfs.h
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
11 #endif /* __LINUX_NSFS_H */