aboutsummaryrefslogtreecommitdiff
path: root/nsfs.h
blob: 3e17c53a9076ff28319db41bdb335f48096381e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef STRACE_NSFS_H
#define STRACE_NSFS_H

#include <linux/ioctl.h>

#ifdef HAVE_LINUX_NSFS_H
# include <linux/nsfs.h>
#else
# define NSIO    0xb7
# define NS_GET_USERNS   _IO(NSIO, 0x1)
# define NS_GET_PARENT   _IO(NSIO, 0x2)
#endif

#ifndef NS_GET_NSTYPE
# define NS_GET_NSTYPE    _IO(NSIO, 0x3)
#endif
#ifndef NS_GET_OWNER_UID
# define NS_GET_OWNER_UID _IO(NSIO, 0x4)
#endif

#endif /* !STRACE_NSFS_H */