Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nsfs.h 555B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2017-2018 The strace developers.
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #ifndef STRACE_NSFS_H
  8. # define STRACE_NSFS_H
  9. # include <linux/ioctl.h>
  10. # ifdef HAVE_LINUX_NSFS_H
  11. # include <linux/nsfs.h>
  12. # else
  13. # define NSIO 0xb7
  14. # define NS_GET_USERNS _IO(NSIO, 0x1)
  15. # define NS_GET_PARENT _IO(NSIO, 0x2)
  16. # endif
  17. # ifndef NS_GET_NSTYPE
  18. # define NS_GET_NSTYPE _IO(NSIO, 0x3)
  19. # endif
  20. # ifndef NS_GET_OWNER_UID
  21. # define NS_GET_OWNER_UID _IO(NSIO, 0x4)
  22. # endif
  23. #endif /* !STRACE_NSFS_H */