Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _NAMESPACE_H_
0003 #define _NAMESPACE_H_
0004 #ifdef __KERNEL__
0005 
0006 struct mnt_namespace;
0007 struct fs_struct;
0008 struct user_namespace;
0009 struct ns_common;
0010 
0011 extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
0012         struct user_namespace *, struct fs_struct *);
0013 extern void put_mnt_ns(struct mnt_namespace *ns);
0014 extern struct ns_common *from_mnt_ns(struct mnt_namespace *);
0015 
0016 extern const struct file_operations proc_mounts_operations;
0017 extern const struct file_operations proc_mountinfo_operations;
0018 extern const struct file_operations proc_mountstats_operations;
0019 
0020 #endif
0021 #endif