blob: 3af617230d1b760b00b6ac5cfd3f3ce027ec4db1 [file] [log] [blame]
Andrey Vagin67867412016-09-06 00:47:14 -07001#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)
Andrey Vagina7306ed2016-09-06 00:47:15 -070010/* Returns a file descriptor that refers to a parent namespace */
11#define NS_GET_PARENT _IO(NSIO, 0x2)
Andrey Vagin67867412016-09-06 00:47:14 -070012
13#endif /* __LINUX_NSFS_H */