Home | History | Annotate | Download | only in strace
      1 #ifndef STRACE_NSFS_H
      2 #define STRACE_NSFS_H
      3 
      4 #include <linux/ioctl.h>
      5 
      6 #ifdef HAVE_LINUX_NSFS_H
      7 # include <linux/nsfs.h>
      8 #else
      9 # define NSIO    0xb7
     10 # define NS_GET_USERNS   _IO(NSIO, 0x1)
     11 # define NS_GET_PARENT   _IO(NSIO, 0x2)
     12 #endif
     13 
     14 #ifndef NS_GET_NSTYPE
     15 # define NS_GET_NSTYPE    _IO(NSIO, 0x3)
     16 #endif
     17 #ifndef NS_GET_OWNER_UID
     18 # define NS_GET_OWNER_UID _IO(NSIO, 0x4)
     19 #endif
     20 
     21 #endif /* !STRACE_NSFS_H */
     22