Files
android_kernel_samsung_msm8…/include/linux/mnt_namespace.h
T
Eric W. Biederman 9bfaf4fe66 vfs: Add a user namespace reference from struct mnt_namespace
This will allow for support for unprivileged mounts in a new user namespace.

Change-Id: I861716cf94da385c1805edcc9b43209a9d491b69
Acked-by: "Serge E. Hallyn" <serge@hallyn.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Git-commit: ef2fbdef5dea4621c5a889a46e12526511c8610b
Git-repo: https://android.googlesource.com/kernel/common/
[schikk@codeaurora.org: Resolved merge conflicts ]
CRs-Fixed: 901628
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2015-09-11 14:34:08 +05:30

19 lines
509 B
C

#ifndef _NAMESPACE_H_
#define _NAMESPACE_H_
#ifdef __KERNEL__
struct mnt_namespace;
struct fs_struct;
struct user_namespace;
extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *,
struct user_namespace *, struct fs_struct *);
extern void put_mnt_ns(struct mnt_namespace *ns);
extern const struct file_operations proc_mounts_operations;
extern const struct file_operations proc_mountinfo_operations;
extern const struct file_operations proc_mountstats_operations;
#endif
#endif