Home
last modified time | relevance | path

Searched refs:fs_userns (Results 1 – 2 of 2) sorted by relevance

/include/linux/
Dmnt_idmapping.h45 const struct user_namespace *fs_userns) in no_idmapping() argument
47 return initial_idmapping(mnt_userns) || mnt_userns == fs_userns; in no_idmapping()
71 struct user_namespace *fs_userns, in mapped_kuid_fs() argument
76 if (no_idmapping(mnt_userns, fs_userns)) in mapped_kuid_fs()
78 if (initial_idmapping(fs_userns)) in mapped_kuid_fs()
81 uid = from_kuid(fs_userns, kuid); in mapped_kuid_fs()
108 struct user_namespace *fs_userns, in mapped_kgid_fs() argument
113 if (no_idmapping(mnt_userns, fs_userns)) in mapped_kgid_fs()
115 if (initial_idmapping(fs_userns)) in mapped_kgid_fs()
118 gid = from_kgid(fs_userns, kgid); in mapped_kgid_fs()
[all …]
Dfs.h1752 struct user_namespace *fs_userns = sb->s_user_ns; in fsuidgid_has_mapping() local
1756 kuid = mapped_fsuid(mnt_userns, fs_userns); in fsuidgid_has_mapping()
1759 kgid = mapped_fsgid(mnt_userns, fs_userns); in fsuidgid_has_mapping()
1762 return kuid_has_mapping(fs_userns, kuid) && in fsuidgid_has_mapping()
1763 kgid_has_mapping(fs_userns, kgid); in fsuidgid_has_mapping()