Release 4.7 include/linux/fs_struct.h
#ifndef _LINUX_FS_STRUCT_H
#define _LINUX_FS_STRUCT_H
#include <linux/path.h>
#include <linux/spinlock.h>
#include <linux/seqlock.h>
struct fs_struct {
int users;
spinlock_t lock;
seqcount_t seq;
int umask;
int in_exec;
struct path root, pwd;
};
extern struct kmem_cache *fs_cachep;
extern void exit_fs(struct task_struct *);
extern void set_fs_root(struct fs_struct *, const struct path *);
extern void set_fs_pwd(struct fs_struct *, const struct path *);
extern struct fs_struct *copy_fs_struct(struct fs_struct *);
extern void free_fs_struct(struct fs_struct *);
extern int unshare_fs_struct(void);
static inline void get_fs_root(struct fs_struct *fs, struct path *root)
{
spin_lock(&fs->lock);
*root = fs->root;
path_get(root);
spin_unlock(&fs->lock);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
miklos szeredi | miklos szeredi | 43 | 95.56% | 1 | 50.00% |
nick piggin | nick piggin | 2 | 4.44% | 1 | 50.00% |
| Total | 45 | 100.00% | 2 | 100.00% |
static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd)
{
spin_lock(&fs->lock);
*pwd = fs->pwd;
path_get(pwd);
spin_unlock(&fs->lock);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
miklos szeredi | miklos szeredi | 43 | 95.56% | 1 | 50.00% |
nick piggin | nick piggin | 2 | 4.44% | 1 | 50.00% |
| Total | 45 | 100.00% | 2 | 100.00% |
extern bool current_chrooted(void);
#endif /* _LINUX_FS_STRUCT_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
miklos szeredi | miklos szeredi | 86 | 40.76% | 1 | 7.14% |
pre-git | pre-git | 71 | 33.65% | 3 | 21.43% |
al viro | al viro | 15 | 7.11% | 3 | 21.43% |
nick piggin | nick piggin | 14 | 6.64% | 2 | 14.29% |
eric w. biederman | eric w. biederman | 7 | 3.32% | 1 | 7.14% |
christoph lameter | christoph lameter | 6 | 2.84% | 1 | 7.14% |
jan blunck | jan blunck | 6 | 2.84% | 2 | 14.29% |
christoph hellwig | christoph hellwig | 6 | 2.84% | 1 | 7.14% |
| Total | 211 | 100.00% | 14 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.