summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/nsfs.h
blob: 3af617230d1b760b00b6ac5cfd3f3ce027ec4db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __LINUX_NSFS_H
#define __LINUX_NSFS_H

#include <linux/ioctl.h>

#define NSIO	0xb7

/* Returns a file descriptor that refers to an owning user namespace */
#define NS_GET_USERNS	_IO(NSIO, 0x1)
/* Returns a file descriptor that refers to a parent namespace */
#define NS_GET_PARENT	_IO(NSIO, 0x2)

#endif /* __LINUX_NSFS_H */
OpenPOWER on IntegriCloud