Home
last modified time | relevance | path

Searched refs:idmap (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v5.4/fs/nfs/
Dnfs4idmap.c64 struct idmap *idmap; member
67 struct idmap { struct
75 static struct user_namespace *idmap_userns(const struct idmap *idmap) in idmap_userns() argument
77 if (idmap && idmap->cred) in idmap_userns()
78 return idmap->cred->user_ns; in idmap_userns()
279 const char *type, struct idmap *idmap) in nfs_idmap_request_key() argument
289 if (!idmap->cred || idmap->cred->user_ns == &init_user_ns) in nfs_idmap_request_key()
292 mutex_lock(&idmap->idmap_mutex); in nfs_idmap_request_key()
294 desc, NULL, "", 0, idmap); in nfs_idmap_request_key()
295 mutex_unlock(&idmap->idmap_mutex); in nfs_idmap_request_key()
[all …]
/Linux-v5.4/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c76 char idmap[4096]; in change_to_userns() local
88 ret = snprintf(idmap, sizeof(idmap), "0 %d 1", uid); in change_to_userns()
89 if (ret < 0 || (size_t)ret >= sizeof(idmap)) in change_to_userns()
93 write_to_file("/proc/self/uid_map", idmap, strlen(idmap), 0); in change_to_userns()
95 ret = snprintf(idmap, sizeof(idmap), "0 %d 1", gid); in change_to_userns()
96 if (ret < 0 || (size_t)ret >= sizeof(idmap)) in change_to_userns()
100 write_to_file("/proc/self/gid_map", idmap, strlen(idmap), 0); in change_to_userns()
/Linux-v5.4/Documentation/filesystems/nfs/
Didmapper.txt9 or by placing a call to the rpc.idmap daemon.
19 legacy rpc.idmap daemon for the id mapping. This result will be stored
20 in a custom NFS idmap cache.
31 create id_resolver * * /usr/sbin/nfs.idmap %k %d 600
33 This will direct all id_resolver requests to the program /usr/sbin/nfs.idmap.
35 expire. This parameter is optional for /usr/sbin/nfs.idmap. When the timeout
36 is not specified, nfs.idmap will default to 600 seconds.
51 create id_resolver * * /usr/sbin/nfs.idmap %k %d 600
56 /usr/sbin/nfs.idmap will handle gid, user, and group lookups.
63 nfs.idmap
[all …]
/Linux-v5.4/arch/arm/kernel/
Dvmlinux.lds.h42 *(.idmap.text) \
46 *(.hyp.idmap.text) \
Dsleep.S102 .pushsection .idmap.text,"ax"
/Linux-v5.4/arch/arm/include/asm/
Didmap.h9 #define __idmap __section(.idmap.text) noinline notrace
Dmemory.h323 static inline phys_addr_t idmap_to_phys(unsigned long idmap) in idmap_to_phys() argument
325 phys_addr_t addr = idmap; in idmap_to_phys()
/Linux-v5.4/arch/arm64/kernel/
Dvmlinux.lds.S38 *(.hyp.idmap.text) \
47 *(.idmap.text) \
Dcpu-reset.S16 .pushsection .idmap.text, "awx"
/Linux-v5.4/arch/arm/mm/
Dproc-arm9tdmi.S44 .pushsection .idmap.text, "ax"
Dproc-arm7tdmi.S44 .pushsection .idmap.text, "ax"
Dproc-arm720.S90 .pushsection .idmap.text, "ax"
Dproc-arm740.S48 .pushsection .idmap.text, "ax"
Dproc-sa110.S62 .pushsection .idmap.text, "ax"
Dproc-fa526.S54 .pushsection .idmap.text, "ax"
DMakefile8 obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \
Dproc-sa1100.S70 .pushsection .idmap.text, "ax"
Dproc-arm940.S47 .pushsection .idmap.text, "ax"
Dproc-v6.S55 .pushsection .idmap.text, "ax"
Dproc-arm922.S76 .pushsection .idmap.text, "ax"
/Linux-v5.4/arch/arm64/kvm/
Dhyp-init.S17 .pushsection .hyp.idmap.text, "ax"
/Linux-v5.4/arch/arm/mach-tegra/
Dsleep.S112 .pushsection .idmap.text, "ax"
/Linux-v5.4/include/linux/
Dnfs_fs_sb.h79 struct idmap * cl_idmap;
/Linux-v5.4/arch/arm/kvm/
Dinit.S38 .pushsection .hyp.idmap.text,"ax"
/Linux-v5.4/kernel/bpf/
Dverifier.c6697 static bool check_ids(u32 old_id, u32 cur_id, struct idpair *idmap) in check_ids() argument
6702 if (!idmap[i].old) { in check_ids()
6704 idmap[i].old = old_id; in check_ids()
6705 idmap[i].cur = cur_id; in check_ids()
6708 if (idmap[i].old == old_id) in check_ids()
6709 return idmap[i].cur == cur_id; in check_ids()
6814 struct idpair *idmap) in regsafe() argument
6881 return check_ids(rold->id, rcur->id, idmap); in regsafe()
6900 if (rold->id && !check_ids(rold->id, rcur->id, idmap)) in regsafe()
6931 struct idpair *idmap) in stacksafe() argument
[all …]

12