• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2019 Federico Bonfiglio fedebonfi95@gmail.com
4  */
5 
6 #ifndef LAPI_IOCTL_NS_H__
7 #define LAPI_IOCTL_NS_H__
8 
9 #include <asm-generic/ioctl.h>
10 
11 #ifndef NSIO
12 #define NSIO	0xb7
13 #endif
14 #ifndef NS_GET_PARENT
15 #define NS_GET_PARENT		_IO(NSIO, 0x2)
16 #endif
17 #ifndef NS_GET_OWNER_UID
18 #define NS_GET_OWNER_UID	_IO(NSIO, 0x4)
19 #endif
20 #ifndef NS_GET_USERNS
21 #define NS_GET_USERNS		_IO(NSIO, 0x1)
22 #endif
23 #ifndef NS_GET_NSTYPE
24 #define NS_GET_NSTYPE		_IO(NSIO, 0x3)
25 #endif
26 
27 
28 #endif /* LAPI_IOCTL_NS_H__ */
29