mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Eric W. Biederman](/assets/img/avatar_default.png)
This will allow for support for unprivileged mounts in a new user namespace. Acked-by: "Serge E. Hallyn" <serge@hallyn.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
18 lines
508 B
C
18 lines
508 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
|