mnt_namespace.h 627 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _NAMESPACE_H_
  3. #define _NAMESPACE_H_
  4. #ifdef __KERNEL__
  5. struct mnt_namespace;
  6. struct fs_struct;
  7. struct user_namespace;
  8. struct ns_common;
  9. extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
  10. struct user_namespace *, struct fs_struct *);
  11. extern void put_mnt_ns(struct mnt_namespace *ns);
  12. extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
  13. extern const struct file_operations proc_mounts_operations;
  14. extern const struct file_operations proc_mountinfo_operations;
  15. extern const struct file_operations proc_mountstats_operations;
  16. #endif
  17. #endif