#include <linux/export.h>
#include <linux/sched/signal.h>
#include <linux/sched/task.h>
#include <linux/fs.h>
#include <linux/path.h>
#include <linux/slab.h>
#include <linux/fs_struct.h>
#include "internal.h"
void set_fs_root(struct fs_struct *fs, const struct path *path)
{ … }
void set_fs_pwd(struct fs_struct *fs, const struct path *path)
{ … }
static inline int replace_path(struct path *p, const struct path *old, const struct path *new)
{ … }
void chroot_fs_refs(const struct path *old_root, const struct path *new_root)
{ … }
void free_fs_struct(struct fs_struct *fs)
{ … }
void exit_fs(struct task_struct *tsk)
{ … }
struct fs_struct *copy_fs_struct(struct fs_struct *old)
{ … }
int unshare_fs_struct(void)
{ … }
EXPORT_SYMBOL_GPL(…);
int current_umask(void)
{ … }
EXPORT_SYMBOL(…);
struct fs_struct init_fs = …;