/Linux-v5.4/fs/nfs/ |
D | nfs4idmap.c | 64 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/ |
D | binderfs_test.c | 76 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/ |
D | idmapper.txt | 9 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/ |
D | vmlinux.lds.h | 42 *(.idmap.text) \ 46 *(.hyp.idmap.text) \
|
D | sleep.S | 102 .pushsection .idmap.text,"ax"
|
/Linux-v5.4/arch/arm/include/asm/ |
D | idmap.h | 9 #define __idmap __section(.idmap.text) noinline notrace
|
D | memory.h | 323 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/ |
D | vmlinux.lds.S | 38 *(.hyp.idmap.text) \ 47 *(.idmap.text) \
|
D | cpu-reset.S | 16 .pushsection .idmap.text, "awx"
|
/Linux-v5.4/arch/arm/mm/ |
D | proc-arm9tdmi.S | 44 .pushsection .idmap.text, "ax"
|
D | proc-arm7tdmi.S | 44 .pushsection .idmap.text, "ax"
|
D | proc-arm720.S | 90 .pushsection .idmap.text, "ax"
|
D | proc-arm740.S | 48 .pushsection .idmap.text, "ax"
|
D | proc-sa110.S | 62 .pushsection .idmap.text, "ax"
|
D | proc-fa526.S | 54 .pushsection .idmap.text, "ax"
|
D | Makefile | 8 obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \
|
D | proc-sa1100.S | 70 .pushsection .idmap.text, "ax"
|
D | proc-arm940.S | 47 .pushsection .idmap.text, "ax"
|
D | proc-v6.S | 55 .pushsection .idmap.text, "ax"
|
D | proc-arm922.S | 76 .pushsection .idmap.text, "ax"
|
/Linux-v5.4/arch/arm64/kvm/ |
D | hyp-init.S | 17 .pushsection .hyp.idmap.text, "ax"
|
/Linux-v5.4/arch/arm/mach-tegra/ |
D | sleep.S | 112 .pushsection .idmap.text, "ax"
|
/Linux-v5.4/include/linux/ |
D | nfs_fs_sb.h | 79 struct idmap * cl_idmap;
|
/Linux-v5.4/arch/arm/kvm/ |
D | init.S | 38 .pushsection .hyp.idmap.text,"ax"
|
/Linux-v5.4/kernel/bpf/ |
D | verifier.c | 6697 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 …]
|